Skip to content

Commit AI is an IntelliJ/Android Studio-based IDE plugin for creating generative commits.

License

Notifications You must be signed in to change notification settings

FrancoStino/commit-ai-jetbrains-plugin

Repository files navigation

logo

Commit AI

Commit AI for IntelliJ based IDEs/Android Studio.

Version Installs

Quality Gate Status


Description

Commit AI is a plugin that generates your commit messages by using git diff and LLMs.

✨ Key Features

  • AI-powered commit messages: Generate meaningful commit messages from your code changes
  • Multiple LLM providers: Support for Groq and Pollinations with top models like Llama 3.3 70B
  • Smart diff analysis: Analyzes only selected files and lines in the commit dialog
  • Amend mode support: Generate commit messages for previous commits in amend mode
  • Custom prompts: Create and customize your own prompt templates with variables
  • Universal IDE support: Works across all JetBrains IDEs (IntelliJ, PhpStorm, PyCharm, WebStorm, etc.)
  • Git & SVN support: Compatible with both Git and Subversion version control systems

🚀 Getting Started

Install the plugin and configure your LLM client in Settings > Tools > Commit AI

Features

  • Generate commit message from git diff using LLM
  • Generate commit message for previous commit when in amend mode
  • 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
  • Supports Git and Subversion as version control systems.

Supported models

  • Groq (Freemium)
  • Pollinations (Free)

The plugin uses langchain4j for creating LLM API clients with OpenAI-compatible APIs. It currently supports Groq and Pollinations. If you would like support for additional LLM providers, 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

Install Plugin

Or you could install it inside your IDE:

For Windows & Linux: File > Settings > Plugins > Marketplace > Search for "Commit AI" > Install Plugin > Restart IntelliJ IDEA

For Mac: IntelliJ IDEA > Preferences > Plugins > Marketplace > Search for "Commit AI" > Install Plugin > Restart IntelliJ IDEA

Installation from zip

  1. Download zip from releases
  2. Import to IntelliJ: Settings > Plugins > Install plugin from disk...
  3. Set LLM client configuration in plugin's settings: Settings > Tools > Commit AI

Support

Buy Me a Coffee at ko-fi.com

Contributing

Please see CONTRIBUTING for details.

Acknowledgements

License

Please see LICENSE for details.

Star History

Star History Chart

About

Commit AI is an IntelliJ/Android Studio-based IDE plugin for creating generative commits.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 7

Languages