git-acm-0.1.2 is not a library.
git-acm - git auto-commit-message
generate meaningful commit messages locally using AI.
❗requirements
- you should have git installed initialised in the repo.
- stage the changes you want to commit.
- just run
git-acm
orgit-acm run
.
how to use
ensure
rust
isinstalled
on your system and requirements are met.
- run
cargo install git-acm
. - add gemini-api-key.
- 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"
- run
git-acm
.