commitghost reads your staged diff, your repo's recent commit style, and writes a few candidate commit messages for you to pick from. Optionally, get pleasently haunted when you've let a diff grow too long and it's time to commit soon.
commitghost doesn't try to be a git client. It does three specific jobs well, and gets out of your way.
Uses your staged diff and repo's recent commit style to write commit messages that match how your team already commits.
Every run generates a few candidates. Pick one, edit it inline, or regenerate. Nothing gets committed without you choosing the exact words.
If you go too long without committing, the ghost appears above your next prompt to remind you it's time to wrap up the next atomic commit. All configurable, and completely optional.
No API key, no cloud calls, no cost. Point commitghost at a local Ollama model and it writes commit messages entirely on your machine.
Works with a Ollama, Anthropic or OpenAI key. commitghost never
sends any telemetry or history. Once installed, run it as
commitghost, the shorter
commitg, or straight from git as
git commitg. Whichever fits your muscle
memory better.