Analyze git commit messages to determine the mood of your project
- JavaScript 100%
|
|
||
|---|---|---|
| .gitea/workflows | ||
| src | ||
| tests | ||
| .gitignore | ||
| cli.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
🎭 Git-Mood
Analyze git commit messages to determine the mood of your project. Is your repo excited, chill, or angry?
Install
npm install -g .
Usage
git-mood # Analyze current repo
git-mood analyze -n 50 # Analyze last 50 commits
git-mood contributors # Per-contributor mood
git-mood contributors ./path/to/repo
How It Works
Uses an embedded AFINN-based sentiment dictionary tuned for commit messages. No API, no GPU — pure local analysis.
Mood Scale
| Score | Mood | Emoji |
|---|---|---|
| 6+ | Excited | 🤩 |
| 2-5 | Happy | 😊 |
| -1 to 1 | Chill | 😌 |
| -2 to -5 | Frustrated | 😤 |
| -6+ | Angry | 🤬 |
Tests
npm test
Built by Ti-Paul 🇯🇲🐧 for the Clankeurs