Discover and explore top open-source AI tools and projects—updated daily.
cellwebbLLM-powered Git commit message generator
Top 94.4% on SourcePulse
This project provides an intelligent, LLM-powered tool to automate the generation of Git commit messages. It aims to replace manual commit message writing with contextually aware, well-formatted messages that explain the "why" behind code changes, benefiting developers seeking to improve commit history quality and consistency.
How It Works
The core approach leverages Large Language Models (LLMs) to analyze code differences. It goes beyond simple diff summaries by understanding code structure, logic, and patterns to infer the intent behind changes. This semantic awareness allows it to categorize changes (refactoring, bug fixes, features) and intelligently filter out noise like generated files or dependencies, leading to more meaningful commit messages. The tool supports grouping related changes into logical commits.
Quick Start & Requirements
uv or uvx: uv tool install gac or uvx gac.gac init to interactively set up LLM providers, models, and languages. Environment variables (e.g., OPENAI_API_KEY, GAC_MODEL) can also configure settings.docs/en/USAGE.md.Highlighted Details
--group.-o), standard summary with bullet points, and verbose (-v) formats detailing motivation, approach, and impact.gac -ayp to stage, commit, and push), and respects Git hooks like pre-commit.Maintenance & Community
The project welcomes contributions and provides guidelines for development. Issue reporting is facilitated through GitHub issues. The project is actively maintained, indicated by CI/CD badges and regular updates on PyPI.
Licensing & Compatibility
The project is released under the MIT License, which permits broad commercial use and integration into closed-source projects.
Limitations & Caveats
The tool's effectiveness is dependent on the chosen LLM provider and its ability to accurately interpret code changes. Usage of external LLM APIs may incur costs. While secret detection is included, it relies on user interaction for confirmation. The "intelligent filtering" might occasionally misclassify files or miss subtle changes.
1 week ago
Inactive
di-sukharev
Nutlope