Categories

Configuration

Libraries for configuration parsing.

Repos

97

Stars

93,067

30 days

+271

spf13

Go configuration with fangs

Created Apr 2014

Total 30,557
30 days +70
joho

A Go port of Ruby's dotenv library (Loads environment variables from .env files)

Created Jul 2013

dotenv environment-variables go golang
Total 10,704
30 days +45
bytedance

A blazingly fast JSON serializing & deserializing library

Created May 2021

high-performance jit json simd
Total 9,672
30 days +38
caarlos0

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

Created Jul 2015

config configuration environment environment-variables go
Total 6,371
30 days +37
kelseyhightower

Golang library for managing configuration data from environment variables

Created Nov 2013

Total 5,479
30 days +10
knadh

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

Created Jun 2019

config config-loader configuration configuration-file configuration-management
Total 4,247
30 days +29
go-ini

Package ini provides INI file read and write functionality in Go

Created Dec 2014

configuration go ini parser
Total 3,541
30 days +1
ilyakaznacheev

✨Clean and minimalistic environment configuration reader for Golang

Created Jul 2019

configuration environment-configuration environment-variables hacktoberfest
Total 2,169
30 days +1
adrg
adrg / xdg

Go implementation of the XDG Base Directory Specification and XDG user directories

Created Aug 2014

cross-platform go golang golang-library golang-package
Total 1,028
30 days +4
cristalhq

Simple, useful and opinionated config loader.

Created Jun 2020

command-line config configuration configuration-files dependency-free
Total 657
30 days +9
lalamove

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

Created Jan 2019

composable config configuration etcd golang
Total 647
30 days +1
gookit

📝 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应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名

Created Jul 2018

config config-management configuration configuration-management flags
Total 586
30 days +1
heetch

Load configuration in cascade from multiple backends into a struct

Created Dec 2017

configuration configuration-loader golang structure team-boost
Total 507
30 days +1
nil-go

The simplest config loader for Go that reads/watches from file, env, flag and clouds (AWS, Azure, GCP).

Created Mar 2023

appconfig aws azure config config-loader
Total 398
30 days +3
kkyr
kkyr / fig

A minimalist Go configuration library

Created Jan 2020

config-file configuration configuration-management environment environment-variables
Total 384
30 days +1
golobby

A lightweight yet powerful configuration manager for the Go programming language

Created Oct 2019

config config-management config-manager configuration configuration-files
Total 366
30 days +1
hjson

Hjson for Go

Created Aug 2016

go hjson
Total 359
30 days +1
JeremyLoy

12 factor configuration as a typesafe struct in as little as two function calls

Created Apr 2019

12-factor cloud configuration environment go
Total 337
30 days +1
vrischmann

Small library to read your configuration from environment variables

Created Apr 2015

configuration go golang
Total 250
30 days +0
chaindead

Zero-effort, concise configuration management that avoids boilerplate and repetitive actions.

Created Apr 2025

config configuration environment flag go
Total 200
30 days +0
agilira

High-performance configuration management framework for Go applications with zero-allocation performance, universal format support (JSON, YAML, TOML, HCL, INI, Properties), and an ultra-fast CLI powered by Orpheus.

Created Aug 2025

agilira-orpheus cli configuration-management go hcl
Total 169
30 days +0
beatlabs

Harvest configuration, watch and notify subscriber

Created Apr 2019

configuration-management go golang
Total 132
30 days +0
goraz

Layer based configuration for golang

Created Jul 2015

config configuration golang
Total 119
30 days +0
BoRuDar

Library for setting values to structs' fields from env, flags, files or default tag

Created Nov 2019

12-factor config configuration configuration-management go
Total 108
30 days +0
antham

Go helpers to manage environment variables

Created Jan 2017

configuration-management environment golang tree
Total 101
30 days +0
sherifabdlnaby

An opinionated configuration loading framework for Containerized and Cloud-Native applications.

Created Apr 2020

12-factor cloud-native config configuration containerization
Total 92
30 days +0
gurkankaymak

go implementation of lightbend's HOCON configuration library https://github.com/lightbend/config

Created Mar 2020

configuration-library configuration-parser environment-variables go golang
Total 90
30 days +0
omeid

