di-sukharev/opencommit
top #1 and most feature rich GPT wrapper for git — generate commit messages with an LLM in 1 sec — works with Claude, GPT and every other provider, supports local Ollama models too
From the publisher
README & documentation
Source previewRead the project’s overview, installation instructions and usage examples. The original README is the source of truth.
🪩 Winner of GitHub 2023 hackathon 🪩 All the commits in this repo are authored by OpenCommit — look at the commits to see how OpenCommit works. Emojis and long commit descriptions are configurable, basically everything is. You can use OpenCommit by simply running it via the CLI like this oco. 2 seconds and your staged changes are committed with a meaningful message. Your API key is stored locally in the /.opencommit config file. You can call OpenCommit with oco command to generate a commit message for your staged changes: Running git add is optional, oco will do it for you. You can also run it with local model through ollama: Default model is mistral. If you have ollama that is set up in docker/ on another machine with GPUs (not locally), you can change the default endpoint url. You can do so by setting the OCOAPIURL environment variable as…
Read the full README ↗ · Preview checked 2026-10-27T22:28:47.247Z
Inside the original README — Document outline
- Setup OpenCommit as a CLI tool
- Usage
- Running locally with Ollama
- Troubleshooting Ollama IPv6/IPv4 Connection Fix
- Running locally with llama.cpp
- Flags
- Use Full GitMoji Specification
- Skip Commit Confirmation
- Configuration
- Local per repo configuration
- Global config for all repos
- Output WHY the changes were done (WIP)
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the README
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
What this repository does
top #1 and most feature rich GPT wrapper for git — generate commit messages with an LLM in 1 sec — works with Claude, GPT and every other provider, supports local Ollama models too
Repository facts
- Owner
- di-sukharev
- Primary language
- JavaScript
- Stars
- 7,542
- Forks
- 448
- Open issues + pull requests
- 157
- License
- MIT
- Archived
- No
- Default branch
- master
- Created
- 2023-03-06T10:30:51.000Z
- Last push
- 2026-10-13T10:16:32.000Z
Topics and intended use
Owner-supplied topics: ai, ai-commit, ai-commits, artificial-intelligence, chatgpt, git, gpt, productivity
Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.
Evaluate before installing
Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.
Source and freshness
Source: GitHub. Metadata observed 2026-11-01T13:20:54.848Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.