ChatGPT Commit Message Summarizer
Welcome to ChatGPT Commit Message Summarizer, a VSCode extension that generates commit messages from Git diffs using OpenAI's GPT-3.5 language model.
This extension provides a command to generate a Git commit message that summarizes changes to the currently opened file. The generated commit message is based on the Git diff of the file, and the length of the diff used can be set in the settings to prevent excessive usage of the GPT-3.5 API, which can result in high costs.
To use this extension, you must have Git installed on your system and available on the command line. Additionally, you will need to obtain an OpenAI API token to use the GPT-3.5 language model. Extension Settings
This extension contributes the following settings:
There are currently no known issues with this extension.
If you want to modify the extension, the source code is available at Ishidres/vscode-chatgpt-git-commit-message-summarizer on GitHub. Feel free to improve this extension using pull requests!
To get started, you will need to install the necessary dependencies by running the following command in your terminal:
Then, you can open the project in VSCode by running:
Finally, you can run the extension by pressing F5 or by using the "Run Extension" command in the VSCode Debug sidebar.
Please note that you will need to set your OpenAI API token in the extension's settings to use the GPT-3.5 language model. The token can be obtained from the OpenAI website.
By using this project or installing this extension, you agree to be bound by the terms and conditions of the license located at the LICENSE file in this repository. If you do not agree to the terms of the license, do not use this project or install this extension.