Lightweight, zero-dependency, and extendable library for comperhensive configuration management

Created May 2017

config configuration-management flags golang kubernetes
Total 75
30 days +0
PaddleHQ

Wraps the aws-sdk-go and hides the complexity of dealing with the not so Go friendly AWS SDK.

Created Jan 2019

aws go-library golang parameter-store ssm
Total 67
30 days +0
num30

Declarative configuration for Go

Created May 2022

config configuration environment-variables go golang
Total 61
30 days +0
One-com

Golang packages for writing small daemons and servers.

Created Sep 2016

daemon golang logging-library socket-activation statsd-client
Total 51
30 days +0
dsbasko

The library provides a unified way to read configuration data from different sources, such as environment variables, command line flags, and configuration files.

Created Feb 2024

Total 50
30 days +0

More

jinzhu

Golang Configuration tool that support YAML, JSON, TOML, Shell Environment

Created Aug 2015

go golang golang-configuration
Total 1,786
30 days +1
sethvargo

A Go library for parsing struct tags from environment variables.

Created Jun 2020

Total 1,239
30 days +4
Netflix

a golang library to manage environment variables

Created May 2018

environment-variables golang
Total 673
30 days +0
unknwon

Package goconfig is a fully functional and comments-support configuration file (.ini) parser.

Created Mar 2013

configuration go ini parser
Total 604
30 days +0
uber-go

Configuration for Go applications

Created May 2017

configuration go golang yaml
Total 481
30 days +2
kevinburke

Go parser for ssh_config files

Created Apr 2017

golang parser ssh ssh-config
Total 479
30 days +3
koding

Load configuration from multiple sources in Go

Created Aug 2014

Total 446
30 days +1
magiconair

Java properties scanner for Go

Created Dec 2013

go golang golang-library properties
Total 341
30 days +0
ardanlabs

Package conf provides support for using environmental variables and command line arguments for configuration.

Created Aug 2019

Total 321
30 days +1
subosito

Load environment variables from `.env` or `io.Reader` in Go.

Created Aug 2013

environment-variables golang golang-library
Total 310
30 days +0
tucnak

A dead simple configuration manager for Go applications

Created Oct 2015

Total 272
30 days +0
rakyll

Persist flag values into an ini file

Created Jan 2014

Total 269
30 days +0
olebedev

JSON or YAML configuration wrapper with convenient access methods.

Created Apr 2014

configuration golang json yaml
Total 264
30 days +0
tufanbarisyildirim

Nginx configuration parser helps you to parse, edit, regenerate your nginx config in your go applications

Created Apr 2020

devops devops-tools golang lexer nginx
Total 239
30 days +0
joeshaw

Go package for populating structs from environment variables using struct tags

Created Mar 2014

environment-variables golang
Total 238
30 days +0
turbodblabs

go 开发中常用的配置 consul, database, email, ftp, jwt, mqtt, pay, profile-active, redis,zap

Created Feb 2022

alipay consul database email ftp
Total 214
30 days +0
joshbetz

🛠 A configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.

Created Apr 2017

config configuration env environment-variables go
Total 213
30 days +0
mwitkow

Dynamic flag management for Go.

Created Jul 2015

configuration dynamic-flags etcd flags golang
Total 205
30 days +0
philchia

agollo is a golang client for ctrip apollo config center 🚀

Created Oct 2018

agollo apollo client ctrip golang
Total 181
30 days +0
stevenroose

Go package for program configuration

Created Oct 2017

Total 174
30 days +0
go-gcfg

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

Created Aug 2015

config configuration configuration-file go golang
Total 170
30 days +0
bsideup

12factor apps configuration manager

Created Jan 2016

Total 167
30 days +0
gobuffalo

Envy makes working with ENV variables in Go trivial.

Created Jan 2017

configuration environment environment-variables go gobuffalo
Total 152
30 days +0
ridgelines

Robust application configuration made simple

Created Nov 2015

awesome-go config configuration go golang
Total 128
30 days +0
tkanos

Manage Configuration file and environment in GO

Created Jan 2017

Total 123
30 days +0
go-ozzo

