Releases: LeeSinLiang/CommitLM
Releases · LeeSinLiang/CommitLM
1.0.9
CommitLM 1.0.9 - Initial PyPI Release
This is the first official release of CommitLM on PyPI! CommitLM is an AI-powered tool that automatically generates comprehensive documentation and conventional commit messages for your Git repositories using multiple LLM providers.
PyPI: https://pypi.org/project/commitlm/1.0.5/
Repository: https://github.com/LeeSinLiang/commitLM
Issues: https://github.com/LeeSinLiang/commitLM/issues
🚀 Key Features
Dual-Task AI System:
- 📝 Automatic Commit Messages - Generate conventional commit messages via
prepare-commit-msghook - 📚 Automatic Documentation - Create comprehensive docs after every commit via
post-commithook - 🎯 Task-Specific Models - Use different models for commit messages vs documentation
Multi-Provider Support:
- ☁️ Cloud APIs: Google Gemini, Anthropic Claude, OpenAI GPT
- 🏠 Local Models: HuggingFace models (Qwen2.5-Coder, Phi-3, TinyLlama) - no API keys required
- 🔄 Fallback Options: Configure automatic fallback to local models if API fails
Performance & Optimization:
- ⚡ GPU/CPU auto-detection (NVIDIA CUDA, Apple Silicon MPS, CPU)
- 💾 Memory optimization with 8-bit quantization
- 🎯 Extended context support with YaRN (up to 131K tokens for Qwen models)
📦 Installation
pip install commitlm🏁 Quick Start
# Interactive setup
commitlm init
# Install git hooks
commitlm install-hook
# Make changes and commit
git add .
git c # Assuming you chose installing git alias in commitlm init📋 System Requirements
- Python 3.9+
- 4GB RAM minimum (8GB+ recommended)
- Git repository
📝 License
CommitLM is licensed under the Apache License 2.0. See LICENSE for details.