acmsg is a command-line tool that automates the generation of git commit messages using AI models via the OpenRouter API. It analyzes staged changes to create contextual messages following the Conventional Commits specification, allowing for optional edits before committing. This enhances productivity and helps maintain clarity in version control.
The acmsg repository offers a command-line interface (CLI) tool developed in Python, designed to enhance the process of generating git commit messages. Utilizing the powerful OpenRouter API, this tool leverages AI models to produce meaningful and context-aware commit messages, streamlining development workflows.
To use acmsg, an OpenRouter API Key is required. Once set up, the configuration file can be easily managed at ~/.config/acmsg/config.yaml, which includes an initial prompt to enter the API token. Additional settings can be adjusted using the command:
$ acmsg config set api_token <your_api_token>
acmsg provides intuitive commands for generating commit messages. Here is a brief overview of its commands:
usage: acmsg [-h] [--version] {commit,config} ...
Automated commit message generator
positional arguments:
{commit,config} Commands
commit generate a commit message
config manage configuration settings
options:
-h, --help show this help message and exit
--version display the program version and exit
Embrace the efficiency of AI in your version control process with acmsg, the automated commit message generator.
No comments yet.
Sign in to be the first to comment.