git-acm 0.1.0

tool to generate meaningful commit messages locally using AI
git-acm-0.1.0 is not a library.

git-acm - git auto-commit-message

generate meaningful commit messages locally using AI

acm (Auto Commit Messages) is a command-line tool that automatically generates descriptive commit messages by analyzing your git diff. It leverages the AI to provide intelligent and context-aware commit message suggestions.

some features are currently in progress. it's works with gemini-api rn. and available as pkg for your rust project. working on the binary release.

‼ keep in mind, this requirements must be met, i'm working on error handling so these things don't cause much problems. ty.

requirements

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

if outputs the commit msg in the terminal if you like it > copy it > use it as commit msg.

todo

  • get diff.
  • get commit msg from api.
  • make it a cli tool.
  • publish to cargo as a pacakge.
  • better error handling.
  • supports openai, anthropic as well.
  • github release.
  • publish to brew or binary release.

maybe later -> a website for this project.

local development setup

ensure rust is installed on your system . go to https://doc.rust-lang.org/book/ch01-01-installation.html for details.

  1.  git clone https://github.com/shivamhwp/acm.git
    
  2. get an gemini-api key (currenlty only this supported) here.
  3. create .env file at root > set GEMINI_API_KEY=" " .
  4.  cargo build
    
  5. cargo run to get the commit msg in the terminal.
  6. start with main.rs and break stuff.

give your suggestions on what features i should add.

me : shivam.ing

bhai : sargam (project idea)