Genmoji is a tool and website that uses the ChatGPT API to generate commit messages from code snippets or git diff
. With Genmoji, developers can easily create informative and concise commit messages, using the gitmoji standard, without spending time and effort writing them themselves.
You will need an OpenAI API key exported as the environment variable OPENAI_API_KEY
. You can get one by signing up at OpenAI.
# Install in the current directory
curl -sSL https://raw.githubusercontent.com/segersniels/genmoji/master/scripts/install.sh | bash
# Install in /usr/local/bin
curl -sSL https://raw.githubusercontent.com/segersniels/genmoji/master/scripts/install.sh | sudo bash -s /usr/local/bin
- Download the latest binary from the releases page for your system
- Rename the binary to
genmoji
- Copy the binary to a location in your
$PATH