| Crates.io | commitai |
| lib.rs | commitai |
| version | 0.1.1 |
| created_at | 2024-11-16 09:43:47.532401+00 |
| updated_at | 2024-11-16 11:19:35.477261+00 |
| description | This is an ai commit message generator |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1450268 |
| size | 67,975 |
AI-powered git commit message generator using Google's Gemini API.
cargo install commitai
Get a Google API key from Google AI Studio
Create a config file:
Linux/macOS:
mkdir -p ~/.config/commitai
echo "GOOGLE_API_KEY=your_api_key_here" > ~/.config/commitai/config
Windows:
mkdir -p $env:APPDATA\commitai
echo "GOOGLE_API_KEY=your_api_key_here" > $env:APPDATA\commitai\config
git add .
commitai
y - Use the message and commite - Edit the message before committingn - Cancel without committingThis project is licensed under the MIT License - see the LICENSE file for details.