Docs
StarDocumentation
One command measures three things. None of your code leaves the machine.
Install
Or npm i -g whocodedmore
The three bars
- water
Derived from tokens at 0.01 ml per token, with cache reads counted at 0.1×. It is an estimate of datacentre cooling water, not a meter reading. The rate is stated so you can check the maths.
- tokens + money
Read from local agent logs and, for Cursor, the same dashboard usage API the Cursor app uses (via your on-device session token, never uploaded). Claude Code, Codex, Gemini, Copilot, OpenCode, OpenClaw, Cline, Roo, and more. When an agent records its own cost we use that; otherwise we price at published list rates (list-price).
- lines
Code lines only. Comments and blank lines are dropped.
Why the numbers are hard to fake
- · A folder is only counted when it contains a
.gitdirectory, so pointing the CLI at your whole disk does nothing. - · Dependencies, build output, lockfiles, minified and generated files are skipped, and any single file above 400 KB is ignored.
- · Codex writes running totals per session, so we take the maximum per session instead of adding every event. Claude entries are deduped by message and request id.
- · The server rejects a sync when language totals disagree with the headline number, when the per-agent split does not add up to the token total, or when your line count suddenly explodes.
Commands
- npx whocodedmore@latestscan and sync
- whocodedmore --dry-runscan, upload nothing
- whocodedmore --dir ~/codechoose paths
- whocodedmore --skip-ailines only
- whocodedmore login / logout / whoami
What leaves your machine
Totals per language, token counts, an estimated cost, litres of water, and how many files were counted or skipped. Never code, prompts, paths or file names. See the privacy policy.