AI Commits for IntelliJ based IDEs/Android Studio.
AI Commits is a plugin that generates your commit messages by using git diff and OpenAI. To get started, install the plugin and set OpenAI private token in plugin's settings: Settings > Tools > AI Commits
- Generate commit message from diff using OpenAI API
- Compute diff only from the selected files and lines in the commit dialog
- Create your own prompt for commit message generation
- Choose any of the models available in OpenAI API
- Set OpenAI network proxy
- Set custom OpenAI compatible API endpoint
![Shows an illustrated sun in light mode and a moon with stars in dark mode.](./screenshots/plugin-white.gif)
IntelliJ IDEA, PhpStorm, WebStorm, PyCharm, RubyMine, AppCode, CLion, GoLand, DataGrip, Rider, MPS, Android Studio, DataSpell, Code With Me
![](https://user-images.githubusercontent.com/12044174/123105697-94066100-d46a-11eb-9832-338cdf4e0612.png)
Or you could install it inside your IDE:
For Windows & Linux: File > Settings > Plugins > Marketplace > Search for "AI Commits" > Install Plugin > Restart IntelliJ IDEA
For Mac: IntelliJ IDEA > Preferences > Plugins > Marketplace > Search for "AI Commits" > Install Plugin > Restart IntelliJ IDEA
- Download zip from releases
- Import to IntelliJ: Settings > Plugins > Cog > Install plugin from disk...
- Set OpenAI private token in plugin's settings: Settings > Tools > AI Commits
- Star the repository
- Buy me a coffee
- Rate the plugin
- Share the plugin
- Sponsor me
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
- Inspired by Nutlope's AICommits.
- openai-kotlin for OpenAI API client.
Please see LICENSE for details.