git-flex
v1.1.1
Published
Show off your coding stats in style. Beautiful terminal cards, shareable SVGs, and fun highlights from your git history.
Maintainers
Readme
git-flex
Show off your coding stats in style. Run flex in any git repo and get a beautiful terminal card with your stats, streaks, and personalized highlights.
Install
npm install -g git-flexOr try it without installing:
npx git-flexUsage
# Today's stats
flex
# This week / month / all time
flex week
flex month
flex all
# Compare with a teammate
flex vs @teammate
# Team leaderboard
flex team
# Commit streak
flex streak
# Language breakdown
flex langs
# Generate a shareable SVG card
flex card
flex card --light
flex card --dark -o my-card.svgWhat You Get
- Commits, lines added/removed, net lines, files touched
- Language breakdown with visual bars
- Peak coding hour — when you're most productive
- Commit streak — current and all-time best
- Fun rank based on your patterns: Night Owl, Bug Slayer, Commit Machine, Code Surgeon...
- Level system — Newcomer to Legendary based on commit volume
- Personalized highlights — auto-generated one-liners based on your actual data:
- "250 weekend commits... touch grass"
- "8 Friday afternoon deploys — lives dangerously"
- "Deleted more than you wrote — mass cleanup arc"
- "+82K net lines — entire features in one go"
- "If you leave, this repo is cooked"
SVG Card
Generate a card you can embed in your GitHub README or share anywhere:
flex card # dark theme (default)
flex card --light # light theme
flex card -o stats.svg # custom output fileThen add it to your README:
Requirements
- Node.js >= 18
- Git
License
MIT
