A minimal VSCode extension to generate commit messages using Google's Gemini AI.
- Generates a commit message based on your current Git changes.
- Uses the Gemini model you specify.
- Integrates with the Source Control view.
Before using the extension, you need to configure your Gemini API key:
- Open the Extensions view (Ctrl/Cmd + Shift + X).
- Find "Just Commit" in your list of installed extensions.
- Click the gear icon (⚙️) next to it and select Extension Settings.
- Fill in your Gemini Api Key. You can get one from Google AI Studio.
- You can also configure the Gemini Model and add any custom instructions on this page.
- Make some changes in your Git repository.
- Go to the Source Control view.
- Click the "Just Commit" icon at the top of the Source Control panel.
- The extension will analyze your changes and populate the commit message box.
-
Clone the repository:
git clone https://github.com/achendev/justcommit.git cd justcommit -
Install dependencies:
npm install
-
Package the extension: This will create a
.vsixfile (e.g.,justcommit-1.0.0.vsix).npm run build
-
Install the extension in VSCode:
- Open VSCode.
- Go to the Extensions view (Ctrl/Cmd + Shift + X).
- Click the
...menu in the top-right corner. - Select "Install from VSIX...".
- Choose the
.vsixfile you created in the previous step.

