# 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

Repository: https://github.com/di-sukharev/opencommit
Canonical: https://ross.abutalabs.com/products/opencommit
Homepage: https://www.npmjs.com/package/opencommit
Language: JavaScript
License: MIT
License Family: permissive
Topics: ai, ai-commit, artificial-intelligence, chatgpt, git, gpt, productivity, ai-commits
Last push: 2026-08-25T18:06:22+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 91
- inputs: {"age_days": 1276, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7525, forks 441 (observed 2026-08-28T04:10:00.492915+00:00)

## What it is
OpenCommit is a CLI tool that uses LLMs (OpenAI, Claude, Ollama, and other providers) to automatically generate meaningful git commit messages from staged changes. It is installed via npm and invoked with the `oco` command inside any git repository.

## Use cases
- generate commit messages with AI
- auto-write git commit messages from staged changes
- use local LLM via Ollama to write commits
- stop writing lame commit messages
- configure emoji and commit message style
- integrate AI commit generation into git workflow

## When to choose
- you want fast, meaningful commit messages without writing them yourself
- you want flexibility to use OpenAI, Claude, or local Ollama models
- you want a simple npm-installed CLI that works in any repo
- you want configurable commit message formatting including emojis

## When to avoid
- you cannot send code diffs to external LLM APIs for privacy or compliance reasons
- you prefer fully deterministic, hand-written commit conventions
- you need a GUI-based git tool rather than a CLI
- you have no access to any LLM provider or local model

## Facets
- artifact type: cli-tool
- maturity: active
- function: llm-inference, developer-tools, cli, version-control
- domain: developer-tools, version-control, artificial-intelligence
- platform: cli, cross-platform
- tags: git, commit-messages, ai-commits, openai, ollama, gpt, developer-productivity, command-line, nodejs

## Member repositories
- di-sukharev/opencommit (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:00.492915+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:37:27.999774+00:00, confidence not recorded.
  - readme: https://github.com/di-sukharev/opencommit (fetched 2026-08-28T04:10:00.492915+00:00, sha 6334c6585a5a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
