Vibe Coding Wrapped
A Spotify-Wrapped-style image of your AI coding usage — for Claude Code and Codex.
Total tokens, spend, cache hit rate, top projects, model split, activity heatmaps, and your
"coding persona" — rendered from your local logs, nothing uploaded. The default is one combined
card; --claude / --codex render a standalone card for either.
The default: one combined card (illustrative data).
Standalone cards via --claude / --codex (each also has a --dark theme).
This repository is a Turborepo + Bun monorepo with two apps: the published CLI and a marketing/documentation website that shows it off.
Try the CLI
npx claude-wrapped-cli # both agents → one combined card, then opens it
npx claude-wrapped-cli --claude # Claude Code only (standalone)
npx claude-wrapped-cli --codex # Codex only (standalone)
npx claude-wrapped-cli --dark # near-black dark theme
Full CLI documentation — every flag and how it works — lives in
apps/cli/README.md (this is what npm renders).
Monorepo layout
claude-wrapped/
├── apps/
│ ├── cli/ # the published `claude-wrapped-cli` npm CLI (Bun · tsup · Satori → resvg)
│ └── web/ # the marketing/docs site (Next.js 16 · Tailwind v4 · static)
├── turbo.json # build / dev / typecheck / lint pipeline
└── package.json # workspaces + turbo pass-through scripts
The CLI is the source of truth for the design: the website's palette and fonts mirror
apps/cli/src/render/theme.ts (its LIGHT/DARK token sets),
so the page re-themes light↔dark exactly like the rendered card.
Quick start
bun install # installs every workspace from the repo root
bun run dev # turbo: runs the CLI watcher + the website (localhost:3000)
bun run build # turbo: builds apps/cli/dist + apps/web/.next
bun run typecheck # turbo: typechecks both apps
bun run lint # turbo: lints the web app
Work on one app at a time:
bun --filter claude-wrapped-cli dev # CLI only (tsup --watch)
bun --filter web dev # website only (next dev)
Deploying the site
The site is a static Next.js app, ready for Vercel:
- Import the repo into Vercel.
- Set Root Directory to
apps/web(Vercel auto-detects Next.js + Bun from there). - Deploy. No environment variables are required — the site is fully static.
The live deployment is https://claude-wrapped-zeta.vercel.app. To self-host under a
different URL, set NEXT_PUBLIC_SITE_URL (it feeds the metadata/OG defaults in
apps/web/app/layout.tsx).
Acknowledgements
Inspired by ccusage — the project that got me poking
at Claude Code usage in the first place. Both read the same LiteLLM pricing source.
License
MIT. Claude logo © Anthropic; OpenAI logo © OpenAI; bundled fonts under the SIL Open Font License.
