Package Exports
- yt-commit
- yt-commit/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (yt-commit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
yt-commit
AI-powered git commit message generator. Reads your staged changes and uses Groq's AI to write a clear, meaningful commit message — then commits for you.
Installation
npm install -g yt-commitSetup
You'll need a free Groq API key from console.groq.com.
Once you have your key, set it:
yt-commit config --set-key YOUR_GROQ_API_KEYThis is saved locally on your machine and only needs to be done once.
Usage
Stage your changes as usual:
git add .Then run:
yt-commitThe tool will:
- Read your staged diff
- Send it to Groq's AI to generate a commit message
- Show you the suggested message
- Ask for confirmation before committing
Options
| Flag | Description |
|---|---|
-d, --dry-run |
Show the suggested commit message without committing |
-y, --auto-confirm |
Commit immediately without asking for confirmation |
Example
git add .
yt-commit --dry-runLicense
MIT