joho/godotenv
A Go port of Ruby's dotenv library (Loads environment variables from .env files) observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 96
- Release rhythm 60
- Longevity 100
Flags: prerelease_only
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 45
- age_days: 4782
- days_rel: 101
- days_push: 29
- n_releases_24m: 4
Adoption not part of the score
10601 stars · 462 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Go port of Ruby's dotenv library that loads environment variables from .env files into the process environment. It can be used as a Go library or as a standalone CLI command.
Use cases
- load environment variables from a .env file in a Go app
- manage local development configuration for a twelve-factor app
- parse .env files into a map in Go
- run a Go binary with env vars from a file
- autoload .env configuration on import
When to choose
- you write Go apps and want dotenv-style .env loading
- you need a simple, battle-tested env file parser with wide adoption
- you want both a library and a CLI for loading env files
When to avoid
- you need advanced config management with validation or schema support
- your platform is not Go
- you need secrets encryption or a full secrets manager
Facets
library · maturity stable
configuration-management developer-tools cli developer-tools backend go cross-platform cli dotenv environment-variables env-files twelve-factor golang devops
5 sources
- readme: https://github.com/joho/godotenv · fetched 2026-08-28 · b715e2b8422f
- homepage: http://godoc.org/github.com/joho/godotenv · fetched 2026-08-29 · cbb22eb2b7b6
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://pkg.go.dev/github.com/joho/godotenv · fetched 2026-08-29 · fd9e19470dd6
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| joho/godotenv | main | 84 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem