AI-powered git commit message generator with a beautiful terminal UI.
- AI-Generated Commits: Generates meaningful commit messages using OpenAI-compatible APIs
- Smart Split Detection: Automatically suggests splitting unrelated changes into separate commits
- Conventional Commits: Follows conventional commit format (feat, fix, docs, etc.)
- Interactive TUI: Beautiful terminal interface for file selection and message confirmation
- Customizable Themes: Choose from tokyonight, dracula, catppuccin, or nord
- Custom Instructions: Add your own instructions to guide AI message generation
brew install hluaguo/tap/commitygo install github.com/hluaguo/commity/cmd/commity@latestgit clone https://github.com/hluaguo/commity.git
cd commity
make installAny OpenAI-compatible API works: (will support more)
- OpenAI
- OpenRouter
- Ollama (local)
- Azure OpenAI
- Any OpenAI-compatible endpoint
# Run in any git repository with changes
commity- Select files: Choose which files to include in the commit
- Generate: AI analyzes changes and generates commit message
- Confirm: Review the message, edit if needed, or regenerate with feedback
- Commit: Confirm to create the commit
# Build
make build
# Run tests
make test
# Lint
make lint
# Install locally
make installMIT License - see LICENSE for details.