1 unstable release
new 0.1.2 | Jan 7, 2025 |
---|---|
0.1.1 |
|
0.1.0 |
|
#4 in #locally
56 downloads per month
14KB
78 lines
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
.
Dependencies
~14–23MB
~356K SLoC