| Crates.io | committer-cli |
| lib.rs | committer-cli |
| version | 0.1.0 |
| created_at | 2026-01-25 20:15:14.773121+00 |
| updated_at | 2026-01-25 20:15:14.773121+00 |
| description | Fast AI-powered git commit message generator |
| homepage | https://github.com/nolanneff/committer |
| repository | https://github.com/nolanneff/committer |
| max_upload_size | |
| id | 2069438 |
| size | 1,912,664 |
A fast, lightweight CLI that automates your git workflow. Generate commit messages, detect branch misalignment, create feature branches, and open pull requests—all powered by AI.
Most AI commit tools are built on Node.js or Python, adding noticeable startup delay to every invocation. Committer is a native binary—it launches instantly and streams responses in real-time, so you're never waiting on the tool itself.
Generate conventional commits from your staged changes:
Catch mistakes before they happen. Committer analyzes your changes and warns if they don't match your current branch:
Generate PR titles and descriptions from your commits, then create the PR:
type(scope): description messagescargo install committer-cli
git clone https://github.com/nolanneff/committer.git
cd committer
cargo install --path .
Download from the releases page.
Get an API key from OpenRouter
Set your API key:
export OPENROUTER_API_KEY="sk-or-..."
Add to your shell profile (~/.bashrc, ~/.zshrc) to persist across sessions.
Generate your first commit:
git add .
committer
committer # Generate message, prompt for confirmation
committer -a # Stage all changes first
committer -y # Skip confirmation, commit immediately
committer -ay # Stage all + auto-commit (fully automatic)
committer -d # Dry run, preview message only
committer -m <model> # Use a specific model
committer -b # Analyze branch alignment, prompt to create
committer -B # Auto-create suggested branches
committer pr # Create PR with AI-generated title/description
committer pr --draft # Create as draft
committer pr -d # Preview without creating
Requires: GitHub CLI (gh auth login)
Configuration is optional. Committer works out of the box with sensible defaults. Customize only what you need.
Config file: ~/.config/committer/config.toml
committer config show # View current settings
committer config model <model> # Set default model
committer config auto-commit true # Skip confirmations
committer config verbose true # Enable debug output
| Option | Default | Description |
|---|---|---|
model |
google/gemini-2.0-flash-001 |
Default model |
auto_commit |
false |
Skip confirmation prompts |
verbose |
false |
Show detailed logs |
OPENROUTER_API_KEY — API key (required)committer pr)This project is under active development. Planned features:
git checkout -b feat/my-feature)mainMIT © Nolan Neff