| Crates.io | komitto |
| lib.rs | komitto |
| version | 0.1.3 |
| created_at | 2025-05-08 02:07:18.586903+00 |
| updated_at | 2025-05-09 01:58:02.165128+00 |
| description | AI-powered Conventional Commit Message Generator for Git |
| homepage | https://github.com/tsukuricase/komitto |
| repository | https://github.com/tsukuricase/komitto |
| max_upload_size | |
| id | 1664751 |
| size | 52,238 |
๐ AI-powered Conventional Commit Message Generator for Git.
Automatically generate professional, well-structured Git commit messages using large language models (LLMs) via OpenRouter.
git diff --staged and generates a commit message with a single command.gpt-4, gpt-3.5, Llama, etc).git clone https://github.com/tsukuricase/komitto.git
cd komitto
cargo build --release
After build, the binary is at: target/release/komitto
Add your API Key to your environment, e.g.:
Linux/Mac:
export OPENROUTER_API_KEY=your-openrouter-api-key
(Recommended: add to your ~/.bashrc or ~/.zshrc for convenience)
Windows CMD:
set OPENROUTER_API_KEY=your-openrouter-api-key
git add .
target/release/komitto
The tool will automatically extract your staged changes, send to OpenRouter, and propose a commit message.
git commit -m "your AI-generated commit message"
| Argument | Description | Example |
|---|---|---|
--model |
Specify OpenRouter model (default: openai/gpt-4.1) |
--model gpt-3.5 |
--staged |
Use staged changes only (git diff --staged, default: false) |
--staged |
--help |
Show help message | --help |
Try:
komitto --help
โ ๏ธ Notice:
Currently, komitto only supports OpenRouter API Key (OPENROUTER_API_KEYenvironment variable).
OpenAI direct keys are not yet supported.
For OpenRouter API docs and supported models, see: OpenRouter Developers
cargo test
git checkout -b feat/my-feature)cargo test)Questions? Suggestions? Open an issue!
MIT License ยฉ 2024 tsukuricase & contributors