🚀 Automate your Git commit messages with AI!
This PhpStorm plugin integrates with Ollama's Llama 3 model to generate intelligent commit messages based on Git diffs. It ensures clear, concise, and well-structured commit messages while saving time on manual writing.
✅ AI-Powered Commit Messages – Generates structured commit messages based on changes.
✅ Supports Unversioned Files – Includes newly created and modified files.
✅ Exact Formatting – Enforces ref #TICKET: Commit message
format.
✅ Automatic Git Diff Analysis – Captures code changes for better message context.
✅ Works Locally – No external API calls, only requires Ollama running on localhost
.
- PhpStorm (2024.1 or later)
- Git installed and configured
- Ollama installed and running (
ollama serve
)
- Clone this repository:
git clone https://github.com/kzorluoglu/kaissist.git
- Open PhpStorm and navigate to Settings > Plugins.
- Click "Install Plugin from Disk" and select the downloaded plugin
.jar
file. - Restart PhpStorm.
- Ensure Ollama is running:
ollama serve
- Use the "Generate Commit Message (Ollama)" button in PhpStorm’s Git Commit window.
- Stage your changes using
git add .
- Click "Commit" in PhpStorm.
- Click "Generate Commit Message (Ollama)".
- Review the AI-generated message and commit your changes.
Before:
git commit -m "Added new file"
After (Generated by Plugin):
ref #12345: Added project initialization files and configuration settings.
- Clone the repo and open in IntelliJ IDEA or PhpStorm.
- Build the project using Gradle/Maven.
- Test the plugin by installing it manually in PhpStorm.
We welcome contributions! Feel free to open Issues and Pull Requests to enhance this project.
This project is licensed under the MIT.
For questions or suggestions, feel free to open an issue or reach out to hello@d8devs.com
.
🚀 Simplify your Git workflow with AI-powered commit messages!