尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Your Claude Code year, Spotify-Wrapped style. One command makes a shareable stats card. 100% local, zero dependencies.
翻译准备中
正在加载完整 README。
查看完整 README ↗Your Claude Code year in review, Spotify-Wrapped style. One command turns your Claude Code history into a scroll-through story and a shareable card. It runs 100% on your machine.
npx claude-year-wrapped # reads ~/.claude/projects and opens your story
npx claude-year-wrapped --demo # preview with fake data
Requires Node 18 or newer. No install, no account, no API key.
If the page opens as code instead of a design, your computer opens .html files in a text editor. Open the file from the output path in Chrome, Edge or Safari instead.
A free, open-source command-line tool that summarizes your Claude Code usage for the year, like Spotify Wrapped does for music.
From the transcript files Claude Code already saves on your computer in ~/.claude/projects. It reads them locally.
No. It makes no network calls and has zero dependencies. The share card and caption contain only totals, with no prompt text and no project names.
Run npx claude-year-wrapped --year 2025.
No. It reads Claude Code transcripts only.
Prompt, session and token counts come straight from your transcripts. Words like "please" are matched by simple text rules, and "hours with Claude" is estimated from session start and end times.
| Flag | What it does |
|---|---|
--year 2025 | Summarize a different year |
--dir <path> | Use another transcripts folder |
--out file.html | Choose the output file |
--json | Print raw stats instead of HTML |
--no-open | Do not open the browser |
--demo | Use fake data |
npm test
npm run demo
Issues and ideas welcome. MIT licensed.
Bump version in package.json and push to main. GitHub Actions runs the tests, then publishes to npm automatically using npm trusted publishing. No tokens or 2FA codes needed.