11 stable releases

1.2.3 Apr 17, 2025
1.2.1 Apr 16, 2025
1.1.2 Feb 6, 2025
1.1.1 Jan 22, 2025
0.1.2 Jan 7, 2025

#74 in Machine learning

Download history 191/week @ 2025-01-15 126/week @ 2025-01-22 155/week @ 2025-02-05 7/week @ 2025-02-12 3/week @ 2025-02-26 139/week @ 2025-04-09 593/week @ 2025-04-16 17/week @ 2025-04-23 6/week @ 2025-04-30

755 downloads per month

Custom license

39KB
860 lines

git-acm - git auto-commit-message

instant meaningful commit messages

Crates.io Total Downloads GitHub Actions Workflow Status

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 or deepseek-api-key
  2. add these in your project's .env file or export them in terminal.
# for gemini api

GEMINI_API_KEY=""

# for anthropic api

ANTHROPIC_API_KEY=""

# for openai api

OPENAI_API_KEY=""

# for llama api (using ollama)

LLAMA_API_URL="http://localhost:11434/api/generate"
LLAMA_MODEL_NAME= "llama3.2:1b"

# for deepseek api

DEEPSEEEK_API_KEY=""

  1. run git-acm.

📍 commands available

use : choose which model you want to use. (run git-acm list to see the available models).

autocommit : enables or disables the autocommit functionality.

list : lists all available models.

📍 example

git-acm use <model_name>     # choose which model to use.
git-acm list 				 # list all the models.
git-acm autocommit enable    # Enable automatic commits with generated messages
git-acm autocommit disable   # Disable automatic commits
git-acm                      # Generate a commit message using the currently selected API

Dependencies

~17–31MB
~516K SLoC