{"id":21492700,"url":"https://github.com/donnierich/commit-ai","last_synced_at":"2025-04-23T13:43:17.485Z","repository":{"id":156153920,"uuid":"624508283","full_name":"DonnieRich/commit-ai","owner":"DonnieRich","description":"Commit AI is a simple VS Code extension that helps you write better commit messages.","archived":false,"fork":false,"pushed_at":"2023-05-11T18:30:33.000Z","size":331,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T00:11:20.603Z","etag":null,"topics":["ai","commit","git","llm","open-ai","vscode"],"latest_commit_sha":null,"homepage":"","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/DonnieRich.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-04-06T16:13:53.000Z","updated_at":"2024-01-23T15:21:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"57e4eaad-018f-4e50-ba8f-8445657e102e","html_url":"https://github.com/DonnieRich/commit-ai","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonnieRich%2Fcommit-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonnieRich%2Fcommit-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonnieRich%2Fcommit-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonnieRich%2Fcommit-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DonnieRich","download_url":"https://codeload.github.com/DonnieRich/commit-ai/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250441350,"owners_count":21431158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ai","commit","git","llm","open-ai","vscode"],"created_at":"2024-11-23T15:31:23.060Z","updated_at":"2025-04-23T13:43:17.457Z","avatar_url":"https://github.com/DonnieRich.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# commit-ai README\n\nCommit AI is a simple VS Code extension that helps you write better commit messages. It uses OpenAI API to generate a commit suggestion based on the `git --diff --staged --minimal` command output.\n\n## Features\n\nCommit AI allows you to generate commit messages and descriptions using OpenAI API.\nIt's as simple as a click on the lightbulb icon on the Source Control Panel, or on *Request commit suggestion* in the context menu.\n\n\u003e Request commit suggestion using icon\n\n![Request commit suggestion](./media/readme/clickOnIcon.gif)\n\n\u003e Request commit suggestion using menu item\n\n![Request commit suggestion](./media/readme/clickOnMenuItem.gif)\n\n## Commands\nUsing VS Code command palette `Ctrl+Shift+P` on Windows (`Cmd+Shift+P` on Mac) you can call the following commands:\n\n* `[Commit AI] Request commit suggestion`: To request a suggestion based on your diff output\n* `[Commit AI] Set API Key`: To save on your local workspace your OpenAI API key\n* `[Commit AI] Clear API Key`: To remove your OpenAI API key from your local workspace\n\n### Note\n\nYour API key is stored locally leveraging VS Code *secret storage*.\nWe do not have access to your api key.\n\n## Extension Settings\n\nThis extension contributes the following settings:\n\n* `commit-ai.commitMessagePrompt`: The prompt used to request the commit suggestion.\n* `commit-ai.maxTokens`: The maximum number of tokens available to the API for the commit suggestion.\n* `commit-ai.temperature`: What sampling temperature to use, between 0 and 2. Higher value means more creativity from the API. Example: 0.8\n* `commit-ai.gptModel`: What GPT model to use for completing the request. NOTE: not all models are available for certain endpoints. See [Models Endpoint Compatibility](https://platform.openai.com/docs/models/model-endpoint-compatibility)\"\n * `commit-ai.gptApiEndpoint`: What endpoint to call for the request. NOTE: not all models are available for certain endpoints. See [Models Endpoint Compatibility](https://platform.openai.com/docs/models/model-endpoint-compatibility)\"\n\n## Known Issues\n\nSeems like the extension keep asking for the OpenAI API key after you re-open VS Code.\n\n## Release Notes\n\n### 0.0.5\n---\n\nImproved functionality for setting OpenAI API key\n\n### 0.0.4\n---\n\nFixed API key management\n\n## NOTE\n\nThis extension works by making request to the OpenAI API. In order to call those API you need to insert your personal API key.\n\nYou can create an account and request an API key using this link [OpenAI](https://platform.openai.com/)\n\n\nThis extension send the `git --diff --staged --minimal` output to OpenAI.\n\nDO NOT USE THIS EXTENSION if you are working on sensitive information that should not be shared outside your workplace environment.\n\n**Enjoy!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonnierich%2Fcommit-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonnierich%2Fcommit-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonnierich%2Fcommit-ai/lists"}