Automate your commit messages effortlessly with llm-auto-commit. This project utilizes the LLM API to generate commit messages, streamlining the development workflow. Enhance productivity and maintain clarity in your version control history. Easy integration, minimal setup.
⚡️ Minimal setup
⚡️ LLM API integration
Example of use:
./llm-auto-commit "documentation lolf my chat popup ok"
git commit -m "docs(chat): update chat popup documentation"
Instructions to set up and run a copy of the project on a local machine for development and testing purposes. Detailed notes on deployment can be found below.
You need to have curl, json-c, gcc installed on your computer.
curl@latest_version
json-c@latest_version
gcc@latest_version
To install dependencies on Ubuntu:
sudo apt-get update && sudo apt-get install -y curl libjson-c-dev gcc
To install dependencies on Arch:
sudo pacman -Syu --noconfirm && sudo pacman -S --noconfirm curl json-c gcc
In case you are using Windows, well, I can only advice you to reconsider your lifestyle. I use Arch btw.
Clone the repository and navigate to it in the terminal:
# Clone the repository
$ git clone https://github.com/tiboitel/llm-auto-commit/
# Move into the repository
$ cd llm-auto-commit
Build the project:
# Build llm-auto-commit
$ make
Run llm-auto-commit:
# Usage
$ ./llm-auto-commit [MESSAGE]
# Transforms MESSAGE into a formatted commit message.
This project is licensed under the MIT License - see the LICENSE file for details.
tiboitel - GitHub Profile