spf13

    spf13/viper

    Go configuration with fangs

    backend
    Go
    MIT
    30.5K stars
    2.2K forks
    30.5K GitHub watchers
    Updated Nov 2, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 420 days ago, with 170 contributors on GitHub.

    Use Cases & Benefits

    • Provides a comprehensive configuration management solution for Go applications supporting multiple file formats, environment variables, flags, and remote key/value stores.
    • Enables seamless configuration loading, overriding, live watching, and nested key access with a consistent precedence order, simplifying complex app configuration needs.
    • Use for building 12-factor Go applications requiring flexible config sources like JSON, YAML, TOML, and environment variables with live reload support.
    • Use for integrating remote configuration management from etcd, Consul, or Firestore with optional encryption and automatic updates in distributed systems.
    • Use for developing reusable Go modules that require isolated configuration subsets passed as Viper instances for clean, testable, and modular config handling.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    • No commits in the last six months (last push Jan 2026).

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Viper v2 feedback

    Viper is heading towards v2 and we would love to hear what you would like to see in it. Share your thoughts here: https://forms.gle/R6faU74qPRPAzchZ9

    Thank you!

    Note: Viper uses Go Modules to manage dependencies.

    Viper is a complete configuration solution for Go applications including 12-Factor apps. It is designed to work within an application, and can handle all types of configuration needs and formats. It supports:

    Viper can be thought of as a registry for all of your applications configuration needs.

    Excerpt from the spf13/viper README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    2.2K-66

    Open issues

    165+32

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    spf13/viper compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills192.3K+5.2K75—
    zed-industries/zed94.7K+2.3K756 days ago
    google/skills23.8K+2.0K75—
    NationalSecurityAgency/ghidra99.4K+1.8K7519 days ago
    DuarteSantos8/openGym20.8K+1.7K757 days ago
    spf13/viper30.5K—35420 days ago
    Category median94.7K+2.0K75—

    Also by spf13

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description