WHAT IT DOES
The variable names you were about to look up.
Choose the services a project uses and get a .env with the conventional variable names for each, defaulted to a local stack so the file runs unedited. Values that can only come from a provider are left empty with a comment saying where to find them. The same selection produces the same file, with one deliberate exception: filling the secret variables draws fresh random bytes, because a secret two people could both generate is not a secret.
Why use it?
Use it to assemble a starting configuration for a chosen stack when no existing .env file exists. It is different from sanitizing a real environment file for publication.
How to use this tool
- Select only the services your application uses and generate the template.
- Read provider-specific comments, replace placeholders, and check that your application actually reads the proposed variable names.
- Leave secret generation off for a reusable example; if you explicitly fill secrets, treat the result as a private .env. Localhost defaults still need the corresponding services to be running.
Details and limitations
- Twelve service fragments across data stores, authentication, and third-party services, each carrying the names those libraries actually read.
- Defaults point at localhost with conventional ports, so a file for PostgreSQL and Redis works against a local stack without being edited.
- JWT_SECRET and SESSION_SECRET are left empty unless you ask for them to be filled, and then they are 32 bytes from the browser's cryptographic random source, hex encoded.
- Comments carry the details that are easy to get wrong: 587 for STARTTLS against 465 for implicit TLS, path-style addressing for MinIO, the whsec_ prefix printed by stripe listen.
- The file opens by saying what it is: a file holding real values, to be kept out of version control with a .env.example committed beside it.
- A guard test reads every generated line back through the .env parser, so the file this writes is always one a dotenv loader can read.