git-commit-at
v1.0.6
Published
AI-powered git commit message suggester using Ollama + tinyllama
Maintainers
Readme
git-commit-at
AI-powered git commit message suggester using Ollama + tinyllama.
Features
- Suggests conventional commit messages based on staged git changes
- Uses Ollama with the
qwen2.5-coder:1.5bmodel for high-quality suggestions - Interactive CLI with message selection
- Docker and Docker Compose support for easy setup
Requirements
Contribution
Clone this repository:
git clone <repo-url> cd git-commit-atInstall dependencies:
npm install(Optional) Build the Docker image:
docker compose buildYou can Raise Pr and Make changes
Usage
Run the tool, Just one Step of installing the tool:
npm i -g git-commit-atStage your changes:
git add .To run the commmit
git commit-atHow it works
- Reads staged changes using
git diff --cached - Parses the diff and sends it to Ollama for commit message suggestions
- Prompts you to select and confirm a message before committing
Development
- Main entry: index.js
- Diff parsing: diff-parser.js
- Commit spec: conventional-comit.js
- Docker wrapper: wrapper.js
License
MIT
