Skip to content

Generate commit messages from code snippets or your diff

Notifications You must be signed in to change notification settings

segersniels/genmoji

Repository files navigation

genmoji

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.

img

Install

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

Manual

  1. Download the latest binary from the releases page for your system
  2. Rename the binary to genmoji
  3. Copy the binary to a location in your $PATH