README.md
Tiny macOS 14+ menu bar app that keeps AI coding-provider limits visible and shows when each window resets. CodexBar supports Codex, Claude, Cursor, Gemini, Copilot, z.ai, Kiro, Vertex AI, Augment, OpenRouter, Codebuff, and many newer coding providers. One status item per provider (or Merge Icons mode with a provider switcher); enable what you use from Settings. No Dock icon, minimal UI, dynamic bar icons in the menu bar.
Download: https://github.com/steipete/CodexBar/releases
brew install --cask steipete/tap/codexbar
Homebrew formula (Linux today):
brew install steipete/tap/codexbar
Or download release tarballs from GitHub Releases:
CodexBarCLI-v<tag>-macos-arm64.tar.gz, CodexBarCLI-v<tag>-macos-x86_64.tar.gzCodexBarCLI-v<tag>-linux-aarch64.tar.gz, CodexBarCLI-v<tag>-linux-x86_64.tar.gzkimi-auth cookie) for weekly quota + 5‑hour rate limit.~/.config/manicode/credentials.json) for credit balance + weekly rate limit.The menu bar icon is a tiny usage meter. Bar meaning is provider-specific, and errors/stale data can dim the icon or show an incident indicator.
codexbar) for scripts and CI (including codexbar cost --provider codex, claude, or both for local cost usage); macOS and Linux CLI builds available.Wondering if CodexBar scans your disk? It doesn’t crawl your filesystem; it reads a small set of known locations (browser cookies/local storage, provider config files, local JSONL logs) when the related features are enabled. Provider tokens and token-account settings live in ~/.codexbar/config.json with restrictive file permissions. See the discussion and audit notes in issue #12.
CodexBar.app under “Always allow access by these applications”.CodexBar.app under “Always allow access by these applications”.Requires macOS 14+ and Swift 6.2+.
./Scripts/package_app.sh # builds CodexBar.app in-place
CODEXBAR_SIGNING=adhoc ./Scripts/package_app.sh # ad-hoc signing (no Apple Developer account)
open CodexBar.app
Dev loop:
./Scripts/compile_and_run.sh
./Scripts/compile_and_run.sh --test # also run swift test before packaging/relaunching
pnpm check # SwiftFormat + SwiftLint
pnpm docs:list # list docs with frontmatter summaries
CLI install:
# after installing CodexBar.app in /Applications
./bin/install-codexbar-cli.sh
Inspired by ccusage (MIT), specifically the cost usage tracking.
MIT • Peter Steinberger (steipete)