npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nozich/git-mood

v0.1.4

Published

Color your GitHub contribution graph with the mood of your git commits

Readme

🎨 git-mood

Color your GitHub contribution graph with the mood of your git commits.

git-mood is a blazingly fast, zero-dependency local CLI tool written in Rust. It hooks into your git workflow, analyzes the sentiment of your commit messages and diff stats in real time, and logs your daily coding "mood".

Using a local database, it generates a beautiful, custom-colored contribution graph SVG (shining with Turquoise, Red, Yellow, Purple, and Green) that you can embed directly in your GitHub Profile README.


🎭 The Mood Map

| Color | Mood | Trigger Rule | | :--- | :--- | :--- | | 🔵 Turquoise | Productive & Happy | Commits with positive keywords (feat, add, awesome, super, love, success) | | 🔴 Red | Bug-Fixing / Stressed | Commits containing bugs, fails, crashes, errors, or swear words | | 🟡 Yellow | Cleanups & Refactoring | Commits with refactor keywords OR where deletions represent $\ge 70%$ of the total diff | | 🟣 Purple | Weekend Warrior | Commits made on Saturday or Sunday | | 🟢 Green | Steady Progress | Default / Neutral commits (chores, fixes, docs) |


🚀 Key Features

  • Blazingly Fast: Compiled binary in Rust. Starts and finishes in less than 2 milliseconds.
  • Privacy First: Fully local. No external AI APIs, no trackers, no network requests during commit.
  • Smart Diff Parsing: Dynamically calculates refactoring mood when you delete more code than you write.
  • Sleek Dark Mode SVG: Generates a premium, responsive widget that matches GitHub's dark theme perfectly.

📦 Installation

Download the precompiled binary for your system from the Latest Releases:

Move the downloaded binary to a folder in your system $PATH (e.g. /usr/local/bin or %USERPROFILE%\AppData\Local\Microsoft\WindowsApps) and rename it to git-mood.


🛠️ Usage

1. Initialize hook in your project

Navigate to any git repository and initialize the commit-msg hook:

git-mood init

2. Write code & commit

Work on your code as usual. When you commit, git-mood automatically analyzes the message and prints live feedback:

git commit -m "feat: add beautiful dashboard ui"

# Output:
# [git-mood] Sentiment Analyzed: Positive (Turquoise) 🚀
#            Diff: +142 / -12 lines

3. Check your mood dashboard

See a weekly breakdown and stats directly in your terminal:

git-mood status

4. Sync to your GitHub Profile

To show your custom mood contribution graph on your GitHub Profile:

  1. Clone your special GitHub Profile Repository (the repo with the same name as your username, e.g., github.com/username/username).
  2. Run git-mood sync inside that repository:
    git-mood sync
    This will generate a git-mood.svg file, automatically commit it, and push it to your remote repo!
  3. Add the following line to your Profile README.md:
    ![git-mood](https://raw.githubusercontent.com/<your-username>/<your-username>/main/git-mood.svg)

🛡️ License

MIT License. See LICENSE for details.