Feed aggregator

Codex for Open Source

Hacker News - 3 hours 45 min ago
Categories: Hacker News

Show HN: CC Usage Bar – Check Claude Code usage from your macOS menu bar

Hacker News - 3 hours 52 min ago

I built a small macOS menu bar app that lets you check your Claude Code subscription usage with a single click, without touching your terminal.

## The problem

If you use Claude Code heavily, you probably run multiple sessions across multiple terminal windows. When you want to check how much of your usage limit you've burned through, your only option is to type `/usage` inside a Claude Code session. That means either:

1. *Interrupting a running agent* mid-task to type a command, or 2. *Opening a new terminal and starting a new session* just to check a number

Both are disruptive. You lose flow, and the agent loses context.

## Why not just call the usage API?

A lot of community tools solve this by grabbing the OAuth token that Claude Code stores in the macOS Keychain and calling Anthropic's usage API directly. This works, but it has a real UX and security cost: *macOS will prompt you every time a third-party app tries to read that Keychain item.* You get a system dialog asking whether to allow access, sometimes repeatedly. It's not a smooth experience, and handing your OAuth token to another process is a legitimate security concern.

## How CC Usage Bar works differently

CC Usage Bar takes a simpler, zero-trust approach. It doesn't touch your Keychain, doesn't make any network calls itself, and doesn't parse or store any credentials. Instead, when you click the menu bar icon, it:

1. Spawns a real Claude Code session in a pseudo-terminal (PTY) 2. Sends the `/usage` command 3. Captures and renders the output with full ANSI color fidelity 4. Terminates the session immediately

It literally runs `claude` the same way you would, just in a hidden terminal. The data comes straight from Claude Code itself, so it's always accurate and reflects the latest state. No reverse engineering, no API scraping, no hacks.

## What it looks like

A single icon in your menu bar. Left-click to open a popover showing your current usage. Click outside to dismiss. That's it.

- Native Swift/SwiftUI app, runs as a lightweight menu bar agent (no Dock icon) - macOS 14 Sonoma or later - Requires Claude Code already installed and on your PATH

## Links

- GitHub: https://github.com/yilei-he/cc-usage-bar (MIT licensed) - Download pre-built .app from the Releases page, or build from source with Xcode

Happy to hear feedback or ideas. If you've been annoyed by the same workflow interruption, give it a try.

Comments URL: https://news.ycombinator.com/item?id=47284990

Points: 1

# Comments: 1

Categories: Hacker News

Show HN: Contrabass – Go and Charm Stack Implementation of OpenAI's Symphony

Hacker News - 4 hours 7 min ago

OpenAI released Symphony — a project-level orchestrator that watches your Linear board, spawns isolated coding agents per task, and lands PRs automatically. Engineers manage work at a higher level instead of supervising agents one by one.

They shipped an Elixir reference implementation and explicitly said "implement it in any language you want." So I built the Go version — with multi-agent team coordination on top, so multiple agents can collaborate across different parts of a codebase in parallel. Currently supports openai/codex and opencode as agent runtimes.

GitHub: https://github.com/junhoyeo/contrabass

Comments URL: https://news.ycombinator.com/item?id=47284926

Points: 1

# Comments: 1

Categories: Hacker News

Show HN: RedwoodSDK (v1.0 in a Few Days)

Hacker News - 4 hours 18 min ago

Hey everyone,

I'm the original co-creator of RedwoodJS. (The framework that myself and Tom Preston-Werner, Rob Cameron and David Price built during Covid.)

I had tried to build a developer tool startup (Snaplet), and failed. I rejoined the efforts to add RSC to Redwood, but I realized that we needed a much simpler framework that was closely tied to a platform (We chose Cloudflare).

We started building RedwoodSDK a year ago and this is the result. An insanely simple stack. I am incredibly proud of this work, please star our repo and let me know if there's anything that doesn't resonate with you.

Comments URL: https://news.ycombinator.com/item?id=47284875

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: SlideHTML – render HTML files as slides

Hacker News - 4 hours 19 min ago

Hi HN,

I built SlideHTML as a small experiment after noticing that LLMs are surprisingly good at writing HTML layouts.

Instead of building another slide editor, I tried the opposite approach: let AI generate slides directly as HTML.

SlideHTML is a small Electron app that simply watches a folder and renders each HTML file as a slide.

My workflow is basically:

1. Open a folder 2. Ask Claude Code or Gemini CLI to generate slides 3. SlideHTML renders them live 4. Hit present

No editor, no proprietary format — just HTML.

The whole thing was built in about 3 hours as an experiment.

Curious what HN thinks about HTML as a slide format in the AI era.

Comments URL: https://news.ycombinator.com/item?id=47284873

Points: 1

# Comments: 0

Categories: Hacker News

Doomscroll 14,333 cat pictures

Hacker News - 4 hours 41 min ago

Article URL: https://cat.aadishv.dev/

Comments URL: https://news.ycombinator.com/item?id=47284763

Points: 1

# Comments: 1

Categories: Hacker News

Pages