Dotenv, if it is a Unix utility
I like the idea of using dotenv files, but I dislike having to use different language-specific libraries to read them. To solve this, I created a small utility that lets you prefix any command with "dotenv" to load the ".env" file. This is how I imagine dotenv would work if it had started as a UNIX utility rather than a Node.js library.
Dotenv, if it is a Unix utility launched on April 28, 2024 with 225 votes, #207 of 4,347 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 2 years on.
In plain words
Dotenv is a Unix command-line utility that loads environment variables from a .env file before executing any command. Instead of relying on language-specific libraries, users prefix their commands with "dotenv" to automatically load configuration values. It provides a unified approach to managing environment variables across different programming languages and tools, following Unix philosophy principles.
written from the facts on this page · September 2026
From the sources
Standalone, language agnostic dotenv. Contribute to gyf304/dotenv development by creating an account on GitHub.
Does a similar job
all alternatives →
From dotenv to dotenvx – better config management2024 · dotenvx.com · ▲354A leap forward in configuration management for dotenv
Sendenv, a CLI tool to share environment variables2024 · github.com · ▲83My weekend project sendenv is a CLI tool that lets you share environment variables securely with someone else. It is built on top of magic-wormhole which allows for safe, account-free data transfer. When you send variables using sendenv, it creates a one-time code. You give this code to the person who needs the variables. They use the code in their shell to load the variables. This is handy for quickly setting up new team members or copying local environment variables to another system. Its currently in alpha obviously, but the core functionality works (I have tested sending vaults from a…
Dotenv-Diff v3.0.0Jul 2026 · github.com · ▲17Since last time i posted about dotenv-diff a few things has improved - “did you mean” type suggestions - comment warnings flag (every key in your .env.example must have a #comment above or next to the key) -now whenever you run dotenv-diff it will warn you about difference in you example file if its run against your .env file -catch secret keys that you definitely dont want in your example file -smaller bug fixes
Dotenv Mask Editor: No more embarrassing screen leaks of your .envJan 2026 · marketplace.visualstudio.com · ▲28Hi HN, I built this because I often work in coworking spaces or do screen sharing, and I've always had this fear of accidentally flashing my .env file with production secrets to the whole room (or recording). It’s a simple VS Code extension that opens .env files in a custom grid editor. It automatically masks any value longer than 6 characters so I can safely open the file to check keys without exposing the actual secrets. It runs 100% locally with zero dependencies (I know how sensitive these files are). It just reads the file, renders the grid, and saves it back as standard text. It's open…
A better dotenv – dotenvx2024 · github.com · ▲8I'm the creator of node.js' dotenv. I'm making a better dotenv called dotenvx. * run anywhere (cross-platform) * multi-environment * encrypted envs What do you think?
Envelope – A modern environment variable cli tool2024 · github.com · ▲103Hey HN! I've built this cli tool to manage env variables of a project, but mostly for fun and to try out Rust and the clap crate. I had this idea when I made a big mistake and broke some production stuff because I had a very messy .env file laying around in my project. I was implementing new features for one of my projects and in my .env file I had the test database url commented out and the production one was not. Long story short, I applied migrations to the production database instead of my local test one and broke a lot of production APIs :') I wanted a tool that could easily help me…
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 22h ago · permit.petercai.com
- IV
Life & fun · 13d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 14d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 8d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 12d ago · carrierexplode.com

Life & fun · 22d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, April 2024
the whole month →
Supabase▲2,325The Postgres developer platform is now generally available
Dev tools · 2024 · supabase.com
Cal.com Platform▲1,601Build your pixel-perfect booking experience with Atoms
Dev tools · 2024 · cal.com

deco.cx 2.0▲1,078Build web apps 10x faster with Deno, JSX, TS & Tailwind
Dev tools · 2024 · decocms.com

