🍺 BREW Explorer

← all formulae

aicommit

brew install aicommit v0.6.5 CC0-1.0

AI-powered commit message generator

11
30-day installs · #8383
17
90-day · #10235
152
365-day · #8091
185
★ GitHub stars · updated 1y ago

Build dependencies

go

GitHub topics

ai git

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "AI-powered commit message generator",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:20+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "aicommit",
  "github_default_branch": "main",
  "github_last_commit_at": "2024-12-18T10:19:52Z",
  "github_readme_excerpt": "# aicommit\n\n`aicommit` is a small command line tool for generating commit messages. There\nare many of these already out there, some even with the same name. But none\n(to my knowledge) follow the repository\u0027s existing style, making\nthem useless when working in an established codebase.\n\nA good commit message is more than a summary of the code changes. It contains\nthe intention, context, and external references that help others understand the\nchange. Thus, `aicommit` has a `-c`/`--context` flag for quickly adding\nthis detail.\n\n`aicommit` is inspired by our good friend [@sreya](https://github.com/sreya):\n\n![sreya-log](./img/sreya-log.png)\n\n\n## Install\n\nVia Homebrew:\n```\nbrew install aicommit\n```\n\nOr, using Go:\n\n```\ngo install github.com/coder/aicommit/cmd/aicommit@main\n```\n\nOr, download a binary from [the latest release](https://github.com/coder/aicommit/releases).\n\n## Usage\n\nYou can run `aicommit` with no arguments to generate a commit message for the\nstaged changes.\n\n```bash\nexport OPENAI_API_KEY=\"...\"\naicommit\n```\n\nYou can \"retry\" a commit message by using the `-a`/`--amend` flag.\n\n```bash\naicommit -a\n```\n\nYou can dry-run with `-d`/`--dry` to see the ideal message without committing.\n\n```bash\naicommit -d\n```\n\nOr, you can point to a specific ref:\n\n```bash\naicommit HEAD~3\n```\n\nYou can also provide context to the AI to help it generate a better commit message:\n\n```bash\naicommit -c \"closes #123\"\n\naicommit -c \"improved HTTP performance by 50%\"\n\naicommit -c \"bad code but need for urgent customer fix\"\n```\n\nWhen tired of setting environment variables, you can save your key to disk:\n\n```bash\nexport OPENAI_API_KEY=\"...\"\naicommit --save-key\n# The environment variable will override the saved key.\n```\n\n## Style Guide\n\n`aicommit` will read the `COMMITS.md` file in the root of the repository to\ndetermine the style guide. It is optional, but if it exists, it will be followed\neven if the rules there diverge from the norm.\n\nIf there is no repo style guide, `aicommit` will look for a u",
  "github_repo": "coder/aicommit",
  "github_stars": 185,
  "github_topics": [
    "ai",
    "git"
  ],
  "homepage": "https://github.com/coder/aicommit",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 11,
  "installs_365d": 152,
  "installs_90d": 17,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "CC0-1.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "aicommit",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 8383,
  "rank_365d": 8091,
  "rank_90d": 10235,
  "raw_hash": "66c150608abd03a5",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/a/aicommit.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.6.5",
  "versioned_formulae": [],
  "why_use_this": null
}