Remix.run Logo
dewey a day ago

Alternatively there's also this with 1.7k stars already and supporting more services (Despite the name): https://github.com/steipete/CodexBar (https://codexbar.app)

RichHickson a day ago | parent | next [-]

Good shout. CodexBar covers a lot more ground. This one is intentionally minimal and Claude focused because that is all I personally needed.

realharo a day ago | parent | prev | next [-]

Or just vibe code your own. Seems fitting.

a day ago | parent [-]
[deleted]
iLemming 11 hours ago | parent | prev | next [-]

btw, I have failed to make the proper use of either of them - claudecodeusage keeps saying that I'm not signed in (I have Claude Desktop and CLI installed and signed in on both). CodexBar keeps saying "Claude usage probe timed out", even though it does show some numbers. I don't have a subscription, I just use the API.

ttoinou a day ago | parent | prev | next [-]

Is it safe ? It needs to reads Keychain. Like the OP app

RichHickson a day ago | parent [-]

The app only reads ONE specific keychain entry:

  Service: "Claude Code-credentials"

  This is the entry created by the official Claude Code CLI when you log in. The app:

  1. Only reads - never writes, modifies, or deletes any keychain data
  2. Only accesses this one service name - cannot read any other passwords, keys, or credentials
  3. Extracts only the OAuth access token - used to call api.anthropic.com/api/oauth/usage
  4. Sends data only to Anthropic's API - no analytics, no third-party servers

  The token never leaves your machine except to Anthropic's own API endpoint. You can verify this yourself - the entire source is ~400 lines of Swift: https://github.com/richhickson/claudecodeusage

  macOS will also prompt you the first time the app tries to access this keychain entry, giving you control to allow or deny.
touristtam a day ago | parent | prev [-]

[flagged]

prawn a day ago | parent [-]

"I'm on Intel and would be interested in this if you find a way to make that work."

DrammBA a day ago | parent [-]

Funny thing I went down a rabbit hole, cause I first scanned the open PRs and saw a PR to enable universal builds to support intel macs but the whole thing was pure AI slop and someone commented that codexbar already supports intel, and sure enough v.15 added it (the AI slop PR completely missed that), I then looked into the cask script and it has a hardcoded dependency on arm which prevents brew from installing v.17 even if it's already an universal binary since v.15.

touristtam 18 hours ago | parent [-]

I came to the same conclusion before making that snarky and apparently offensive comment. Live to learn I guess.

DrammBA 9 hours ago | parent [-]

You mean "after" making the comment? Your offensive comment makes no sense if you already had the universal build context