tool · team / git

gitstats.

honest contribution stats for any git repo.

ranks contributors by lines genuinely written, not auto-generated. ignores yarn.lock churn, formatter sweeps, vendor blobs. portable across hosts.

npm i -g @v0idd0/gitstats
github → npm mit · free forever
gitstats icon
what it does

stop pretending yarn.lock wrote 90% of the code.

four jobs. all in your terminal. no api call, no internet round-trip — just a plain tool that does what it says.

honest ranking

$ gitstats
alice +4,231 / -1,022
bob +1,840 / -612
(yarn.lock excluded)

time window

$ gitstats --since 2026-01
ranks since jan 1
matches what you’d expect
not what blame lies about

bus factor

$ gitstats --bus-factor
auth/ alice 97%
billing/ bob 88%
warning: alice is the only...

machine-readable

$ gitstats --json | jq
[
{"author":"alice","lines":4231},
...
]
install

three ways. all painless.

npm

$ npm i -g @v0idd0/gitstats

node 14+ on linux / macos / windows. updates with npm update -g.

github releases

$ curl -L github.com/voidd0/gitstats/releases/latest

single static binary. zero runtime needed. all releases →

git clone

$ git clone github.com/voidd0/gitstats

read the source, send a pr, fork it. mit licence, no cla. repo →

why we built it

every existing “contributor stats” tool counted yarn.lock commits as real work. so when one teammate did all the dependency upgrades, they looked like the most productive engineer. gitstats fixes that.

no telemetry. no signup. runs against any git repo (github / gitlab / gitea / self-hosted). mit forever — the source is public and the npm package is yours to fork.

star on github → all tools

power user?

use this daily? tools.voiddo Pro · $9 one-time

supports 66 free tools · Pro license via Paddle · one flat price, no subscription

gitstats vs git-quick-stats →