Track your ChatGPT & Claude usage locally, then print a beautiful shareable "Wrapped" card.
ChatGPTとClaudeの利用量をブラウザ内で計測し、リソグラフ風の利用量カードを生成するChrome拡張。送信ゼロ。 No account. No servers. Nothing leaves your browser.
A monochrome, risograph-editorial Chrome extension (Manifest V3). It counts your messages on
claude.ai and chatgpt.com, estimates tokens & cost client-side, shows a tiny live overlay, and
one-click generates a print-style usage card you can download or copy.
Estimates, not billing. Token & cost figures are client-side approximations (browsers expose no billing API). They are labeled as estimates everywhere.
chrome://extensions→ toggle Developer mode (top right).- Load unpacked → select the
extension/folder. - Open
claude.aiorchatgpt.com, chat as usual. A small ✺ pill shows today's count. - Click the toolbar icon → see stats → PRINT WRAPPED CARD → Download / Copy.
Everything lives in chrome.storage.local under one key (inkdex:days), as per-day buckets:
{ "YYYY-MM-DD": { claude:{msgs,in,out}, chatgpt:{msgs,in,out} } }. There is no network code in
this extension (verified: zero fetch/XHR/sendBeacon).
storage— save your counts locally.clipboardWrite— "Copy image" of the card (Download works without it).- host access to
claude.ai,chatgpt.com,chat.openai.comonly — to read message text for counting.
extension/
manifest.json
popup.html / popup.css / popup.js ← stats + card generator
src/estimate.js ← token/cost estimation (heuristic)
src/storage.js ← local day-bucket storage
src/track.js ← content script: count + overlay pill
src/card.js ← canvas Wrapped-card renderer
fonts/ (Space Grotesk, JetBrains Mono — OFL)
icons/ (16/48/128)
_docs/ ← requirements, distribution plan, design proofs
Claude's assistant-message DOM uses regenerated class names; assistant counting on claude.ai is
best-effort (specific selectors, then a selector-independent fallback) and may need a tweak when
their DOM shifts. ChatGPT uses the stable data-message-author-role attribute and is solid. User
counting on Claude uses the send action, so it degrades gracefully.
Code: MIT. Fonts: SIL Open Font License (Space Grotesk, JetBrains Mono).
19, Tokyo. I build small, honest dev tools in the open and file Japan-localization fixes into real OSS — and I publish what died, too.
Everything in one place → the hub · Live proof — merged PRs + App Store, pulled from the GitHub API →
⭐ Follow on GitHub — every new tool ships as a public repo first, so a follow is a launch notification (no email, no algorithm).
