A native Linux Mint Cinnamon applet that shows Codex usage in the panel and opens a clean stats popup on click.
- Live Codex account and rate-limit data from
codex app-server - Local activity data from
~/.codex/sessions - Current model token pricing from OpenAI's docs export, with bundled fallback rates
- Native Cinnamon panel applet
- Clickable popup with:
- 5h usage window
- weekly usage window
- plan and account
- credits
- sessions today / 7 days
- month-to-date spend estimate and latest token snapshot
- Refresh button
- Short panel label with remaining usage
Quick install from GitHub:
curl -fsSL https://raw.githubusercontent.com/jkramer5103/mint-codex-bar/main/quick-install.sh | bashThis bootstrapper:
- clones or updates the repo in
/opt/mint-codex-bar - uses
sudoautomatically if/optis not writable - runs
install.shafter the checkout is ready
Local install from an existing checkout:
cd ~/Desktop/Programming_Stuff/mintCodexBar
./install.shThe installer:
- symlinks the applet into
~/.local/share/cinnamon/applets - adds it to the Cinnamon panel if it is not already enabled
- asks Cinnamon to reload the applet
applet/files/mintcodexbar@jaron/applet.js: Cinnamon applet UIapplet/files/mintcodexbar@jaron/fetch-stats.mjs: live/local Codex stats collectorapplet/files/mintcodexbar@jaron/stylesheet.css: popup stylingquick-install.sh: one-shot GitHub bootstrap installerinstall.sh: local installer for Cinnamon
node applet/files/mintcodexbar@jaron/fetch-stats.mjs