A CLI tool for generating editable commit messages with local AI models
Project description
A lightweight CLI tool that automatically generates meaningful commit messages using small, efficient AI models locally. AutoCommitt leverages Ollama's Llama 3.2:3B model to create concise, context-aware commit messages while keeping resource usage minimal.
✨ Features
- Local AI-Powered: Generates commit messages using a small 3B parameter Llama 3.2 model
- Flexible Editing: Review and edit generated messages before committing
- Privacy-First: All operations performed locally, ensuring data privacy
- Git Integration: Seamlessly works with your existing Git workflow
- Resource-Efficient: Minimal computational overhead with lightweight AI model
🚀 Quick Start
Prerequisites
- Python 3.8 or higher
- Git installed and configured
- Minimum 8GB RAM recommended
Installation
pip install autocommitt
Get the latest updated llama 3.2 (3 billion) model
ollama pull llama3.2:3b
Usage
-
Start the Ollama server:
autocommitt start
-
Generate and edit commit message:
autocommitt gen
This will generate a commit message based on your changes using the Llama 3.2:3B model. Edit it if needed.
-
Press Enter to commit your changes.
Note: When you're done generating commit messages, be sure to stop the Ollama server by running:
autocommitt stop
That's it! 🎉
🔜 Roadmap
- Git Hooks Integration: Compatible with pre-commit hooks
- Cross-Platform Support: Enhanced compatibility for Windows, macOS, and Linux
- Custom Templates: Support for user-defined commit message templates
- Interactive Mode: Enhanced CLI interface for improved user experience
- Multiple Language Model Support: Option to choose different local AI models
🐛 Support
- Found a bug? Open an issue
- Have questions? Start a discussion
- Want to contribute? Check out our Contributing Guidelines
📊 Project Status
- Basic commit message generation
- Local AI model integration (Llama 3.2:3B)
- Python package release
- Cross-platform testing
- Interactive mode
- Custom template support
- Multi-model support
📄 License
Licensed under the Apache License 2.0 - see the LICENSE file for details.
👩💻 For Developers
Interested in contributing to AutoCommitt? We'd love your help! Check out our Contributing Guidelines for:
- Setting up the development environment
- Building from source
- Pull request process
- Development roadmap
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file autocommitt-0.1.8.tar.gz
.
File metadata
- Download URL: autocommitt-0.1.8.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7561df2dd7f4e8829f0eb38bd9bbd7188fa186e6976e4699b18124fa34f06df8 |
|
MD5 | 25a956e6f2801b38d9851f8fe4d89fc4 |
|
BLAKE2b-256 | adc5f1376235191aa5417bac8d6918aad28803e1830b21c90b1f726cd7e9ed87 |
Provenance
The following attestation bundles were made for autocommitt-0.1.8.tar.gz
:
Publisher:
release.yaml
on Spartan-71/AutoCommitt
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
autocommitt-0.1.8.tar.gz
- Subject digest:
7561df2dd7f4e8829f0eb38bd9bbd7188fa186e6976e4699b18124fa34f06df8
- Sigstore transparency entry: 150840432
- Sigstore integration time:
- Predicate type:
File details
Details for the file autocommitt-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: autocommitt-0.1.8-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 622b5b7655309cbf4d67480e9ff6dbac813800c8940ff7d572d62749c17aaf36 |
|
MD5 | fd37ca83512ebe13500f2835b584254c |
|
BLAKE2b-256 | 882dba624711b37f5ea21d53c716120c53b3d31ff1d31f1bab968231b29d0e97 |
Provenance
The following attestation bundles were made for autocommitt-0.1.8-py3-none-any.whl
:
Publisher:
release.yaml
on Spartan-71/AutoCommitt
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
autocommitt-0.1.8-py3-none-any.whl
- Subject digest:
622b5b7655309cbf4d67480e9ff6dbac813800c8940ff7d572d62749c17aaf36
- Sigstore transparency entry: 150840435
- Sigstore integration time:
- Predicate type: