{"id":33899652,"url":"https://github.com/bermudi/ai-commit-bermudi","last_synced_at":"2026-04-05T11:31:31.755Z","repository":{"id":320446219,"uuid":"1082137390","full_name":"bermudi/ai-commit-bermudi","owner":"bermudi","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-07T06:12:02.000Z","size":3409,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-07T13:24:57.831Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bermudi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-23T19:39:05.000Z","updated_at":"2026-03-07T06:12:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"94eaff7e-5dbc-4a7a-9bc5-cec507d3b65e","html_url":"https://github.com/bermudi/ai-commit-bermudi","commit_stats":null,"previous_names":["bermudi/ai-commit-bermudi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bermudi/ai-commit-bermudi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bermudi%2Fai-commit-bermudi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bermudi%2Fai-commit-bermudi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bermudi%2Fai-commit-bermudi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bermudi%2Fai-commit-bermudi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bermudi","download_url":"https://codeload.github.com/bermudi/ai-commit-bermudi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bermudi%2Fai-commit-bermudi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31434624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T08:13:15.228Z","status":"ssl_error","status_checked_at":"2026-04-05T08:13:11.839Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-11T22:05:17.101Z","updated_at":"2026-04-05T11:31:31.700Z","avatar_url":"https://github.com/bermudi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n\u003cimg height=\"120\" src=\"https://github.com/bermudi/ai-commit-bermudi/blob/main/images/logo.png?raw=true\"\u003e\n\n\u003ch1\u003eAI Commit (bermudi fork)\u003c/h1\u003e\n\nUse OpenAI / Azure OpenAI / DeepSeek / Gemini API to review both staged and unstaged Git changes (including untracked files), generate conventional commit messages that meet the conventions, simplify the commit process, and keep the commit conventions consistent. Fork uses [Conventional Commits 2.0.0 unofficial specification](https://github.com/bermudi/conventional-commits-unofficial) and can include branch metadata and a digest of recent commits inside the prompt.\n\n**English** · [Report Bug][github-issues-link] · [Request Feature][github-issues-link]\n\n\u003c!-- SHIELD GROUP --\u003e\n\n[![][github-contributors-shield]][github-contributors-link]\n[![][github-forks-shield]][github-forks-link]\n[![][github-stars-shield]][github-stars-link]\n[![][github-issues-shield]][github-issues-link]\n[![][vscode-marketplace-shield]][vscode-marketplace-link]\n[![][total-installs-shield]][total-installs-link]\n[![][avarage-rating-shield]][avarage-rating-link]\n[![][github-license-shield]][github-license-link]\n\n\n\u003c/div\u003e\n\n## ✨ Features\n\n- 🤯 Generate commit messages from staged diffs or a combined unstaged diff that now includes untracked files and handles binary reads safely.\n- 🧠 Include branch name and recent commits (when enabled) in the AI prompt for richer context.\n- 🗺️ Support multi-language commit messages.\n- 😜 Support adding Gitmoji.\n- 🛠️ Support custom system prompt.\n- 📝 Support Conventional Commits 2.0.0 (optimized for AI workflows).\n\n## 📦 Installation\n\n1. Search for \"AI Commit\" in VSCode and click the \"Install\" button.\n2. Install it directly from the [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Sitoi.ai-commit).\n\n\u003e **Note**\\\n\u003e Make sure your node version \u003e= 16\n\n## 🤯 Usage\n\n1. Ensure that you have installed and enabled the \"AI Commit\" extension.\n2. In VSCode settings, locate the \"ai-commit\" configuration options and configure them as needed.\n3. Make changes in your project and add the changes to the staging area (git add).\n4. (Optional) If you want to provide additional context for the commit message, type it in the Source Control panel's message input box before clicking the AI Commit button.\n5. Next to the commit message input box in the \"Source Control\" panel, click the \"AI Commit\" icon button. After clicking, the extension will generate a commit message (considering any additional context if provided as well as branch and recent commits context) and populate it in the input box. You can commit either staged changes or rely on the unstaged/working copy diff that now includes untracked files.\n6. Review the generated commit message, and if you are satisfied, proceed to commit your changes.\n\n\u003e **Note**\\\n\u003e If the code exceeds the maximum token length, consider adding it to the staging area in batches.\n\n### ⚙️ Configuration\n\n\u003e **Note** Use `USE_GITMOJI` to toggle Gitmoji output. To fully customize the behaviour, provide `SYSTEM_PROMPT` (see [prompt/with_gitmoji.md](./prompt/with_gitmoji.md) and [prompt/without_gitmoji.md](./prompt/without_gitmoji.md)).\n\nIn the VSCode settings, locate the \"ai-commit\" configuration options and configure them as needed:\n\n| Configuration           |  Type   |       Default        |  Required   |                                                       Notes                                                        |\n| :---------------------- | :-----: | :------------------: | :---------: | :----------------------------------------------------------------------------------------------------------------: |\n| AI_PROVIDER             | string  |        openai        |     Yes      | Select AI provider: `openai`, `gemini`, or `poe`. Azure OpenAI also uses `openai`. |\n| OPENAI_API_KEY          | string  |         None         | Conditional | Required when `AI_PROVIDER` is `openai` (OpenAI or Azure). [Get a key](https://platform.openai.com/account/api-keys). |\n| OPENAI_BASE_URL         | string  |         None         |  Optional   | Set when using Azure OpenAI or a custom endpoint, e.g. `https://{resource}.openai.azure.com/openai/deployments/{model}`. |\n| OPENAI_MODEL            | string  |        gpt-4o        |  Optional   | Change via the `Show Available OpenAI Models` command. |\n| AZURE_API_VERSION       | string  |         None         | Conditional | Required only when `OPENAI_BASE_URL` targets Azure OpenAI. |\n| OPENAI_TEMPERATURE      | number  |         0.7          |  Optional   | Controls randomness (0-2). Lower values are more deterministic; higher values are more creative. |\n| GEMINI_API_KEY          | string  |         None         | Conditional | Required when `AI_PROVIDER` is `gemini`. [Get a key](https://makersuite.google.com/app/apikey). |\n| GEMINI_MODEL            | string  | gemini-2.0-flash-001 |  Optional   | Gemini model selection is currently configuration-only. |\n| GEMINI_TEMPERATURE      | number  |         0.7          |  Optional   | Controls randomness (0-2). Lower values are more focused; higher values are more creative. |\n| POE_API_KEY             | string  |         None         | Conditional | Required when `AI_PROVIDER` is `poe`. [Get a key](https://poe.com/api_key). |\n| POE_MODEL               | string  | Claude-Sonnet-4.5    |  Optional   | Select via the `Show Available Poe Models` command after authenticating. |\n| POE_TEMPERATURE         | number  |         0.7          |  Optional   | Controls randomness (0-2) for Poe chats. |\n| REASONING_MODE          | string  |      balanced        |  Optional   | Single control for all providers: `auto`, `fast`, `balanced`, `deep`. Overrides map to provider-specific knobs. |\n| AI_COMMIT_LANGUAGE      | string  |        English       |  Optional   |                         Supports 19 languages (see setting for the full list).                                     |\n| USE_GITMOJI             | boolean |         true         |  Optional   |                         Include Gitmoji in generated commit messages. Set to `false` to disable.                   |\n| AI_COMMIT_SYSTEM_PROMPT | string  |         None         |  Optional   |                    Override the default prompt; leave blank to use the built-in template.                          |\n| AI_COMMIT_SYSTEM_APPEND | string  |         None         |  Optional   |                    Additional text to append to the system prompt for generating commit messages.                          |\n\n| ENABLE_RECENT_COMMITS_CONTEXT | boolean | true | Optional | Include a short list of recent commits in the AI prompt. Disable to keep prompts focused on the current diff only. |\n\n## ⌨️ Local Development\n\nYou can use Github Codespaces for online development:\n\n[![][github-codespace-shield]][github-codespace-link]\n\nAlternatively, you can clone the repository and run the following commands for local development:\n\n```bash\n$ git clone https://github.com/bermudi/ai-commit-bermudi.git\n$ cd ai-commit-bermudi\n$ pnpm install\n$ pnpm package\n```\n\nFork built with ⚡ **esbuild** for blazing fast builds.\n\n## 🤝 Contributing\n\nContributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub [Issues][github-issues-link] to get stuck in to show us what you’re made of.\n\n[![][pr-welcome-shield]][pr-welcome-link]\n\n### 💗 All Thanks To Our Contributors\n\n[![][github-contrib-shield]][github-contrib-link]\n\n## 🔗 Links\n\n### Credits\n\n- **ai-commit** - \u003chttps://github.com/sitoi/ai-commit\u003e\n- **auto-commit** - \u003chttps://github.com/lynxife/auto-commit\u003e\n- **opencommit** - \u003chttps://github.com/di-sukharev/opencommit\u003e\n\n---\n\n## 📝 License\n\nThis project is [MIT](./LICENSE) licensed.\n\n\u003c!-- LINK GROUP --\u003e\n\n[github-codespace-link]: https://codespaces.new/bermudi/ai-commit-bermudi\n[github-codespace-shield]: https://github.com/bermudi/ai-commit-bermudi/blob/main/images/codespaces.png?raw=true\n[github-contributors-link]: https://github.com/bermudi/ai-commit-bermudi/graphs/contributors\n[github-contributors-shield]: https://img.shields.io/github/contributors/bermudi/ai-commit-bermudi?color=c4f042\u0026labelColor=black\u0026style=flat-square\n[github-forks-link]: https://github.com/bermudi/ai-commit-bermudi/network/members\n[github-forks-shield]: https://img.shields.io/github/forks/bermudi/ai-commit-bermudi?color=8ae8ff\u0026labelColor=black\u0026style=flat-square\n[github-issues-link]: https://github.com/bermudi/ai-commit-bermudi/issues\n[github-issues-shield]: https://img.shields.io/github/issues/bermudi/ai-commit-bermudi?color=ff80eb\u0026labelColor=black\u0026style=flat-square\n[github-license-link]: https://github.com/bermudi/ai-commit-bermudi/blob/main/LICENSE\n[github-license-shield]: https://img.shields.io/github/license/bermudi/ai-commit-bermudi?color=white\u0026labelColor=black\u0026style=flat-square\n[github-stars-link]: https://github.com/bermudi/ai-commit-bermudi/network/stargazers\n[github-stars-shield]: https://img.shields.io/github/stars/bermudi/ai-commit-bermudi?color=ffcb47\u0026labelColor=black\u0026style=flat-square\n[pr-welcome-link]: https://github.com/bermudi/ai-commit-bermudi/pulls\n[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black\u0026style=for-the-badge\n[github-contrib-link]: https://github.com/bermudi/ai-commit-bermudi/graphs/contributors\n[github-contrib-shield]: https://contrib.rocks/image?repo=bermudi%2Fai-commit-bermudi\n[vscode-marketplace-link]: https://marketplace.visualstudio.com/items?itemName=bermudi.ai-commit-bermudi\n[vscode-marketplace-shield]: https://img.shields.io/vscode-marketplace/v/bermudi.ai-commit-bermudi.svg?label=vscode%20marketplace\u0026color=blue\u0026labelColor=black\u0026style=flat-square\n[total-installs-link]: https://marketplace.visualstudio.com/items?itemName=bermudi.ai-commit-bermudi\n[total-installs-shield]: https://img.shields.io/vscode-marketplace/d/bermudi.ai-commit-bermudi.svg?\u0026color=greeen\u0026labelColor=black\u0026style=flat-square\n[avarage-rating-link]: https://marketplace.visualstudio.com/items?itemName=bermudi.ai-commit-bermudi\n[avarage-rating-shield]: https://img.shields.io/vscode-marketplace/r/bermudi.ai-commit-bermudi.svg?\u0026color=green\u0026labelColor=black\u0026style=flat-square\n--- END OF FILE README.md ---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbermudi%2Fai-commit-bermudi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbermudi%2Fai-commit-bermudi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbermudi%2Fai-commit-bermudi/lists"}