Skip to content

Generate commit messages from code snippets or your diff

Notifications You must be signed in to change notification settings

segersniels/genmoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0a9e986 Β· Feb 25, 2025
Nov 18, 2024
Feb 25, 2025
May 8, 2024
Apr 13, 2024
Mar 29, 2024
Nov 18, 2024
Aug 4, 2024
Aug 5, 2024
May 15, 2024
Mar 29, 2024

Repository files navigation

genmoji

Genmoji is a tool that uses OpenAI's GPT or Anthropic's Claude 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

Bring your own API key. You will need either an OpenAI or Anthropic API key exported as the environment variables OPENAI_API_KEY or ANTHROPIC_API_KEY.

# 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

Update

When an update is available, you will see a message in your terminal notifying you that a new version is available. To update, run above install script again and you're good to go.

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