spf13/viper
Some data may be outdated — see provenance labels.
Go configuration with fangs observed · 2026-09-29
Health v2 · maintenance only
54/100
- Activity 54
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 88.0
- age_days: 4584
- days_rel: 407
- days_push: 281
- n_releases_24m: 3
Adoption not part of the score
30475 stars · 2281 forks observed · 2026-09-29
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-09-29 · 5493a9108adb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spf13/viper | main | 54 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem