Show HN: better-env – A Secure, Developer-Friendly Alternative to .env

Show HN (score: 6)
Found: November 23, 2025
ID: 2481

Description

Other
Show HN: better-env – A Secure, Developer-Friendly Alternative to .env I’ve always hated how archaic .env files feel. Plaintext, easy to leak, and once they hit git history… you’re cooked. After accidentally committing secrets a few too many times, I finally asked myself: why don't we encrypt secrets just like passwords?

So I built better-env: a local, encrypted way to manage secrets without exposing plaintext all over your machine. One place for secrets, nothing sensitive in git, your secrets get directly loaded at runtime, project-wise.

It’s early, local-first, and still rough around the edges, but it already removed a whole category of stress from my workflow. I’d love feedback on whether this feels useful beyond solo devs, and what you’d want for team/CI setups.

It's open source too! (https://github.com/HarishChandran3304/better-env)

More from Show

Show HN: DSS, a lightweight TUI spreadsheet editor and dashboard in Go

Show HN: DSS, a lightweight TUI spreadsheet editor and dashboard in Go Hi there, I tried to build a CLI tool to edit and visualize Excel&#x2F;CSV files directly in the terminal, I called it &quot;dss&quot;.<p>I did it for fun to tweak spreadsheet formulas without leaving my terminal or opening heavy GUI apps.<p>It is an interactive editor of sheets with charts and formula engine diretly in TUI. The formula engine is handmaded but I&#x27;d like to improve it.<p>I copied a lot from my previous Datacmd project and from Termdash repo. Hoping to receive some feedback.

No other tools from this source yet.