Go Configuration

Open-source Go projects categorized as Configuration

Top 23 Go Configuration Projects

  • viper

    Go configuration with fangs

  • Project mention: Upload and Delete file from Amazon S3 Bucket in Go using Presigned URLs | dev.to | 2024-04-22

    Once environment variables are setup we need load them into our project. For this this i will use viper

  • chezmoi

    Manage your dotfiles across multiple diverse machines, securely.

  • Project mention: Securely manage your dot files | news.ycombinator.com | 2024-04-11
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • kelseyhightower/envconfig

    Golang library for managing configuration data from environment variables

  • Project mention: newbie here looking for a framework | /r/golang | 2023-10-03

    To configure the app I'd take a look at https://github.com/kelseyhightower/envconfig

  • 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: jq 1.7 Released | news.ycombinator.com | 2023-09-06
  • cue

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

  • Project mention: Ask HN: Anyone dislike GitHub action yml syntax | news.ycombinator.com | 2024-05-17

    I write my GHA in CUE now, though I am moving to Argo more generally (which I also write in CUE)

    https://cuelang.org | https://cuetorials.com

  • env

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

  • ini

    Package ini provides INI file read and write functionality in Go

  • SaaSHub

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

    SaaSHub logo
  • koanf

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

  • Project mention: Nees help install knadh/koanf | /r/golang | 2023-05-27

    LINK: https://github.com/knadh/koanf

  • tanka

    Flexible, reusable and concise configuration for Kubernetes

  • Project mention: Why the fuck are we templating YAML? (2019) | news.ycombinator.com | 2024-01-23

    I would recommend implementing a similar API to Grafana Tanka: https://tanka.dev

    When you "synthesise", the returned value should be an array or an object.

    1. If it's an object, check if it has an `apiVersion` and `kind` key. If it does, yield that as a kubernetes object and do not recurse.

  • go-arg

    Struct-based argument parsing in Go

  • Project mention: Go-Arg: Struct-based argument parsing in Go | news.ycombinator.com | 2023-12-27
  • go-toml

    Go library for the TOML file format

  • Project mention: What Is Wrong with TOML? | news.ycombinator.com | 2023-09-13

    I wrote one of the Go implementations [0] when TOML was announced and have maintained it since.

    As a library implementor, I wish arrays would hold only one type at a time, but I get that could be useful for users. But as a user, I wish tables were fully defined once (more can't be added up later in the file), especially when using larger files.

    [0]: https://github.com/pelletier/go-toml

  • ytt

    YAML templating tool that works on YAML structure instead of text

  • Project mention: 10 Ways for Kubernetes Declarative Configuration Management | dev.to | 2024-01-01

    YTT - YTT is a templating tool that understands YAML structure. It helps you easily configure complex software via reusable templates and user provided values using the Starlark language.

  • cleanenv

    ✨Clean and minimalistic environment configuration reader for Golang

  • drago

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

  • konfig

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

  • resticprofile

    Configuration profiles manager and scheduler for restic backup

  • Project mention: Rclone syncs your files to cloud storage | news.ycombinator.com | 2024-01-26

    The main disadvantage with pure Restic is that you usually have to end up writing your own shell scripts for some configuration management because Restic itself has none of that.

    Fortunately there is https://github.com/creativeprojects/resticprofile to solve that problem.

  • tyson

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

  • Project mention: TySON: TypeScript Object Notation | news.ycombinator.com | 2024-02-04
  • 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)

  • Project mention: topoconfig: enhancing config declarations with graphs | dev.to | 2023-10-03

    gookit/config

  • aconfig

    Simple, useful and opinionated config loader.

  • confita

    Load configuration in cascade from multiple backends into a struct

  • isopod

    An expressive DSL and framework for Kubernetes configuration without YAML

  • pets

    A configuration management system for Pets, not Cattle

  • jk

    Configuration as Code with ECMAScript

  • 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 related posts

  • Ask HN: Anyone dislike GitHub action yml syntax

    1 project | news.ycombinator.com | 17 May 2024
  • Really: Policy language for infra that doesn't suck

    1 project | news.ycombinator.com | 16 May 2024
  • HCL: Toolkit for Structured Configuration Languages

    8 projects | news.ycombinator.com | 23 Apr 2024
  • Upload and Delete file from Amazon S3 Bucket in Go using Presigned URLs

    2 projects | dev.to | 22 Apr 2024
  • Securely manage your dot files

    1 project | news.ycombinator.com | 11 Apr 2024
  • Konf 1.0 – The simplest config loader for Go supports file, env, flag and clouds

    1 project | news.ycombinator.com | 20 Mar 2024
  • TySON: TypeScript Object Notation

    1 project | news.ycombinator.com | 4 Feb 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 17 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

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

Project Stars
1 viper 25,960
2 chezmoi 11,869
3 kelseyhightower/envconfig 4,907
4 dasel 4,889
5 cue 4,779
6 env 4,440
7 ini 3,414
8 koanf 2,393
9 tanka 2,240
10 go-arg 1,874
11 go-toml 1,649
12 ytt 1,591
13 cleanenv 1,480
14 drago 1,103
15 konfig 647
16 resticprofile 554
17 tyson 531
18 gookit/config 523
19 aconfig 515
20 confita 490
21 isopod 462
22 pets 458
23 jk 399

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com