commitgenius-0.1.0 is not a library.
Commitgenius 🤖
A Rust-based CLI tool that uses local LLMs (via Ollama) to generate conventional commit messages from your git diffs.
Features
- 🚀 Uses local LLM inference through Ollama
- 📝 Generates conventional commit messages
- 🔄 Auto-starts Ollama if not running
- 🎯 Supports multiple Ollama models
- 🛠 Easy to use CLI interface
Prerequisites
- Rust
- Git
- Ollama
Installation
- Clone the repository:
- Build and install:
Usage
- Stage your changes:
- Generate commit message and commit:
# Using default model (qwen2.5:7b)
# Using a specific model
Supported Models
Any model available in your Ollama installation can be used. Some recommended models:
- qwen2.5:7b
- phi4
- llama3.2
- codellama
License
MIT License