{"slug": "show-hn-ration-see-your-claude-usage-across-terminals-and-brag-usage", "title": "Show HN: Ration – see your Claude usage across terminals and brag usage", "summary": "Ration, a native macOS menu-bar app, tracks Claude Code usage across terminals, showing a usage ring, project and branch breakdowns, a 7-day trend, and a shareable recap card with an API-equivalent cost estimate. The app is 100% local, reading Claude Code's session logs from disk with no accounts or network calls, and is available via Homebrew or a direct .dmg download for macOS 13+.", "body_md": "A tiny native macOS menu-bar app that shows how hard you're leaning on Claude Code — without leaving your desktop or running a terminal command.\n\n```\nbrew install solodynamo/ration/ration\n```\n\nOr [download the .dmg](https://github.com/solodynamo/Ration/releases/latest/download/Ration.dmg)\ndirectly — drag Ration into Applications, then **right-click → Open** the\nfirst time (it's ad-hoc signed, not notarized, so Gatekeeper needs that\none-time override; Homebrew does this for you automatically).\n\n- A ring in the menu bar tracks usage against a budget, auto-calibrated from your own history — or turn budgeting off entirely\n- Breaks usage down by project, and by branch if you work across worktrees\n- A 7-day trend, plus a shareable recap card (streak, busiest day, an API-equivalent $ estimate)\n**100% local.** Reads Claude Code's own session logs off disk. No accounts, no network calls, nothing leaves your machine.\n\n```\nswift build && swift test\n```\n\nRequires macOS 13+ and Xcode 16 / Swift 6.\n\n``` php\n./Scripts/build_app.sh   # -> dist/Ration.app\n./Scripts/make_dmg.sh    # -> dist/Ration.dmg\n```\n\nAdding a provider beyond Claude Code means writing one type conforming to\n`UsageProvider`\n\n(see `Sources/Ration/Providers/`\n\n) — aggregation, the ring,\nand the rest of the UI are already provider-agnostic. PRs welcome.", "url": "https://wpnews.pro/news/show-hn-ration-see-your-claude-usage-across-terminals-and-brag-usage", "canonical_source": "https://github.com/solodynamo/Ration", "published_at": "2026-08-30 22:17:29+00:00", "updated_at": "2026-08-30 22:51:48.363892+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools"], "entities": ["Ration", "Claude Code", "Homebrew", "solodynamo"], "alternates": {"html": "https://wpnews.pro/news/show-hn-ration-see-your-claude-usage-across-terminals-and-brag-usage", "markdown": "https://wpnews.pro/news/show-hn-ration-see-your-claude-usage-across-terminals-and-brag-usage.md", "text": "https://wpnews.pro/news/show-hn-ration-see-your-claude-usage-across-terminals-and-brag-usage.txt", "jsonld": "https://wpnews.pro/news/show-hn-ration-see-your-claude-usage-across-terminals-and-brag-usage.jsonld"}}