CommitCrafter 🎨
Craft your commit messages while you focus on coding. CommitCrafter analyzes your git diff and generates meaningful, conventional commit messages.
✨ What's Cool
- 🤖 Multiple AI Brains: Choose your favorite - GPT, Claude, Gemini, Mistral, or Ollama
- 🎯 Smart Selection: Pick from multiple suggestions for the perfect commit message
- 📋 Auto-Copy: Selected message goes straight to your clipboard
- 🎭 Conventional Commits: Proper formatting with emojis included
- 🔌 Just Works: Zero config needed - works with any git repo
🚀 Quick Start
# Install with pipx
pipx install commitcrafter
# Use it (in any git repository)
commitcraft # Uses Claude by default
commitcraft -a gpt # Or use GPT instead
🎮 Choose Your Model
commitcraft -a claude # Anthropic's Claude
commitcraft -a gpt # OpenAI's GPT
commitcraft -a gemini # Google's Gemini
commitcraft -a mistral # Mistral AI
commitcraft -a ollama # Local Ollama
🔑 Setup
You'll need an API key for your chosen model. Set it as an environment variable:
# Pick the one you need:
export ANTHROPIC_API_KEY='your-key'
export OPENAI_API_KEY='your-key'
export GEMINI_API_KEY='your-key'
export MISTRAL_API_KEY='your-key'
export OLLAMA_API_KEY='your-key'
📦 Requirements
- Python 3.12+
- A git repository
- An API key for your chosen model
🤝 Contributing
Found a bug? Have an idea? PRs and issues are always welcome!
📝 License
MIT - Do whatever you want with it!
🔗 Useful Links
🛠️ Built With
- Pydantic-AI - Modern AI Agent Framework
- Typer - Beautiful CLI Builder
- Rich - Rich Terminal Output
- GitPython - Git Operations
- Pyperclip - Clipboard Management
🤖 AI Providers
- Anthropic Claude - Our Default Model
- OpenAI - GPT Integration
- Google Gemini - Google's LLM
- Mistral AI - Open Source Models
- Ollama - Local AI Runtime
Metadata
Release files for commitcrafter 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| commitcrafter-0.3.2.tar.gz | 6.2 kB | Without provenance | Details for commitcrafter-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| commitcrafter-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for commitcrafter-0.3.2-py3-none-any.whl |
Total release size: 14.8 kB
Release files / commitcrafter-0.3.2.tar.gz
| Download URL | commitcrafter-0.3.2.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8ecf4b2da063e00307f706c7132ce933da89dceda60ab214589edd7d7ebab52
|
|
BLAKE2b-256 checksum How to use checksums |
53c8e9c79f4157a70b2d91ef4c61c463039245460ee65e635145a964d7e7fba0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.12.6 Darwin/24.0.0
|
Release files / commitcrafter-0.3.2-py3-none-any.whl
| Download URL | commitcrafter-0.3.2-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d28a99049fa5d730cdc75de75eb251ca9c4f64f8c88c20574c13759a0e2a7b8c
|
|
BLAKE2b-256 checksum How to use checksums |
81b757bd692dc79f2775c926599e85d73f120e30fe9480c176182b5ce22b380f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.12.6 Darwin/24.0.0
|
Security for commitcrafter 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.