Suggestion: tokenreceipt (Usage & Observability)
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 18/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- content, documentation
调研方向
The change belongs in the README of this awesome list, under the 📊 Usage & Observability heading; follow the format of the entries already there. The entry text in the issue still contains a [N] star placeholder, and the author is promoting their own project, so the maintainer has to decide whether it is accepted before any edit. Done means an entry is added in the list's format, or the maintainer declines it.
由索引模型根据 Issue 内容生成。
描述
Suggesting tokenreceipt for the 📊 Usage & Observability section: https://github.com/henrikdukefoss/tokenreceipt
It reads Claude Code's local JSONL transcripts (~/.claude/projects, ~/.config/claude/projects, respects CLAUDE_CONFIG_DIR), counts each streamed message once by message id + request id, prices 1-hour cache writes separately, and prints a till-style receipt of tokens and API-list-price cost per model. The same run also covers Codex CLI, OpenCode, Gemini CLI, Cline, Roo, Kilo, Pi and Hermes, so Claude Code shows up next to whatever else you use. Output: terminal receipt, SVG/PNG card, or JSON. Local only, no dependencies, MIT.
npx github:henrikdukefoss/tokenreceipt --agent claude-code --since 30d
Disclosure: I'm the author; it's published by Standard Compute, the company I run (the receipt footer says so). The repo is new (released today), so totally fine if you'd rather wait until it has some users.
Suggested entry:
- tokenreceipt - ([N] ⭐) - Local CLI that prints a till-style receipt of Claude Code, Codex, OpenCode, Gemini CLI and other agents' token usage, priced at public API list prices, with SVG/PNG/JSON export.
- 主要语言
- 没有语言数据
- 星标
- 530
- 派生
- 651
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
jqueryscript/awesome-claude-code 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 1/5 1 小时以内 新手友好度 84/100
-
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 84/100
-
难度 1/5 1 小时以内 新手友好度 74/100
查看 jqueryscript/awesome-claude-code 的全部 Issue
相似的 Issue
-
priority middle
难度 1/5 1 小时以内 新手友好度 62/100
KATO-Hiro/AtCoderClans#12940 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 75/100
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 74/100
githubnext/gh-aw-workshop#5143 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
cline/mcp-marketplace#3395 ·
-
approved correction metadata
难度 1/5 1 小时以内 新手友好度 84/100
acl-org/acl-anthology#10688 · 1 条评论 ·
维护者通常 1 天内回复