Expand description
Feature modules โ one per concern, mirroring the front-end crates.
Collectors (one per supported tool): pi, zed, claude, codex,
copilot, gemini, opencode, amp. Aggregation: report. Shared data
types: usage.
Modulesยง
- amp
- Amp collector (
~/.local/share/amp/threads/T-*.json). - claude
- Claude Code collector (
~/.claude/projects/**/*.jsonl). - codex
- OpenAI Codex CLI collector (
~/.codex/sessions/**/*.jsonl). - copilot
- GitHub Copilot CLI collector (
~/.copilot/session-state). - currency
- Display currencies. Costs are logged in US dollars; a
Currencyonly changes how they are shown, using fixed approximate rates the user can override insettings.json(TokenBurn makes no network calls, so it cannot look rates up). - gemini
- Google Gemini CLI collector (
~/.gemini/tmp/*/chats). - opencode
- OpenCode collector (
~/.local/share/opencode/opencode.db+ legacy JSON). - pi
- pi session-log collector.
- report
- Query + aggregation: turn raw
Rows into report tables. - settings
- User settings shared by every front-end (
~/.config/tokenburn/settings.json). - theme
- Colour themes shared by every front-end.
- usage
- zed
- Zed agent-thread collector (sqlite + zstd JSON blobs).