talira

Compare

godotenvViper
What it isLoads environment variables from .env files in GoConfiguration for Go applications from files, environment variables, flags and remote stores
KindOpen sourceOpen source
Trust0.420.41
Stars1069430541
Last commit2026-05-252025-10-15
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyJohn BartonSteve Francia
Features
  • load .env files into the environment with godotenv.Load()
  • load several named files, or read them into a map
  • godotenv command to run a program with a .env file's variables
  • MIT licence
  • reads JSON, TOML, YAML, INI, envfile and Java properties config files
  • finds config files across multiple search paths
  • environment variable binding with prefixes
  • command-line flag binding, including Cobra and pflag
  • remote key/value stores such as etcd and Consul
  • defaults and explicit overrides with a fixed precedence order
  • watches config files and reloads them live
  • key aliases for refactoring
  • All 9 features