git-acm 1.0.1

instant meaningful git commit messages, locally with AI
git-acm-1.0.1 is not a library.

git-acm - git auto-commit-message

Crates.io Total Downloads GitHub Actions Workflow Status

generate meaningful commit messages locally using AI.

installation

curl -sSL https://raw.githubusercontent.com/shivamhwp/git-acm/main/install.sh | sh

or if you have cargo installed on your system.

cargo install git-acm

how to use

  1. add gemini-api-key or openai-api-key or anthropic-api-key
  2. add these in your project's .env file or export them in terminal.
# for gemini api

GEMINI_API_URL="https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent"
GEMINI_API_KEY=""

# for anthropic api

ANTHROPIC_API_URL="https://api.anthropic.com/v1/messages"
ANTHROPIC_API_KEY=""

# for openai api

OPENAI_API_URL="https://api.openai.com/v1/chat/completions"
OPENAI_API_KEY=""

  1. run git-acm.