Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
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
| Date | Stars |
|---|---|
| 2026-07-31 | 7512 |
| 2026-08-01 | 7510 |
| 2026-08-02 | 7509 |
| 2026-08-03 | 7510 |
| 2026-08-05 | 7509 |
| 2026-08-06 | 7509 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
<div align="center">
<div>
<img src=".github/logo-grad.svg" alt="OpenCommit logo"/>
<h1 align="center">OpenCommit</h1>
<h4 align="center">Author <a href="https://twitter.com/_sukharev_"><img src="https://img.shields.io/twitter/follow/_sukharev_?style=flat&label=_sukharev_&logo=twitter&color=0bf&logoColor=fff" align="center"></a>
</div>
<h2>Auto-generate meaningful commits in a second</h2>
<p>Killing lame commits with AI 🤯🔫</p>
<a href="https://www.npmjs.com/package/opencommit"><img src="https://img.shields.io/npm/v/opencommit" alt="Current version"></a>
<h4 align="center">🪩 Winner of <a href="https://twitter.com/_sukharev_/status/1683448136973582336">GitHub 2023 hackathon</a> 🪩</h4>
</div>
---
<div align="center">
<img src=".github/opencommit-example.png" alt="OpenCommit example"/>
</div>
All the commits in this repo are authored by OpenCommit — look at [the commits](https://github.com/di-sukharev/opencommit/commit/eae7618d575ee8d2e9fff5de56da79d40c4bc5fc) to see how OpenCommit works. Emojis and long commit descriptions are configurable, basically everything is.
## Setup OpenCommit as a CLI tool
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. Install OpenCommit globally to use in any repository:
```sh
npm install -g opencommit
```
2. Get your API key from [OpenAI](https://platform.openai.com/account/api-keys) 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.
3. Set the key to OpenCommit config:
```sh
oco config set OCO_API_KEY=<your_api_key>
```
Your API key is stored locally in the `~/.opencommit` config file.
## Usage
You can call OpenCommit with `oco` command to generate a commit message for your staged changes:
```sh
git add <files...>
oco
```
Running `git add` is optional, `oco` will do it for you.
### Running locally with Ollama
You can also run it with local model through ollama:
- install and start ollama
- run `ollama run mistral` (do this only once, to pull model)
- run (in your project directory):
```sh
git add <files...>
oco config set OCO_AI_PROVIDER='ollama' OCO_MODEL='llama3:8b'
```
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 `OCO_API_URL` environment variable as follows:
```sh
oco config set OCO_API_URL='http://192.168.1.10:11434/api/chat'
```
where 192.168.1.10 is example of endpoint URL, where you have ollama set up.
#### Troubleshooting Ollama IPv6/IPv4 Connection Fix
If you encounter issues with Ollama, such as the error
```sh
✖ local model issues. details: connect ECONNREFUSED ::1:11434
```
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:
```bash
export OLLAMA_HOST=0.0.0.0
```
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.
### Running locally with llama.cpp
You can run OpenCommit with local models served by [llama.cpp](https://github.com/ggerganov/llama.cpp):
- install and build llama.cpp
- start the server with a GGUF model: `./llama-server -m model.gguf --port 8080`
- run (in your project directory):
```sh
git add <files...>
oco config set OCO_AI_PROVIDER='llamacpp' OCO_API_URL='http://localhost:8080'
```
If the server is running on a different machine, set the URL accordingly:
```sh
oco config set OCO_API_URL='http://192.168.1.10:8080'
```
### Flags
There are multiple optional flags that can be used with the `oco` command:
#### Use Full GitMoji Specification
Link to the GitMoji specification: httExcerpt of 17,632 characters
Read on GitHub536
9
Tiger Kaovilai · Red Hat · Thailand
9
9
8
lif
6
4
4
Aurélien Rivet
3
3
3
3
2
2
2
2
2
openefit
2
2
tumf · @wakumo · Thailand
2
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:eb51b4aede4ac4e2, llm:Repository topics and description: 'ai, ai-commit, chatgpt, gpt, artificial-intelligence' and description: 'GPT wrapper for git — generate commit messages with an LLM ... supports Claude, GPT, Ollama'. Readme describes CLI to auto-generate commit messages using LLMs.
matched fp:eb51b4aede4ac4e2, llm:Repository topics and description: 'ai, ai-commit, chatgpt, gpt, artificial-intelligence' and description: 'GPT wrapper for git — generate commit messages with an LLM ... supports Claude, GPT, Ollama'. Readme describes CLI to auto-generate commit messages using LLMs.
matched fp:eb51b4aede4ac4e2, llm:Repository topics and description: 'ai, ai-commit, chatgpt, gpt, artificial-intelligence' and description: 'GPT wrapper for git — generate commit messages with an LLM ... supports Claude, GPT, Ollama'. Readme describes CLI to auto-generate commit messages using LLMs.