opencommit social preview
other7,326MIT

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 lo…

Updated Jun 8, 2026
Platforms
docker
Pricing
free-open-source
Status
active
License
MIT

What it does

Core capabilities at a glance

  • AI Commit
  • AI Commits
  • Artificial Intelligence
  • Chatgpt
  • GIT
  • GPT
  • Productivity

Deep dive

The full breakdown - performance, comparisons, and setup

opencommit

opencommit is a local-AI tool - 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.

Overview

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.

  1. Get your API key from OpenAI or other supported LLM providers (we support them all). Make sure that you add your OpenAI payment details to your account, so the API works.

Your API key is stored locally in the '~/.opencommit' config file.

If you have ollama that is set up in docker/ on another machine with GPUs (not locally), you can change the default endpoint url.

where 192.168.1.10 is example of endpoint URL, where you have ollama set up.

It's likely because Ollama is not listening on IPv6 by default. To fix this, you can set the OLLAMA_HOST environment variable to 0.0.0.0 before starting Ollama:

This will make Ollama listen on all interfaces, including IPv6 and IPv4, resolving the connection issue. You can add this line to your shell configuration file (like '.bashrc' or '.zshrc') to make it persistent across sessions.

opencommit is open-source, written primarily in JavaScript, with 7,326 GitHub stars under the MIT license. The latest release is github-action-v1.0.2 (2023-05-21).

Key capabilities

From the project's documentation:

  • install and start ollama
  • run ollama run mistral (do this only once, to pull model)
  • run (in your project directory):

Install

A quick way to get started (always check the official docs for the latest):

npm install -g opencommit

How it fits a local-AI stack

opencommit runs on your own hardware, so pair it with a model and a GPU sized to your needs. Use the VRAM calculator to pick a model that fits your card, and see what you can run for hardware guidance. Related local-AI tools in the directory:

Sources

Stats from GitHub, 2026-06-08.

Frequently asked

Quick answers to common questions

What is opencommit?

opencommit is a other tool for local AI workloads. 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 lo…

Is opencommit free and open source?

Yes, opencommit has 7,326 GitHub stars and is licensed under MIT. You can self-host it for free on docker.

What platforms does opencommit support?

opencommit runs on docker.

What hardware do I need for opencommit?

The hardware requirements depend on which models you run. Check our hardware directory for compatible GPUs and systems. opencommit has 7,326 GitHub stars and an active community.

Does opencommit support GPU acceleration?

opencommit's GPU support depends on your specific setup. Check the documentation for details. For the best performance, pair it with an NVIDIA RTX 4090 or 5090.

What are the best alternatives to opencommit?

Popular alternatives include other other tools in our directory. Browse our full collection at /tool for comparisons, community reviews, and benchmark data to find the right fit for your workflow.

How much does opencommit cost?

opencommit is free-open-source. It is completely free and open source to self-host.

Pairs well with

Complementary tools, models, and hardware

Similar tools

More tools like this one

Comments coming soon

Configure NEXT_PUBLIC_GISCUS_REPO_ID and NEXT_PUBLIC_GISCUS_CATEGORY_ID at giscus.app to enable.