Open source

git-mood

Color your GitHub contribution graph with the mood of your commits

StableRustMIT

About

git-mood is a command line tool that analyzes your commit messages and diff stats locally. It installs a commit-msg hook, records a mood for each commit and generates an SVG contribution graph you can embed in your GitHub Profile README. The mood comes from simple keyword rules. No network requests are made during a commit.

Features

  • git-mood init installs a commit-msg hook and backs up an existing one
  • Five moods from message keywords, weekends and the share of deleted lines
  • git-mood status shows the last 7 days and the mood breakdown
  • git-mood sync writes a dark themed SVG graph, commits it and pushes
  • Data is stored only in the local ~/.git-mood.json file

Requirements

A recent stable Rust toolchain to build from source (verified with 1.96); git

Install

cargo install --git https://github.com/Ankara-Software/git-mood

Usage

git-mood init
git-mood status
git-mood sync
GitHub repository
https://github.com/Ankara-Software/git-mood
Report an issue
https://github.com/Ankara-Software/git-mood/issues
Security policy
SECURITY.md
License file
LICENSE (MIT)
Last update

Want to contribute?

Bug reports and pull requests are handled on GitHub.