Generate conventional commit messages using AI. Super fast with quick mode.
bun install -g @muhammedsamal/commit
Set your Groq API key:
echo 'export GROQ_API_KEY="your_api_key_here"' >> ~/.zshrc
source ~/.zshrc
Then just run:
commit -q # Analyzes all changes and auto-commits
commit -q # Quick mode (recommended)
commit # Interactive mode
commit -a # Auto-stage all changes
commit -i # Multiple suggestions
export GROQ_API_KEY="your_key" # For quick mode
export OPENAI_API_KEY="your_key" # For OpenAI
export ANTHROPIC_API_KEY="your_key" # For Anthropic
export GOOGLE_GENERATIVE_AI_API_KEY="your_key" # For Google
- Uses Groq's Llama 4 Scout model
- Analyzes all changes (staged + unstaged)
- Auto-commits without confirmation
- Requires only
GROQ_API_KEY
Perfect for rapid development workflows.