#commit-message #locally #ai #generate #git

yanked git-acm

this helps you generate meaningful commit messages locally using AI

1 unstable release

new 0.1.2 Jan 7, 2025
0.1.1 Jan 7, 2025
0.1.0 Jan 7, 2025

#4 in #locally

Download history

56 downloads per month

Custom license

14KB
78 lines

git-acm - git auto-commit-message

generate meaningful commit messages locally using AI.

❗requirements

  1. you should have git installed initialised in the repo.
  2. stage the changes you want to commit.
  3. just run git-acm or git-acm run.

how to use

ensure rust is installed on your system and requirements are met.

  1. run cargo install git-acm.
  2. add gemini-api-key.
  3. add this ⬇️︎ in your project's .env file.
   GEMINI_API_KEY="YOUR_API_KEY"
   GEMINI_API_URL="https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent"
  1. run git-acm.

Dependencies

~14–23MB
~356K SLoC