{"id":13596872,"url":"https://github.com/pwwang/vscode-gptcommit","last_synced_at":"2025-09-22T07:31:20.422Z","repository":{"id":76855279,"uuid":"598994207","full_name":"pwwang/vscode-gptcommit","owner":"pwwang","description":"Automated git commit messages using GPT models via gptcommit for VS Code.","archived":false,"fork":false,"pushed_at":"2023-04-01T03:59:27.000Z","size":2882,"stargazers_count":202,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T13:44:27.590Z","etag":null,"topics":["commit-message","git","gpt","gpt-3","vscode","vscode-extension"],"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/pwwang.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}},"created_at":"2023-02-08T08:24:57.000Z","updated_at":"2025-03-31T13:24:00.000Z","dependencies_parsed_at":"2024-01-15T16:45:08.429Z","dependency_job_id":null,"html_url":"https://github.com/pwwang/vscode-gptcommit","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/pwwang/vscode-gptcommit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwwang%2Fvscode-gptcommit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwwang%2Fvscode-gptcommit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwwang%2Fvscode-gptcommit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwwang%2Fvscode-gptcommit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwwang","download_url":"https://codeload.github.com/pwwang/vscode-gptcommit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwwang%2Fvscode-gptcommit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276367031,"owners_count":25629964,"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","status":"online","status_checked_at":"2025-09-22T02:00:08.972Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["commit-message","git","gpt","gpt-3","vscode","vscode-extension"],"created_at":"2024-08-01T16:02:53.378Z","updated_at":"2025-09-22T07:31:20.033Z","avatar_url":"https://github.com/pwwang.png","language":"TypeScript","readme":"# vscode-gptcommit\n\nAutomated git commit messages using GPT models via [gptcommit][1] for VS Code.\n\n![vscode-gptcommit][2]\n\n## Installation\n\n- Install the extension from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=pwwang.gptcommit)\n- Install the [gptcommit][1]\n\nNote: Do NOT install `gptcommit` hook via `gptcommit install` under the root of your git repo.\n\n## Supported Versions\n\n| Extension Version | VS Code Version | gptcommit Version |\n| ----------------- | --------------- | ----------------- |\n| \u003c 0.1.0 | 1.75+ | 0.1.16 |\n| 0.1.x | 1.70+ | 0.1.16 |\n| 0.2.x | 1.70+ | 0.3.0 |\n| 0.3.x | 1.70+ | 0.5.x |\n\n## Commands\n\nRun via `Ctrl+Shift+P` or `Cmd+Shift+P`:\n\n- `GPTCommit: Generate Git Commit Message`\n  Generate the commit message\n\n- `GPTCommit: Setup OpenAI API Key`\n  Setup the OpenAI API Key. You can get the API key from [OpenAI][3]\n\n- `GPTCommit: Use a different OpenAI model`\n  Use a different OpenAI model. For a list of public OpenAI models, checkout the [OpenAI docs][4]. Default is now `gpt-3.5-turbo`.\n\n- `GPTCommit: Set output language`\n  Set the output language. Default is `en`.\n\n- `GPTCommit: Show per-file summary`\n  Enable \"show per-file summary\"? It's disabled by default.\n\n- `GPTCommit: Disable conventional commit`\n  Disable \"conventional commit\"? It's enabled by default.\n\n- `GPTCommit: Open gptcommit configuration file`\n  Open the local gptcommit configuration file (~/.git/gptcommit.toml)\n\n## Extension Settings\n\n- `ExpressMode`: If true, generated message will be filled into the Source Control commit message input box directly, instead of opening a new editor.\n- `ExpressModeContent`: Content of the message to fill in the express mode.\n  - Note that to show per-file summary, you need to enable \"show per-file summary\" by running the `GPTCommit: Show per-file summary` command.\n- `GptcommitPath`: Path to the `gptcommit` executable.\n- `OnFiles`: Diff of files to use for generating the commit message.\n  - `staged`: Use staged files\n  - `unstaged`: Use unstaged files\n  - `tryStagedThenUnstaged`: Try staged files first, then try unstaged files if no staged files are found\n\n## Advanced configuration\n\nNote that now all the configuration via the extension is saved in the `.git/gptcommit.toml` file. If you have to change advanced configuration, you can edit the `.git/gptcommit.toml` file directly, but make sure you know what you are doing. You can also use the `GPTCommit: Open gptcommit configuration file` command to open the configuration file.\n\nIf you want to use the configuration globally, you can copy the `.git/gptcommit.toml` file to `~/.config/gptcommit/config.toml`, or just the sections of the configuration you want to be used globally.\n\nAlso refer to the [gptcommit][1] documentation for more information.\n\n[1]: https://github.com/zurawiki/gptcommit\n[2]: https://raw.githubusercontent.com/pwwang/vscode-gptcommit/master/vscode-gptcommit.gif\n[3]: https://openai.com/api/\n[4]: https://beta.openai.com/docs/models/overview\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwwang%2Fvscode-gptcommit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwwang%2Fvscode-gptcommit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwwang%2Fvscode-gptcommit/lists"}