cd /news/developer-tools/git-commit-at-generate-conventional-… Β· home β€Ί topics β€Ί developer-tools β€Ί article
[ARTICLE Β· art-28677] src=dev.to β†— pub= topic=developer-tools verified=true sentiment=↑ positive

git-commit-at: Generate conventional commit messages locally with AI (no API key needed)

A developer built git-commit-at, an npm CLI tool that generates conventional commit messages from staged git diffs using a local AI model via Ollama, ensuring no data leaves the machine. The tool runs entirely offline after an initial model download and requires only Docker and Node.js 18+.

read2 min views1 publishedJun 15, 2026

We all know the commit history that looks like this:

fix

wip

actually fix

update

FINAL fix AI tools can help, but most of them send your code diff to the cloud and require a paid API key. That's a non-starter for private repos or sensitive codebases.

What I built

git-commit-at is an npm CLI that analyzes your staged diff and suggests 3 conventional commit messages using a locally-running AI model. Nothing leaves your machine.

npm install -g git-commit-at Then, in any git repo:

git add .

git-commit-at You get an interactive prompt to pick a message, optionally add a ticket number (JIRA, Linear, etc.), and confirm. Done.

How it works under the hood

git-commit-at (CLI) β”‚

β”œβ”€β”€ Checks if Docker services are running

β”‚ β”œβ”€β”€ Ollama β€” runs qwen2.5-coder:1.5b locally (port 11434) β”‚ β”œβ”€β”€ Redis β€” session + cache (port 6379)

β”‚ └── Gradio β€” web UI for login/history (port 7860)

β”‚

β”œβ”€β”€ Reads your staged git diff

β”œβ”€β”€ Streams 3 commit suggestions from Ollama

β”œβ”€β”€ You pick one (and optionally add a ticket prefix)

└── Runs git commit

On first run, Docker pulls the model (~1 GB) and starts the services. After that, suggestions take about 5–10 seconds.

Features

Feature Details

AI suggestions 3 per run, based on your actual diff

Conventional commits feat:, fix:, refactor:, chore:, etc. Ticket integration Prefix with JIRA/Linear ticket numbers

Branch visualizer Live git DAG in the web UI

Commit history Tracked across all your repos

Fully offline After first model download

Privacy 100% local β€” no data sent anywhere

Requirements

Docker (all backend services run in containers)

Node.js 18+

That's it. No Ollama install, no Python setup, no API keys.

Install

npm install -g git-commit-at

GitHub: [https://github.com/bhargavirengarajan21/git-commit-at](https://github.com/bhargavirengarajan21/git-commit-at)

npm: [https://www.npmjs.com/package/git-commit-at](https://www.npmjs.com/package/git-commit-at)

Hugging face: [https://huggingface.co/spaces/build-small-hackathon/git-commit-app](https://huggingface.co/spaces/build-small-hackathon/git-commit-app)

Feedback welcome β€” especially on the Docker requirement and model choice. I'm considering making the model configurable as a first-class setting.

Both posts are ready to copy-paste. For dev.to, paste as Markdown and set the tags to git, ai, opensource, devtools. Add a cover image and a demo GIF if you have one β€” posts with visuals get significantly more reach there.

── more in #developer-tools 4 stories Β· sorted by recency
── more on @git-commit-at 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/git-commit-at-genera…] indexed:0 read:2min 2026-06-15 Β· β€”