spf13/viper
Go configuration with fangs observed · 2026-08-28
Health v2 · maintenance only
60/100
- Activity 62
- Release rhythm 35
- Longevity 100
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: 88.0
- age_days: 4536
- days_rel: 359
- days_push: 233
- n_releases_24m: 3
Adoption not part of the score
30447 stars · 2284 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Viper is a comprehensive configuration library for Go applications that reads from files, environment variables, command-line flags, and remote key-value stores like Etcd and Consul. It supports defaults, key aliasing, and live watching of configuration changes, serving as a central registry for all app configuration needs.
Use cases
- manage configuration for a go application
- read config from yaml json and toml files
- load settings from environment variables
- watch config files for live changes
- merge configuration from multiple sources
- read remote config from consul or etcd
- build 12-factor apps in go
When to choose
- you need a unified configuration solution across files, env vars, flags, and remote stores in Go
- you want live config reloading without restarting your app
- you need support for many config file formats out of the box
When to avoid
- you need only simple single-file config parsing and want a minimal dependency
- you are not writing Go
- you need strongly typed config validation beyond what Viper offers
Facets
library · maturity stable
configuration-management developer-tools developer-tools backend apis go cross-platform config-files environment-variables 12-factor-apps live-reload yaml json toml consul etcd
1 source
- readme: https://github.com/spf13/viper · fetched 2026-08-28 · 5493a9108adb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spf13/viper | main | 60 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem