ai-commits-intellij-plugin  by Blarc

IntelliJ plugin for AI-powered commit message generation

created 2 years ago
639 stars

Top 52.9% on sourcepulse

GitHubView on GitHub
Project Summary

This plugin generates commit messages for IntelliJ-based IDEs and Android Studio using Git diffs and Large Language Models (LLMs). It targets developers seeking to automate and improve their commit message quality.

How It Works

The plugin leverages langchain4j to interact with various LLM providers, including OpenAI, Gemini, and Hugging Face models. It analyzes Git diffs, allowing users to select specific files or lines for context, and generates commit messages based on customizable prompts.

Quick Start & Requirements

  • Install via IntelliJ IDEA's plugin marketplace: Settings > Plugins > Marketplace > Search for "AI Commits" > Install.
  • Alternatively, install from a downloaded zip file: Settings > Plugins > Cog > Install plugin from disk....
  • Requires configuration of an LLM API client in the plugin's settings.
  • Supported IDEs include IntelliJ IDEA, Android Studio, PyCharm, and others.

Highlighted Details

  • Supports a wide range of LLM providers: OpenAI, Gemini, Mistral AI, Ollama, and more.
  • Allows custom prompt engineering with predefined variables.
  • Compatible with Git and Subversion.
  • Generates commit messages from selected file/line diffs.

Maintenance & Community

  • Project is hosted on GitHub.
  • Links to CHANGELOG and CONTRIBUTING guides are available.
  • Mentions inspiration from Nutlope/AICommits and dependencies on openai-kotlin and langchain4j.

Licensing & Compatibility

  • License details are available in the LICENSE file. (Specific license type not stated in README).
  • Compatible with various JetBrains IDEs and Android Studio.

Limitations & Caveats

The README does not specify the exact license type, which may impact commercial use or closed-source integration.

Health Check
Last commit

3 days ago

Responsiveness

1 day

Pull Requests (30d)
9
Issues (30d)
5
Star History
79 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.