Go Configuration

Open-source Go projects categorized as Configuration | Edit details
Related topics: #Golang #Go #Config #JSON #YAML

Top 23 Go Configuration Projects

  • GitHub repo viper

    Go configuration with fangs

    Project mention: What type of software do you write at your workplace? | reddit.com/r/golang | 2022-01-17

    I just use Cobra (cli verbs and flags) and Viper (configuration) for the most part. github.com/spf13/cobra and github.com/spf13/viper

  • GitHub repo chezmoi

    Manage your dotfiles across multiple diverse machines, securely.

    Project mention: Dotfiles management best practices? | reddit.com/r/dotfiles | 2021-12-25
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo kelseyhightower/envconfig

    Golang library for managing configuration data from environment variables

    Project mention: I'm looking for a good alternativ to Viper | reddit.com/r/golang | 2022-01-16

    Pretty much all of our services and pkgs use https://github.com/kelseyhightower/envconfig. It’s dead simple, gets out of your way, and is battle tested

  • GitHub repo ini

    Package ini provides INI file read and write functionality in Go

  • GitHub repo env

    A simple and zero-dependencies library to parse environment variables into 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 dasel

    Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.

    Project mention: How to convert a JSON file to CSV file with Golang. | reddit.com/r/golang | 2021-12-08

    If you're just looking for a utility to do it (and a bunch of other stuff), there's dasel.

  • GitHub repo tanka

    Flexible, reusable and concise configuration for Kubernetes

    Project mention: Switching Careers - Becoming a Linux Engineer... Am I crazy? | reddit.com/r/sysadmin | 2021-11-21

    Yes, I almost wrote Helm and Terraform into that list. But I dislike Helm and Terraform. Personally I'm a fan of Tanka. The ability to library and extend bits of data is extremely powerful. Helm and TF are way too much copy-pasta / boilerplate for my taste.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo go-arg

    Struct-based argument parsing in Go

  • GitHub repo go-toml

    Go library for the TOML file format

  • GitHub repo carvel-ytt

    YAML templating tool that works on YAML structure instead of text

    Project mention: Dynamically creating yaml manifests? | reddit.com/r/kubernetes | 2021-11-21
  • GitHub repo drago

    ☁️ Securely connect anything with WireGuard® and manage all your networks from a single place.

    Project mention: Looking for a good guide for deploying WireGuard with a GUI | reddit.com/r/selfhosted | 2021-10-13

    Great list, I'd add Drago as well, though it may be for more advanced use.

  • GitHub repo koanf

    Simple, lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.

    Project mention: What are your favorite packages to use? | reddit.com/r/golang | 2021-08-15

    https://github.com/knadh/koanf for config management. Readme contains why it's a good alternative to viper.

  • GitHub repo konfig

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

  • GitHub repo cleanenv

    ✨Clean and minimalistic environment configuration reader for Golang

    Project mention: I'm looking for a good alternativ to Viper | reddit.com/r/golang | 2022-01-16

    check this package: https://github.com/ilyakaznacheev/cleanenv

  • GitHub repo confita

    Load configuration in cascade from multiple backends into a struct

  • GitHub repo isopod

    An expressive DSL and framework for Kubernetes configuration without YAML

    Project mention: YAML: It's Time to Move On | news.ycombinator.com | 2021-11-14
  • GitHub repo jk

    Configuration as Code with ECMAScript

    Project mention: Pants vs. Bazel: Why Pants may be the right choice for your team | reddit.com/r/programming | 2021-11-18

    If I were writing a build system today (and I did just write one actually to test out some ideas) I would use Typescript for the language with something like jk to provide hermeticity. Typescript has many advantages, especially over Python, but mainly:

  • GitHub repo aconfig

    Simple, useful and opinionated config loader.

    Project mention: What are your favorite packages to use? | reddit.com/r/golang | 2021-08-15
  • 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 config

    12 factor configuration as a typesafe struct in as little as two function calls (by JeremyLoy)

    Project mention: Springboot profiles - in go? | reddit.com/r/golang | 2021-11-12

    If I could shamelessly plug my own config library….

  • GitHub repo store

    A dead simple configuration manager for Go applications (by tucnak)

  • GitHub repo hjson

    Hjson for Go

  • GitHub repo config

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

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 2022-01-17.

Go Configuration related posts


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

Project Stars
1 viper 17,916
2 chezmoi 5,802
3 kelseyhightower/envconfig 3,926
4 ini 2,813
5 env 2,206
6 dasel 1,749
7 tanka 1,530
8 go-arg 1,337
9 go-toml 1,146
10 carvel-ytt 987
11 drago 825
12 koanf 687
13 konfig 615
14 cleanenv 442
15 confita 419
16 isopod 392
17 jk 352
18 aconfig 329
19 gookit/config 319
20 config 287
21 store 259
22 hjson 250
23 config 241
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.