A Go (golang) package supporting layered application configuration in popular formats, such as JSON, YAML, TOML.

Created Oct 2015

Total 111
30 days +0
brettlangdon

Configuration file syntax and parsing for golang

Created Jun 2015

Total 109
30 days +0
digineo

Native Go bindings for OpenWrt's UCI.

Created Feb 2019

configuration configuration-management go lexer native
Total 108
30 days +0
tomazk

Un-marshaling environment variables to Go structs

Created Nov 2014

Total 102
30 days +0
nginxinc

A library for working with NGINX configs in Go

Created Jan 2019

configuration configuration-files configuration-management go golang
Total 100
30 days +2
Terry-Mao

Golang config file parse module

Created Jan 2014

Total 96
30 days +0
vaughan0

INI parsing library for Go.

Created Jan 2013

Total 96
30 days +0
segmentio

Go package for loading program configuration from multiple sources.

Created Dec 2016

command-line command-line-parser configuration configuration-file configuration-loader
Total 87
30 days +0
gookit

📝 Go INI config management. support multi file load, data override merge. parse ENV variable, parse variable reference. Dotenv file parse and loader. INI配置读取管理,支持多文件加载,数据覆盖合并, 解析ENV变量, 解析变量引用。DotEnv 解析加载

Created Jul 2018

config configuration configuration-management dotenv dotenv-loader
Total 86
30 days +0
elastic

Golang universal configuration

Created Jan 2016

Total 85
30 days +0
zieckey

A simple, flexible, efficient and powerful INI parser for Golang.

Created Nov 2014

goini ini parser
Total 81
30 days +1
widuu

golang读取ini配置文件

Created Mar 2014

Total 81
30 days +0
go-simpler

🔍 Load environment variables into a config struct

Created Jan 2022

12factor configuration dependency-free environment-variables go
Total 80
30 days +0
ovh

Golang configuration management library

Created Apr 2018

configuration configuration-management golang golang-library
Total 77
30 days +1
lyraproj

Hiera in golang - Elegant, powerful hierarchical key-value lookups

Created Dec 2018

Total 74
30 days +0
glitchdotcom

A golang package for parsing ini-style configuration files

Created Jan 2015

Total 73
30 days +0
traefik

Loads configuration from many sources

Created Aug 2020

cli-flags configuration environment-variables go golang
Total 69
30 days +0
leodeim

Useless config lib. You should use something else instead

Created Dec 2022

config configuration file go golang
Total 68
30 days +0
ian-kent

Go configuration made easy!

Created Nov 2014

Total 67
30 days +0
moogar0880

A pluggable configuration management library with zero dependencies

Created Feb 2018

config configuration configuration-management go golang
Total 66
30 days +0
tietang

config source library for golang, support properties/yaml/ini file、zookeeper\consul\etcd k/v k/props

Created Jun 2017

config consul consul-key go-properties go-props
Total 65
30 days +0
mreiferson

a Go package to structure and resolve options

Created Feb 2014

Total 65
30 days +0
onlineconf

Application level configuration system

Created Oct 2019

Total 57
30 days +0
paked

Configure is a Go package that gives you easy configuration of your project through redundancy

Created Jun 2015

configuration deployment development golang
Total 56
30 days +0
hashicorp

Minimal environment variable parser for Go

Created Jun 2017

Total 54
30 days +0
miracl

Library providing routines to merge and validate JSON, YAML and/or TOML files

Created Jan 2018

config configuration configuration-management golang golang-library
Total 50
30 days +1
namsral

Parse flags, environment variables and config files

Created Apr 2014 Archived

Total 528
30 days +0
lytics

Config parser for go, modeled after Nginx format, Nice lenient syntax with Comments

Created Oct 2014 Archived

config configuration golang
Total 139
30 days +0
containous

Merge your configuration sources

Created Apr 2016 Archived

cli configuration golang kv-store merge
Total 106
30 days +0
facebookarchive

Package flagenv provides the ability to populate flags from environment variables.

Created Sep 2012 Archived

Total 103
30 days +0
agonzalezro

Configuration in environment variables and/or with defaults!

Created Dec 2014 Archived

Total 83
30 days +0

From awesome-go (MIT), plus repos sorted by Jev.