Updated:

tokenfire

keemtj

RustCreated

9 stars

Rust CLI tool that counts local Claude Code and Codex token usage and publishes animated pixel-art GitHub profile badges.

View keemtj/tokenfire on GitHub

What is keemtj/tokenfire?

tokenfire is a Rust CLI tool that reads local Claude Code and Codex usage logs and publishes animated pixel-art SVG badges to GitHub gists. A mascot progresses through 11 levels as all-time input, output, and cache token totals rise, with four themes in light, dark, and time-of-day dynamic variants.

Badges are hosted in the user's own public and secret gists with no external servers or fees, and prompts, code, and file paths stay on the local machine. A built-in scheduler configures launchd on macOS, systemd or cron on Linux, or Task Scheduler on Windows to sync badges four times daily.

It supports macOS 11+, Linux, WSL, and 64-bit Windows, installing via Homebrew, Scoop, an install script, or Cargo, and relies on the GitHub CLI with gist scope for authentication. Combining usage across multiple computers into one badge is not yet supported.

badgeclaude-codeclicodexgithub-profilepixel-artreadmerust

Before you startThe README says

Runs on
macOS 11+, Linux (x86-64/arm64, including WSL), and Windows 10/11 (x86-64)
Needs
GitHub CLI (gh) and local Claude Code or Codex usage logs
Accounts or paid services
GitHub account logged in via gh auth login with gist scope
How you get it
Install via Homebrew, Scoop, curl install script, Cargo, or build from source
Asks for
GitHub gist scope permission; registers launchd, systemd/cron, or Windows Task Scheduler job for auto-sync
Not yet
Merging token usage from multiple computers into one badge is not yet supported

Facts from GitHub (updated Dec 6, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.