steipete/CodexBar

▲ 136 stars today★ 22,985⑂ 2,196

Show usage stats for OpenAI Codex and Claude Code, without having to login.

About steipete/CodexBar

steipete/CodexBar is an open-source project on GitHub, mainly written in Swift. Show usage stats for OpenAI Codex and Claude Code, without having to login. It currently holds 22,985 stars and 2,196 forks with 112 open issues, and was last pushed on 2026-10-31 (repository created 2025-11-16).

Project Overview

AI Homed tracks it on the Today's Trending board.

GitHub Repository Details

Repository steipete/CodexBar · default branch main · size 323061 KB · watchers 56 · source: GitHub REST API and repository README

README

CodexBar 🎚️ — May your tokens never run out.

Every AI coding limit, in your menu bar.

Latest release macOS 14+ Linux desktop Homebrew AUR License: MIT Site

https://github.com/steipete/CodexBar/blob/HEAD/CodexBar — every AI coding limit in your menu bar. 111 providers.

Tiny macOS 14+ menu bar app that keeps AI coding-provider limits visible and shows when each window resets. See the supported providers below. One status item per provider, or Merge Icons mode with a provider switcher. No Dock icon, minimal UI, dynamic bar icons.

Also available as a Linux desktop app with usage and spending windows, separate settings, desktop notifications, and an optional tray icon. On Omarchy, a native bar widget shares the desktop app’s data and follows your theme.

https://github.com/steipete/CodexBar/blob/HEAD/CodexBar menu popover with provider tiles, usage bars, and reset countdowns

Why

Install

macOS app

Requires macOS 14+ (Sonoma). Download from GitHub Releases, or install with Homebrew:

brew install --cask codexbar

Linux desktop and Omarchy

The Qt 6 desktop app supports Wayland and X11, with an optional Omarchy widget. Published desktop archives target x86_64 and ARM64 and require glibc 2.39+, Qt 6.4+, and a separately installed CodexBar CLI. Python 3 runs the per-user installer.

Follow the Linux installation guide for Arch/Omarchy, Fedora, and Debian/Ubuntu runtime packages, verified release downloads, and upgrades. It keeps the CLI's resource bundle beside its executable and installs a launcher and optional login startup. Open Settings to choose providers, then authenticate through the provider's CLI or configure its API key. GNOME may need a tray extension; the app's windows work without a tray.

See the macOS feature comparison for supported features and remaining gaps.

CLI Tarballs (macOS/Linux)

Homebrew formula (Linux today):
brew install steipete/tap/codexbar
Arch Linux AUR package:
yay -S codexbar-cli
Or download release tarballs from GitHub Releases:

macOS first run

Set API keys from the CLI

Provider toggles and API keys live in the resolved CodexBar config file. New installs use ~/.config/codexbar/config.json; existing ~/.codexbar/config.json installs still load from the legacy path. You can script the same provider list that Settings → Providers uses:
codexbar config providers
codexbar config enable --provider grok
codexbar config disable --provider cursor

For API-key providers, store a key without opening Settings:

printf '%s' "$ELEVENLABS_API_KEY" | codexbar config set-api-key --provider elevenlabs --stdin

set-api-key trims the piped value, stores it with restrictive config-file permissions, and enables the provider by default. Use --no-enable to only save the key, or --api-key for one-off local scripts where shell history is not a concern. See CLI configuration for the full flow.

Providers

Icon & Screenshot

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.

Features

invalid preferences resolve to 5 minutes. Manual and fixed 1m, 2m, 5m, 15m, and 30m alternatives remain available.

Privacy note

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. Plain Adaptive refresh never inspects local agent activity. The separate Adaptive (agent-aware) option asks before inspecting the running-process list (including command lines) to identify Codex/Claude and reading bounded known-session metadata. Declining returns to plain Adaptive. When allowed with Agent Sessions hidden, CodexBar retains only the latest activity time and discards session paths and identities. Provider tokens and token-account settings live in the CodexBar config file with restrictive file permissions. See the discussion and audit notes in issue #12.

macOS permissions (why they’re needed)

Chromium cookie import needs the browser’s Safe Storage item, and an explicitly enabled Claude OAuth repair may read Claude Code’s own Keychain item. Background CodexBar paths fail or skip instead of requesting authorization; a user-initiated import or repair can still show the macOS prompt. Settings → Advanced → Disable Keychain access blocks CodexBar-owned Keychain operations and browser decryption, but cannot constrain provider-owned CLIs that CodexBar launches. Manual cookie headers, API keys, and file-backed sources remain alternatives where supported. See Keychain prompts for Allow Once vs. Always Allow, recurring grants, and safe troubleshooting.

Docs

Getting started (dev)

GitHub Stars & Activity

22,985Stars
2,196Forks
112Open issues
SwiftLanguage

GitHub Popularity

GitHub stars22,985
Forks2,196
Open issues112
Primary languageSwift
LicenseMIT
Stars gained today136
Created2025-11-16
Last pushed2026-10-31

Trending History

Weekly boardrank #78 · ▲ 136 stars

Related AI Projects

1

altic-dev / FluidVoice

Swift★ 12,800⑂ 946▲ 60 stars
→
2

Beingpax / VoiceInk

Swift★ 7,023⑂ 994▲ 16 stars
→
3

wquguru / cicada

Swift★ 1,082⑂ 216
→
4

morluto / rea

TypeScript★ 430,313⑂ 0
→
5

mattpocock / skills

Shell★ 312,996⑂ 26,267▲ 1,376 stars
→
6

obra / superpowers

Shell★ 312,358⑂ 27,784▲ 683 stars
→
7

affaan-m / ECC

JavaScript★ 297,130⑂ 43,922▲ 809 stars
→
8

deepseek-ai / deepseek-harness

TypeScript★ 272,390⑂ 0
→

More AI Rankings