| Crates.io | commitgenius |
| lib.rs | commitgenius |
| version | 0.3.0 |
| created_at | 2025-01-31 05:53:00.434385+00 |
| updated_at | 2025-02-23 02:38:13.932632+00 |
| description | An AI-powered CLI tool that generates conventional commit messages using local LLMs via Ollama |
| homepage | |
| repository | https://github.com/bannawandoor27/Commitgenius |
| max_upload_size | |
| id | 1537170 |
| size | 6,213,633 |
A powerful CLI tool that generates conventional commit messages using local LLMs via Ollama. Say goodbye to writing commit messages manually!
cargo install commitgenius
brew tap bannawandoor27/Commitgenius
brew install commitgenius
# Add GPG key
curl -fsSL https://bannawandoor27.github.io/Commitgenius/apt-repo/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/commitgenius-archive-keyring.gpg
# Add repository
echo "deb [signed-by=/usr/share/keyrings/commitgenius-archive-keyring.gpg] https://bannawandoor27.github.io/Commitgenius/apt-repo stable main" | sudo tee /etc/apt/sources.list.d/commitgenius.list
# Update and install
sudo apt update
sudo apt install commitgenius
cmgenius .
cmgenius file1.rs file2.rs
cmgenius
Use a different model:
# Stage and commit all changes with a specific model
cmgenius . --model codellama
# Stage and commit specific files with a specific model
cmgenius file1.rs file2.rs --model codellama
# Commit staged changes with a specific model
cmgenius --model codellama
Available models:
# Stage and commit all changes
cmgenius .
# Stage and commit specific files
cmgenius src/main.rs Cargo.toml
# Commit already staged changes with a specific model
cmgenius --model codellama
# View available options
cmgenius --help
Contributions are welcome! Here's how you can help:
git checkout -b feature/amazing-feature)cmgenius .)git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Hasanul Banna - @bannawandoor27
Project Link: https://github.com/bannawandoor27/Commitgenius