yt-commit
v1.0.0
Published
AI-powered git commit message generator using Groq
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
