frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: REP – build-once, run anywhere. Secure runtime config for web apps

https://rep-protocol.dev/
1•olamide226•1h ago
Hey HN,

Every frontend framework bakes environment variables into the JavaScript bundle at build time (process.env, import.meta.env). This means your Docker image is environment-specific — you build one for staging, another for prod, and the image you tested is never the one you deploy.

I built REP (Runtime Environment Protocol) to fix this. It's a lightweight Go gateway (~6MB binary, zero deps) that sits in front of your static file server and injects env vars into HTML responses at container startup.

What makes it different from the dozens of window.__ENV__ hacks:

- Three-tier security classification: REP_PUBLIC_* (plaintext), REP_SENSITIVE_* (AES-256-GCM encrypted, decrypted via short-lived session key), REP_SERVER_* (never reaches the browser)

- Automatic secret detection — scans PUBLIC vars for high-entropy strings, AWS keys, JWTs, etc. and refuses to start in strict mode

- HMAC integrity verification on every payload

- Optional hot config reload via SSE

- Works with any SPA (React, Vue, Svelte, Angular, vanilla) — no build tool plugins

- FROM scratch compatible — the binary is all you need

The SDK is ~1.5KB gzipped and gives you synchronous access (rep.get('API_URL')) for public vars and async decryption (await rep.getSecure('KEY')) for sensitive ones.

Full RFC-style spec, security threat model, and reference implementation: https://rep-protocol.dev

I'd especially love feedback on the security model — I've tried to be honest about what the SENSITIVE tier actually protects against vs what it doesn't. The threat model doc doesn't pretend browser-side encryption is bulletproof.

Built this because I got tired of watching every team I've worked with reinvent the same env.sh → window.__ENV__ hack with zero security thought behind it.

Biggest day of Claude app downloads in history: 500K downloads

https://twitter.com/SashaKaletsky/status/2027987508500316571
1•helsinkiandrew•52s ago•0 comments

Show HN: Aigent – A general-purpose AI agent built for self-improvement

https://stefanochiodino.github.io/aigent/
1•StefanoC•57s ago•0 comments

Clawed

https://twitter.com/deanwball/status/2028464782622195992
1•pr337h4m•2m ago•0 comments

Light-based Ising computer runs at room temperature and stays stable for hours

https://phys.org/news/2026-02-based-ising-room-temperature-stays.html
1•PaulHoule•2m ago•0 comments

Cal AI acquired by MyFitnessPal

https://twitter.com/zach_yadegari/status/2028473704359874652
2•melvinzammit•2m ago•0 comments

Show HN: Markdown Browser – See the Web the Way AI Sees It

https://markdownbrowser.com/main
1•janwilmake•3m ago•0 comments

AI vs. The Pentagon

https://jasmi.news/p/ai-pentagon
1•speckx•3m ago•0 comments

Welcome to Wyoming, the Frontier of America's New Gilded Age

https://www.nytimes.com/2026/03/02/us/billionaire-boom-jackson-teton-wyoming.html
1•mitchbob•3m ago•1 comments

Show HN: Rust Based SEO and AEO Crawler

https://crawler.sh/
1•mehmetkose•4m ago•0 comments

Judge finalizes order for Greenpeace to pay $345M in ND oil pipeline case

https://northdakotamonitor.com/2026/02/27/judge-finalizes-order-for-greenpeace-to-pay-345-million...
1•gmays•4m ago•0 comments

Show HN: Sairo – Self-hosted S3 browser with 2.4ms search across 134K objects

3•ashwathstephen•5m ago•0 comments

Flexible Schemas Are the Mindkiller (2024)

https://ludic.mataroa.blog/blog/flexible-schemas-are-the-mindkiller/
1•wise_blood•6m ago•0 comments

You can use newline characters in URLs

https://lemire.me/blog/2026/02/28/you-can-use-newline-characters-in-urls/
2•birdculture•6m ago•0 comments

Manage your business with Zoye through WhatsApp

https://www.zoye.io/
1•anizeu•7m ago•0 comments

X Is Drowning in Disinformation Following US and Israeli Attack on Iran

https://www.wired.com/story/x-is-drowning-in-disinformation-following-us-and-israels-attack-on-iran/
2•ironyman•7m ago•0 comments

Show HN: Two tools to make Claude Code more autonomous

2•yuu1ch13•9m ago•1 comments

The Facebook app didn't become cluttered because nobody cared

https://k2xl.substack.com/p/the-facebook-app-didnt-become-cluttered
3•k2xl•10m ago•0 comments

WhatsApp op X: 'Promoted Channels and ads in Status are available globally now'

https://twitter.com/WhatsApp/status/2027165225611624953
3•janandonly•11m ago•0 comments

Anthropic Cowork feature creates 10GB VM bundle on macOS without warning

https://github.com/anthropics/claude-code/issues/22543
2•mystcb•12m ago•0 comments

Hot take: solo founders with AI are about to build stuff faster than small teams

https://old.reddit.com/r/ClaudeCode/comments/1ri5pnc/hot_take_solo_founders_with_ai_are_about_to_...
1•edward•12m ago•0 comments

Plastic is made from milk and it vanishes in 13 weeks

https://www.sciencedaily.com/releases/2026/02/260227071922.htm
1•JeanKage•12m ago•0 comments

The Vitamin Myth: Why We Think We Need Supplements

https://www.theatlantic.com/health/archive/2013/07/the-vitamin-myth-why-we-think-we-need-suppleme...
1•rzk•14m ago•0 comments

Why light-weight websites may one day save your life

https://marijkeluttekes.dev/blog/articles/2026/01/21/why-light-weight-websites-may-one-day-save-y...
1•speckx•15m ago•0 comments

Show HN: PLAI.chat – Multi-model AI chat that doesn't store your conversations

https://plai.chat/
1•coderai•15m ago•0 comments

Show HN: Rebuilt an old-school browser strategy game inspired by Inselkampf

https://inselnova.com
1•darrenmoorebkk•15m ago•0 comments

Ask HN: Statistical learning and non-Statistical learning for humans

2•markus_zhang•16m ago•0 comments

Recreating your favorite technologies from scratch

https://github.com/codecrafters-io/build-your-own-x
1•bilsbie•16m ago•0 comments

Competitive Intelligence Agent Implementation with HubSpot, OpenAI and SerpApi

https://github.com/serpapi/competitive-intelligence-agent
1•jamescollinssp•16m ago•0 comments

Toward Guarantees for Clinical Reasoning in Vision Language Models

https://arxiv.org/abs/2602.24111
1•tinarchitect•17m ago•0 comments

Tacit Knowledge

https://en.wikipedia.org/wiki/Tacit_knowledge
1•lucidplot•18m ago•0 comments