talira

Compare

go-iniVipergodotenv
What it isRead and write INI files in GoConfiguration for Go applications from files, environment variables, flags and remote storesLoads environment variables from .env files in Go
KindOpen sourceOpen sourceOpen source
Trust0.560.410.42
Stars35383054110694
Last commit2026-11-192025-10-152026-05-25
LicenceApache-2.0MITMIT
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanyJoe ChenSteve FranciaJohn Barton
Features
  • load from files, byte slices and readers, with overrides
  • parent-child sections, shadow keys, multiline values and references
  • typed values: numbers, booleans, durations, times and lists
  • map structs to and from INI files with struct tags
  • v2: writes that keep comments and order, and line and column in errors
  • 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
  • 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