Hacker News

Subscribe to Hacker News feed
Hacker News RSS
Updated: 46 min 50 sec ago

Show HN: Colored Title Bar – unique colors per VS Code workspace

Sat, 02/28/2026 - 2:11am

Hey HN, I built a small VS Code extension that gives every workspace a distinct title bar color so you can tell windows apart at a glance.

If you work across multiple projects throughout the day, all your VS Code windows look identical. I kept cmd-tabbing into the wrong one, so I made this.

How it works: - When you open a folder, it deterministically hashes the workspace path into an HSL color, so each project always gets the same color. - Saturation and lightness are tuned per theme (Dark/Light/High Contrast). - Foreground text picks white or black based on WCAG 2.0 contrast ratio. - You can also randomize or pick from 14 hue presets via the command palette. - Only touches the five titleBar.* keys — nothing else is modified. - It's ~300 lines of TypeScript, MIT licensed, no dependencies beyond the VS Code API.

Marketplace: https://marketplace.visualstudio.com/items?itemName=wstuckey...

Source: https://github.com/wstuckey/colored-title-bar

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

Points: 2

# Comments: 0

Categories: Hacker News

Show HN: Bridge your Claude/OpenAI subs into a team API with per-key cost caps

Sat, 02/28/2026 - 2:11am

Hey HN, I built this because I wanted to give my team access to Claude and GPT models for internal testing, but the official APIs have no per-key spending controls. You can't cap a key at $5/day or 100 requests/month — it's all or nothing. With non-technical team members in the mix (designers, PMs, QA), one forgotten loop or oversized prompt away from an ugly bill wasn't a risk I wanted to manage manually. Idea was to allow the members to test with these restricted API keys before using official keys.

So I built a bridge: it wraps the Claude Code CLI and Codex CLI behind an Express API, backed by existing Max/Pro subscriptions instead of per-token billing. Each team member gets their own API key with hard limits — requests/day, tokens/month, cost caps. Hit the limit and the key stops working. No surprises. An admin dashboard shows who's using what in real time.

Key features: - Two providers: /generate (Claude) and /generate-codex (Codex) - Per-user API keys with SHA-256 hashing (shown once, never stored raw) - Per-key hard limits with real-time tracking and enforcement - Admin dashboard for key management, usage monitoring, and request logs - Deploy on a $5 VPS behind Cloudflare Tunnel

What it's NOT: A production API replacement. It's for internal tooling and prototyping. CLI invocations add ~3-8s latency vs direct API calls.

Important: Wrapping CLI subscriptions behind a shared API may violate the Terms of Service of the underlying providers. Anthropic's Consumer ToS (updated Feb 2026) prohibits using subscription OAuth tokens in third-party tools, and OpenAI's ToS prohibits account sharing. Review the applicable terms before using this. See the Disclaimer section in the README for details.

Security was a focus: execFile (no shell injection), timing-safe auth, CSP/HSTS, input validation, rate limiting. Details in SECURITY.md.

Stack: Node.js, TypeScript, Express. No database — JSON files on disk.

GitHub: https://github.com/Shreyas-Dayal/ai-cli-bridge

Would love feedback on the approach and any security concerns I might have missed.

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

Points: 1

# Comments: 1

Categories: Hacker News

P5.lcd

Sat, 02/28/2026 - 2:03am

Article URL: https://p5.lcd.tulv.in/

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

Points: 1

# Comments: 0

Categories: Hacker News

The March of Nines

Sat, 02/28/2026 - 1:59am
Categories: Hacker News

Show HN: TapPause – A dead-simple timer for intentional breaks

Sat, 02/28/2026 - 1:58am

I’ve been struggling with "digital twitchiness"—that reflexive habit of opening a new tab or checking a phone the second a task ends. I realized I had lost the ability to just sit with my thoughts for even 5 minutes.

Most "mindfulness" or "focus" apps felt too heavy. They have streaks, gamification, ads, or complex onboarding. They felt like more "noise" to manage.

So I built TapPause. It’s a 5–30 minute timer designed to be a "circuit breaker."

Key constraints I set for myself:

No Tracking: I don't want to know how many times I paused. No data to optimize.

Zero Friction: No accounts, no "plans," just a tap to start.

Intentionality: It’s not a Pomodoro timer. It’s a tool to help you transition between tasks or just reclaim your headspace.

It’s a small, opinionated tool built for my own needs. I’d love to hear how others here manage their "digital downtime" and if you think we’ve over-engineered the simple act of taking a break.

App Store: https://apps.apple.com/hk/app/tappause-pause-timer/id6758304... (Feedback is very much appreciated.)

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

Points: 1

# Comments: 1

Categories: Hacker News

I built a startup game because I wanted one to play

Sat, 02/28/2026 - 1:57am

Article URL: https://capturn.io

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

Points: 3

# Comments: 1

Categories: Hacker News

Show HN: I built GeoQuests where people can request photos of a place

Sat, 02/28/2026 - 1:37am

Hi HN. I had faced an issue where I wanted to know how a place I was travelling to looked like. Like everyone else I looked at google maps and snap chat too. But Google streetview images were usually old and snapchat snaps lacked control. So I built GeoQuests for anyone who wants to know what’s going on on Earth.

You drop a quest at a real location. People see it on the map, go there, and complete it by taking a photo when they’re close enough. The app checks the image's GPS coordinatee, time of the image and if the image fits the request's description. I am using Gemini to verify the image.

Basically you, pin a place -> others discover it on the map -> they go there and complete the quest with a verified photo.

You can browse the map, see public quests and create quests. Wanted some feedback on the project.

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

Points: 1

# Comments: 0

Categories: Hacker News

Huk vs. naniwa starcraft 2 [video]

Sat, 02/28/2026 - 1:36am
Categories: Hacker News

Ask HN: AI driven "legacy" Debug and Monitoring Tools

Sat, 02/28/2026 - 1:31am

When do we start incorporating AI into more “legacy” debugging and system monitoring tools. I’m thinking an AI version of ProcDump maybe called like ContextDump. It’s pulls all relevant system information, maybe even leveraging a bundle of “legacy” tools to create a context report. The context report can be attached to a bug report and agent flow on other side can pick it up and immediately become productive. Idea stems from bug reports that never have enough information on them to get anything started. Might not be needed for enterprise products or products with proper telemetry but the internal tools companies use day in and day out.

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

Points: 1

# Comments: 0

Categories: Hacker News

Pages