{"repo":"dennykim123/claude-codex-battery","free":true,"listed":false,"github":"https://github.com/dennykim123/claude-codex-battery","clone":"git clone https://github.com/dennykim123/claude-codex-battery.git","description":"macOS menu bar widget showing Claude Code & Codex usage limits as battery icons 🔋","language":"Swift","stars":104,"topics":["anthropic","bun","claude-code","codex","developer-tools","macos","menubar","swiftbar","usage-tracker","menu-bar-widget"],"license":"MIT","category":"dev-tools","readme_excerpt":"🔋 Claude & Codex Usage Battery A menu-bar and system-tray widget that shows your remaining Claude Code and Codex usage limits as battery icons — so you never have to open /usage again. C = Claude · X = Codex. Each battery shows the remaining % of a limit window — full & green means plenty left, red means almost out. Click for a detailed breakdown with reset times. Ships two ways: a notarized native app (double-click install, zero prerequisites) and a single SwiftBar plugin — one self-contained script, no third-party libraries . The battery icons are rendered as PNGs from scratch in pure JavaScript ( node:zlib only), so there's no image library and no npm install . Network calls: two official usage endpoints — Anthropic's and OpenAI's — each fetched with your own local Claude Code / Codex login (the same data /usage and Codex's /status show — see Privacy), plus an optional once-a-day update check (see Updating). ( ccusage is an optional extra for the cost breakdown.) --- What it shows Group Batteries Source ------- ----------- -------- C Claude 5-hour session · weekly · Fable (top-model weekly cap) Anthropic's OAuth usage API — queried live with your local Claude Code login; account-level , so usage from every device/surface is included X Codex 5-hour · weekly (or credit balance on the premium plan) Codex's account-level usage API ( backend-api/wham/usage ), queried live with your local Codex login — same data Codex CLI's /status shows; falls back to /.codex/sessions/ / .json","default_branch":null,"files":null,"tree":[],"storefront":"/r/dennykim123","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dennykim123/claude-codex-battery/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}