@owaisrafiq05/git-ai-commit
v0.1.1
Published
AI-generated git commit messages from your staged diff via a hosted AI server.
Maintainers
Readme
@owaisrafiq05/git-ai-commit
AI-generated git commit messages from your staged diff — one command, no local model download.
npm install -g @owaisrafiq05/git-ai-commit
git add .
ai-commitOr without installing globally:
npx @owaisrafiq05/git-ai-commitWhat it does
- Reads your staged git diff
- Asks a hosted AI server for a conventional commit message
- Lets you accept / regenerate / edit / cancel
- Runs
git commitfor you
No Ollama on your laptop. No multi‑GB model download. Node.js 18+ is enough.
Usage
ai-commit # generate + commit
ai-commit --help # help + branded banner
ai-commit --version # version + credits
ai-commit config # reset hosted defaults| Key | Action | |-----|--------| | Enter | Use the suggested message | | r | Regenerate | | e | Edit, then commit | | c | Cancel |
Config lives at ~/.ai-commit/config.json.
Requirements
- Node.js >= 18
- A git repo with staged changes (
git add)
Full documentation
Architecture, self-hosting, Docker Compose, and contributing guides:
https://github.com/owaisrafiq05/Git-Ai-Commit-Automation
If you find this helpful, please star the repo.
Authors
- Owais Rafiq — @owaisrafiq05
- Aliza Khan — @AlizaKhan3
License
MIT © Owais Rafiq, Aliza Khan
