AI-powered conventional commit message generator using Together.ai, smart CLI for easy, consistent git commits
npm install commit-amt


AI-powered conventional commit message generator using Together.ai's DeepSeek-V3 model.
Streamline your git workflow with smart, clear commit messages crafted by AI.
---
- š¤ AI-generated conventional commit messages
- š Analyzes your staged changes with git diff --cached
- ⨠Uses Together.ai's DeepSeek-V3 for smart suggestions
- šØ Colorful CLI interface with emojis
- āļø Edit suggested commit messages before committing
- š Secure API key management via .env file
- š« Handles missing API keys and no staged changes gracefully
---
Use without installing globally:
``bash``
npx commit-amt
Or install globally:
`bash`
npm install -g commit-amt
---
1. Stage your changes:
`bash`
git add .
2. Run Commit AMT:
`bash`
npx commit-amt
3. Review the AI-suggested commit message.
4. Choose to:
* ā
Use the suggested message as-is
* āļø Edit the message manually
* ā Cancel the commit
---
`bash`
npx commit-amt
`bash`
npx commit-amt--local
`bash`
npx commit-amt--ai
---
1. Get your free API key from Together.ai.
2. Create a .env file in your project root with:
`bash`
TOGETHER_API_KEY=your_api_key_here
3. Commit AMT will automatically use this API key.
---
`
š§ Commit AMT - AI-powered commit messages
š Analyzing your changes...
ā Suggested commit message:
feat(auth): add OAuth2 authentication support
What would you like to do with this message?
⯠ā
Use this message
āļø Edit this message
ā Cancel commit
š Committing changes...
š Successfully committed!
`
---
Sign up for free at Together.ai, generate your API key, and add it to your .env.
Stage your changes using git add before running Commit AMT.
Yes! You can choose to edit the AI-generated message before committing.
---
Contributions, issues, and feature requests are welcome!
Feel free to:
1. Fork the repo
2. Create a new branch (git checkout -b feature-name)git push origin feature-name
3. Commit your changes
4. Push to the branch ()
5. Open a pull request
---
MIT Ā© Abdullah Al Mubin
``