| Crates.io | gcomm |
| lib.rs | gcomm |
| version | 0.2.2 |
| created_at | 2025-03-29 05:23:10.681094+00 |
| updated_at | 2025-03-29 05:54:21.383951+00 |
| description | Generate AI-powered Git commit messages from staged changes using a local Ollama model. |
| homepage | |
| repository | https://github.com/brysontang/gcomm |
| max_upload_size | |
| id | 1610850 |
| size | 56,343 |
AI-powered Git commit message generator using your local Ollama model.
This CLI tool analyzes staged Git changes and generates a structured commit message using a locally running LLM (e.g. gemma3, llama3, etc.).
cargo install gcomm
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone https://github.com/bryson-tang/gcomm
cd gcomm
cargo build
cargo install --path .
Or add a shortcut:
alias gcomm="./target/debug/gcomm"
Now you can use gcomm from anywhere.
This uses your staged changes only (like git diff --cached), so make sure you've staged what you want:
git add .
Generate a commit message (copies to clipboard):
gcomm
Specify a different Ollama model (default is gemma3:latest):
gcomm --model codellama
Run git add . first:
gcomm --add
Generate, edit in your default editor, and commit:
gcomm --edit
Generate and commit immediately without editing:
gcomm --yolo
Add analytics and fix layout issues
Added
- Event tracking for login
Changed
- Layout of settings page
- Refactored token logic
Removed
- Unused `tracking.js`
MIT
Built with a lot of love and help from ChatGPT.