frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

We Got Hooked on Fast, Free Shipping. Now Retailers Are Taking It Away

https://www.wsj.com/business/retail/fast-free-shipping-retailers-fedex-ups-amazon-e6ba5967
1•thm•58s ago•0 comments

Comprehensive Vim Motions in Visual Studio

https://developercommunity.visualstudio.com/t/Comprehensive-Vim-Motions/11051331
1•deronparker•2m ago•0 comments

EnterpriseBench: CoreCraft – Measuring AI Agents in Chaotic RL Environments

https://surgehq.ai/blog/enterprisebench-corecraft
1•Olshansky•2m ago•0 comments

Vercel deployments were created without Middleware

https://www.vercel-status.com/incidents/963t8qqbk77b
1•hubraumhugo•2m ago•1 comments

New Research Reassesses the Value of Agents.md Files for AI Coding

https://www.infoq.com/news/2026/03/agents-context-file-value-review/
1•realaleris149•3m ago•0 comments

xAI loses bid to halt California AI data disclosure law

https://www.reuters.com/legal/government/xai-loses-bid-halt-california-ai-data-disclosure-law-202...
2•consumer451•7m ago•0 comments

Citizen Science: Map the Earth's Magnetic Shield with the Space Umbrella Project

https://phys.org/news/2026-02-citizen-science-earth-magnetic-shield.html
1•PaulHoule•8m ago•0 comments

Show HN: Pouch – a session-first GNU Screen manager with a focused terminal UI

https://github.com/zpdldhkdl/pouch
1•zpdldhkdl•12m ago•0 comments

Show HN: glide – LLM cascade proxy, auto-switches models before timeout

https://github.com/phanisaimunipalli/glide
1•phanisaimuni116•12m ago•1 comments

Your AI Slop Bores Me

https://www.youraislopbores.me/
2•maurycyz•13m ago•0 comments

Sarvam 105B, the first competitive Indian open source LLM

https://www.sarvam.ai/blogs/sarvam-30b-105b
1•logicchains•15m ago•0 comments

Not Prompts, Blueprints

https://tomtunguz.com/filling-the-queue-for-ai/
2•vinhnx•25m ago•0 comments

The Joy of Building Slow

https://notbor.ing/words/the-joy-of-building-slow
1•vinhnx•25m ago•0 comments

German police probe student poster slur against Merz

https://dpa-international.com/politics/urn:newsml:dpa.com:20090101:260306-99-743434/
28•roflcopter69•27m ago•18 comments

Free Images and Open Access

https://www.nga.gov/artworks/free-images-and-open-access
1•vinhnx•28m ago•0 comments

RVA23 Ends Speculation's Monopoly in RISC-V CPUs

https://semiwiki.com/ip/risc-v/367094-rva23-ends-speculations-monopoly-in-risc-v-cpus/
1•enz•28m ago•0 comments

I juggle embedded projects (2021)

https://jaycarlson.net/2021/09/18/juggle-embedded-projects-home-office-workspace-tour/
1•lawik•32m ago•0 comments

Empty Should Be Empty

https://donraab.medium.com/empty-should-be-empty-c09e21edc205
2•ingve•32m ago•0 comments

Way to Use AI for Coding

3•deep1283•35m ago•0 comments

AI Agents Are Recruiting Humans to Observe the Offline World

https://www.noemamag.com/ai-agents-are-recruiting-humans-to-observe-the-offline-world/
2•bryanrasmussen•40m ago•2 comments

Show HN: ImmutableBase – Strict immutable data objects for PHP

https://github.com/ReallifeKip/ImmutableBase
1•bill402099•45m ago•0 comments

Show HN: Clickly – visual dev tool for mobile apps with real-time preview

https://clickly.app
2•roskoalexey•48m ago•0 comments

The Window Chrome of Our Discontent

https://pxlnv.com/blog/window-chrome-of-our-discontent/
1•tosh•1h ago•0 comments

"I built a spell checker for back end configuration mistakes."

https://www.npmjs.com/package/safelaunch
1•karthicedricq•1h ago•1 comments

ClaudeSmalltalk: An MCP implementation to interact with Smalltalk images

https://github.com/CorporateSmalltalkConsultingLtd/ClaudeSmalltalk
4•mpweiher•1h ago•0 comments

Show HN: Mb-CLI – CLI for Metabase. Designed for humans and AI coding agents

https://github.com/andreagrandi/mb-cli
2•andreagrandi•1h ago•0 comments

Show HN: Viral.ad – Turn any product URL into a UGC video ad in minutes

https://www.viral.ad/
2•cjdesignstudio•1h ago•1 comments

Show HN: I built a tool to manage work and personal Git repos

https://github.com/tomquirk/gitpersona
6•tomquirk•1h ago•1 comments

Show HN: Stopping OpenClaw from breaking your mails

https://github.com/HalfEmptyDrum/openclaw-gmail-draft-proxy
4•HalfEmptyDrum•1h ago•0 comments

Girl Scout Cookies

https://www.girlscouts.org/en/cookies.html
3•Tomte•1h ago•1 comments
Open in hackernews

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

https://github.com/lionhylra/cc-usage-bar
1•root-cause•1h 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

root-cause•1h ago
Author here. I vibe-coded this entire app with Claude Code, which is also how I ran into the problem in the first place. When I'm deep in a coding session, I typically have 2-3 Claude Code instances running across different terminal windows — one working on a feature, another writing tests, maybe a third refactoring something. As you get into flow, you start burning through your usage quota fast, and the only way to check how much is left is to type `/usage` inside a session. That means either interrupting an agent that's mid-task (and losing its train of thought), or opening yet another terminal to start a fresh session just to see a number. I kept getting surprised by hitting the limit at the worst possible moment. So I built this to scratch my own itch — one click in the menu bar, see the usage, get back to work.