Go Configuration

Open-source Go projects categorized as Configuration

Top 23 Go Configuration Projects

  • GitHub repo viper

    Go configuration with fangs

    Project mention: Food-app | dev.to | 2021-06-08

    Viper Link

  • GitHub repo chezmoi

    Manage your dotfiles across multiple diverse machines, securely.

    Project mention: Chezmoi: Manage your dotfiles across multiple diverse machines | news.ycombinator.com | 2021-05-30
  • GitHub repo kelseyhightower/envconfig

    Golang library for managing configuration data from environment variables

    Project mention: Looking for a Go(Golang) buddy | reddit.com/r/golang | 2021-05-08

    https://github.com/kelseyhightower/envconfig (read config from environment variables, more succinct than viper)

  • GitHub repo ini

    Package ini provides INI file read and write functionality in Go.

  • GitHub repo env

    Simple lib to parse environment variables to structs

    Project mention: I've been using "caarlos0/env" for nearly 4 years? Anything better? | reddit.com/r/golang | 2021-01-26

    I also have been using https://github.com/caarlos0/env in all projects since that was the one which I used in first project.

  • GitHub repo tanka

    Flexible, reusable and concise configuration for Kubernetes

    Project mention: INTERCAL, YAML, And Other Horrible Programming Languages | reddit.com/r/programming | 2021-02-25

    Jsonnet has been serving me well. Tanka seems to fix all the remaining issues. It's not the fastest thing out there, but it's honestly easy to debug.

  • GitHub repo go-arg

    Struct-based argument parsing in Go

  • GitHub repo go-toml

    Go library for the TOML file format

  • GitHub repo dasel

    Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.

    Project mention: Dasel – one tool to rule them all | news.ycombinator.com | 2021-06-02
  • GitHub repo konfig

    Composable, observable and performant config handling for Go for the distributed processing era

  • GitHub repo koanf

    Light weight, extensible, configuration management library for Go. Built in support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.

    Project mention: Is Viper necessary if my app is only using environment variables? | reddit.com/r/golang | 2021-02-19

    I use Koanf, much simpeler with the same options https://github.com/knadh/koanf

  • GitHub repo confita

    Load configuration in cascade from multiple backends into a struct

  • GitHub repo cleanenv

    ✨Clean and minimalistic environment configuration reader for Golang

  • GitHub repo store

    A dead simple configuration manager for Go applications

  • GitHub repo drago

    A flexible configuration manager for Wireguard networks

  • GitHub repo gookit/config

    📝 Go config manage(load,get,set). support JSON, YAML, TOML, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名 (by gookit)

  • GitHub repo hjson

    Hjson for Go

  • GitHub repo config

    JSON or YAML configuration wrapper with convenient access methods. (by olebedev)

  • GitHub repo aconfig

    Simple, useful and opinionated config loader.

  • GitHub repo joshbetz/config

    🛠 A configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP (by joshbetz)

  • GitHub repo envconfig

    Small library to read your configuration from environment variables (by vrischmann)

  • GitHub repo fig

    A minimalist Go configuration library

  • GitHub repo gcfg

    read INI-style configuration files into Go structs; supports user-defined types and subsections

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-06-08.

Index

What are some of the best open-source Configuration projects in Go? This list will help you:

Project Stars
1 viper 15,893
2 chezmoi 3,890
3 kelseyhightower/envconfig 3,635
4 ini 2,516
5 env 1,906
6 tanka 1,368
7 go-arg 1,168
8 go-toml 1,039
9 dasel 920
10 konfig 607
11 koanf 510
12 confita 390
13 cleanenv 293
14 store 253
15 drago 252
16 gookit/config 246
17 hjson 239
18 config 237
19 aconfig 226
20 joshbetz/config 204
21 envconfig 201
22 fig 153
23 gcfg 150
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com