Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blarc/ai-commits-intellij-plugin

AI Commits for IntelliJ based IDEs/Android Studio.
https://github.com/blarc/ai-commits-intellij-plugin

ai chatgpt commit commit-message generation intellij intellij-plugin jetbrains

Last synced: 30 days ago
JSON representation

AI Commits for IntelliJ based IDEs/Android Studio.

Awesome Lists containing this project

README

        



logo


AI Commits


AI Commits for IntelliJ based IDEs/Android Studio.


Build Status





- [Description](#description)
- [Features](#features)
- [Compatibility](#compatibility)
- [Install](#install)
- [Installation from zip](#installation-from-zip)

[//]: # (- [Demo](#demo))

## Description

AI Commits is a plugin that generates your commit messages by using git diff and LLMs. To get started, install the
plugin and configure a LLM API client in plugin's settings: Settings > Tools > AI Commits

## Features

- Generate commit message from git diff using LLM
- Compute diff only from the selected files and lines in the commit dialog
- Create your own prompt for commit message generation
- Use predefined variables and hint to customize your prompt

## Supported models

- Anthropic
- Azure Open AI
- Gemini
- Hugging Face
- Open AI
- Ollama
- Qianfan (Ernie)

The plugin is implemented in a generic way and uses [langchain4j](https://github.com/langchain4j/langchain4j) for creating LLM API clients. If you would like to use some other LLM model that is supported by langchain4j, please make a feature request in GitHub issues.

## Demo



Demo.

## Compatibility

IntelliJ IDEA, PhpStorm, WebStorm, PyCharm, RubyMine, AppCode, CLion, GoLand, DataGrip, Rider, MPS, Android Studio,
DataSpell, Code With Me

## Install



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

### Installation from zip

1. Download zip from [releases](https://github.com/Blarc/ai-commits-intellij-plugin/releases)
2. Import to IntelliJ: Settings > Plugins > Cog > Install plugin from
disk...

3. Set LLM client configuration in plugin's settings: Settings > Tools > AI Commits

[//]: # (## Demo)

[//]: # ()

[//]: # (![demo.gif](./screenshots/plugin2.gif))

## Support

* Star the repository
* [Buy me a coffee](https://ko-fi.com/blarc)
* [Rate the plugin](https://plugins.jetbrains.com/plugin/21335-ai-commits)
* [Share the plugin](https://plugins.jetbrains.com/plugin/21335-ai-commits)
* [Sponsor me](https://github.com/sponsors/Blarc)

## Change log

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

## Acknowledgements

- Inspired by Nutlope's [AICommits](https://github.com/Nutlope/aicommits).
- [openai-kotlin](https://github.com/aallam/openai-kotlin) for OpenAI API client.
- [langchain4j](https://github.com/langchain4j/langchain4j) for LLM API clients.

## License

Please see [LICENSE](LICENSE) for details.