Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Suggestion: tokenreceipt (Usage & Observability)

Đang mở
#771 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
18/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
content, documentation

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
530
Fork
651
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của jqueryscript/awesome-claude-code

Tất cả issue của jqueryscript/awesome-claude-code

Issue tương tự

Thêm issue về Content

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.