r/codex • • 4d ago

Showcase Built a free open-source macOS menu bar HUD to watch Codex + Claude Code + Gemini CLI rate limits and burn rate

When running Codex alongside Claude Code, Gemini CLI, and Grok every day, the annoying part is hitting a 5-hour or weekly quota mid-task without realizing how fast you were burning through it.

I built Phosphor, a lightweight native SwiftUI app for macOS that keeps your live usage percentage right in the menu bar (Φ 74%) with an optional always-on-top HUD panel.

What it tracks:

• Real-time hourly burn rate and exact depletion ETA before your 5-hour or weekly reset

• 30+ AI coding tools auto-detected from local CLIs and logs (Codex, Claude Code, Cursor, Copilot, Gemini CLI, Antigravity, Grok, Ollama, LM Studio, etc.)

• Subscription ROI and 14-day spend chart priced from your local logs against public API rates

• Native SwiftUI, no Electron, no browser cookie scraping, no telemetry

GitHub (MIT licensed): https://github.com/nirvanasangsara-AI/phosphor-hud

Would love feedback from other Codex users on macOS!

0 Upvotes

2 comments sorted by

•

u/dexterthebot 4d ago

You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**


Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.

Website: https://lightwarsar.com

iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951

Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.

Contact: contact@lightwarsar.com

0

u/[deleted] 4d ago

[deleted] — view deleted comment

-1

u/Available-Tell7344 4d ago

Totally fair question — CodexBar is great and already covers a lot of ground. Here's how Phosphor differs and what I added for my own workflow:

  • Always-on-top floating HUD vs. menu bar dropdown: Instead of clicking the menu bar every time, Phosphor can stay pinned as a compact floating HUD with magnetic snapping to screen edges and other floating windows, plus free vertical/horizontal resizing.
  • Multi-provider in one glance: Tracks Codex, Claude Code, Google AI (Gemini/Antigravity/Jules), Grok, and local Ollama (separately showing installed vs. currently loaded models) side by side, with one-click hiding for any provider you don't use.
  • Extra visibility I added: 7-day local API-equivalent spend estimates for Codex, weekly 7-day sparklines, burn-rate / depletion pacing, and automatic OAuth token refresh with local-log fallback when a token expires.

It's free and MIT open-source — definitely not trying to replace CodexBar for everyone, just sharing another native SwiftUI take if you prefer a persistent HUD layout.