Latest / Developer tools

dotenv

github.com · Open source · Quiet

Language-agnostic dotenv loader for any command

Visit github.com ↗Share

  • dotenv
  • environment variables
  • dotenv loader
  • env file
  • load environment variables
  • dotenv cli
  • shell env file
Stars
323
Forks
3
Open issues
0
Last commit
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

dotenv is a small C utility that loads a .env file and runs a command with its variables, so the same file works regardless of programming language. The author built it as a Unix-style alternative to language-specific dotenv libraries.

Repository description on GitHub: “Standalone, language agnostic dotenv”

What it does

  • Loads variables from a .env file and runs any command with them
  • Can be used in a shebang line to load variables into a script
  • Reads the file path from DOTENV_PATH, defaulting to .env

Good for

  • Run any program with variables from a .env file
  • Load .env variables in a shell script through its shebang line

Suits: Developers who want one .env loader for all languages on Unix-like systems.

Worth knowing: Installing it needs a Unix-like system with a C compiler and make

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw dotenv on , when gyf304 posted it to Show HN. GitHub listed no published releases for gyf304/dotenv when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 225 points, 100 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 225 points, 100 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: gyf304/dotenv
  2. Found: gyf304 posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was dotenv released?
No dated release record is available. Kip found it on Show HN on 28 Apr 2024.
Is dotenv open source?
Its source is public on GitHub at gyf304/dotenv; check the repository for licence terms.
What does dotenv run on?
Command line.
Is dotenv free?
It is open source, so the code is free to read and run; check the licence for terms.
Is dotenv still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorygyf304/dotenv
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-40191510. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.