Go Configuration

Open-source Go projects categorized as Configuration

Top 23 Go Configuration Projects

Configuration
  1. viper

    Go configuration with fangs

    Project mention: Top 5 Go Libraries Every Backend Developer Should Know | dev.to | 2025-01-03

    5. Viper

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. chezmoi

    Manage your dotfiles across multiple diverse machines, securely.

    Project mention: Chezmoi adds policy on LLM-generated content to contributor guide | news.ycombinator.com | 2024-12-09
  4. 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: TomWright/dasel: Select, put and delete data from JSON, TOML, YAML, XML and CSV | news.ycombinator.com | 2024-08-18

    No HCL support [0] though.

    [0]: https://github.com/TomWright/dasel/issues/98

  5. cue

    The home of the CUE language! Validate and define text-based and dynamic configuration

    Project mention: cue VS rcl - a user suggested alternative | libhunt.com/r/cue | 2025-03-15
  6. env

    A simple, zero-dependencies library to parse environment variables into structs

  7. kelseyhightower/envconfig

    Golang library for managing configuration data from environment variables

  8. ini

    Package ini provides INI file read and write functionality in Go

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. koanf

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

    Project mention: Simple, lightweight, extensible, configuration management library for Go | news.ycombinator.com | 2024-12-24
  11. tanka

    Flexible, reusable and concise configuration for Kubernetes

    Project mention: Tanka: Flexible, reusable and concise configuration for Kubernetes | news.ycombinator.com | 2025-02-15
  12. go-arg

    Struct-based argument parsing in Go

    Project mention: go-arg: Struct-based argument parsing in Go | news.ycombinator.com | 2025-03-23
  13. cleanenv

    ✨Clean and minimalistic environment configuration reader for Golang

  14. go-toml

    Go library for the TOML file format

  15. ytt

    YAML templating tool that works on YAML structure instead of text

  16. drago

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

  17. resticprofile

    Configuration profiles manager and scheduler for restic backup

    Project mention: Timeshift: System Restore Tool for Linux | news.ycombinator.com | 2024-07-22

    I used to use restic with scripting, then I discovered resticprofile, and swiftly replace all my scripts with it.

    https://github.com/creativeprojects/resticprofile

    I also use Kopia as an alternative to Restic, in case some critical bugs happen to either one of them.

    https://kopia.io/

  18. konfig

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

  19. aconfig

    Simple, useful and opinionated config loader.

  20. tyson

    🥊 TypeScript as a Configuration Language. TySON stands for TypeScript Object Notation

  21. gookit/config

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

  22. confita

    Load configuration in cascade from multiple backends into a struct

  23. isopod

    An expressive DSL and framework for Kubernetes configuration without YAML

    Project mention: Starlark Language | news.ycombinator.com | 2024-06-16

    Here’s one of my previous attempts at it specifically for k8s: https://github.com/cruise-automation/isopod

    I’ve had mixed results trying to adopt this though - some people (usually better coders) get it, some like wallowing in their yaml soup

  24. pets

    A configuration management system for Pets, not Cattle

  25. jk

    Configuration as Code with ECMAScript

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Go Configuration discussion

Log in or Post with

Go Configuration related posts

  • go-arg: Struct-based argument parsing in Go

    1 project | news.ycombinator.com | 23 Mar 2025
  • cue VS rcl - a user suggested alternative

    2 projects | 15 Mar 2025
  • StrictYAML

    5 projects | news.ycombinator.com | 7 Mar 2025
  • Tanka: Flexible, reusable and concise configuration for Kubernetes

    2 projects | news.ycombinator.com | 15 Feb 2025
  • Simple, lightweight, extensible, configuration management library for Go

    1 project | news.ycombinator.com | 24 Dec 2024
  • Chezmoi adds policy on LLM-generated content to contributor guide

    1 project | news.ycombinator.com | 9 Dec 2024
  • A Guide to Configuration Management in Go with Viper

    1 project | dev.to | 3 Dec 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 22 Apr 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 viper 28,318
2 chezmoi 14,667
3 dasel 7,405
4 cue 5,399
5 env 5,333
6 kelseyhightower/envconfig 5,188
7 ini 3,500
8 koanf 3,098
9 tanka 2,522
10 go-arg 2,122
11 cleanenv 1,812
12 go-toml 1,797
13 ytt 1,741
14 drago 1,117
15 resticprofile 891
16 konfig 646
17 aconfig 565
18 tyson 553
19 gookit/config 549
20 confita 493
21 isopod 482
22 pets 462
23 jk 407

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Go is
the 4th most popular programming language
based on number of references?