autocommiter

Crates.ioautocommiter
lib.rsautocommiter
version1.1.0
created_at2025-10-22 20:27:25.529017+00
updated_at2025-10-27 22:37:45.245393+00
descriptionAuto-generate git commit messages using AI
homepage
repository
max_upload_size
id1896234
size108,184
nathfavour (nathfavour)

documentation

README

Autocommiter CLI

Autocommiter is a small command-line tool that helps you generate concise and informative git commit messages automatically. It can use an AI inference service (you provide an API key) to produce messages based on staged changes, or fall back to a local default message when no API is configured.

Key features

  • Generate commit messages from staged changes
  • Optional AI model integration (configurable model list)
  • Gitmoji support to prepend an emoji that matches the change
  • Skip confirmation prompts (via CLI flag or persistent config)
  • Safe .gitignore management to avoid accidentally committing secrets

Quick start

  1. Build the project:
cargo build --release
  1. Run the CLI (default: generate commit in current directory):
./target/release/autocommiter generate
  1. Configure an API key (optional) to enable AI-based messages:
./target/release/autocommiter set-api-key <KEY>

Where to look next

  • src/ — core implementation files
  • docs/ARCHITECTURE.md — high-level module responsibilities and data flows
  • docs/USAGE.md — examples and common workflows

Contributing

  • See CONTRIBUTING.md for contribution guidelines.

License

  • MIT
Commit count: 0

cargo fmt