Awesome Commit - An AI Git Commit Helper
Setup
Clone the project and run the following commands to install the dependencies:
pip install uv
uv venv --python python3.12
uv pip install -r requirements.txt
Copy the .env.template file to .env and add your Gemini API key.
To obtain a Gemini API key, go to Google AI Studio and click the "Get API Key" button.
If you plan to use this for corporate work, you may need to use a corporate Google account to access the Google AI Studio. If you do not want Google to use your code or prompts to improve their AI models, you may want to switch to a corporate or paid plan.
Usage
To run the git commit CLI helper, run the following command:
source .venv/bin/activate # Activate the virtual environment
PYTHONPATH=src python -m awesome_commit # Run the git commit CLI helper
Integrate with Git
To integrate the git commit CLI helper with git, add the following line to
your .gitconfig file:
[alias]
# Enable commit-ai
ai = "!PYTHONPATH=<path-to>/src <path-to>/git-cli/.venv/bin/python -m awesome_commit"
Update the <path-to> with the path to the project directory.
Now, you can run the git commit CLI helper using the following command:
git ai
Building from source
You can build the package from source with the following commands:
source .venv/bin/activate
uv pip install build
python -m build
Metadata
Release files for awesome-commit 0.1.0
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 |
|---|---|---|---|---|
| awesome_commit-0.1.0.tar.gz | 8.1 kB | Without provenance | Details for awesome_commit-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| awesome_commit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for awesome_commit-0.1.0-py3-none-any.whl |
Total release size: 17.1 kB
Release files / awesome_commit-0.1.0.tar.gz
| Download URL | awesome_commit-0.1.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97ceca849293519a45726fcfad678f172bec5f6d12df3a1269ec8ca6dd643570
|
|
BLAKE2b-256 checksum How to use checksums |
649c5003073d4d1bab5301c5ad5933cb02d6050c8ac165e8714d17db9719cbc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / awesome_commit-0.1.0-py3-none-any.whl
| Download URL | awesome_commit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6510bfc656fbfdb341c7556a92771c29326f02539d64f20736ffd1ce46f7890
|
|
BLAKE2b-256 checksum How to use checksums |
64d0ae73dc0463820fa1f77d1561e55977b0ed4794360d11ff761bddf73fada9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for awesome-commit 0.1.0
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.