← All Go categories

Configuration Go Libraries Ranking

Libraries for configuration parsing.

66 repositories, updated daily.

- Go configuration with fangs.

30.4K
2.3K
Yesterday
+17 weekly
View

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

10.6K
460
Yesterday
+18 weekly
View

- A blazingly fast JSON serializing & deserializing library.

9.6K
465
Yesterday
+10 weekly
View

- Parse environment variables to Go structs (with defaults).

6.3K
284
Yesterday
+6 weekly
View

- Go library for managing configuration data from environment variables.

5.5K
394
2 days ago
+0 weekly
View

- Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.

4.1K
200
Yesterday
+10 weekly
View

- Go package to read and write INI files.

3.5K
390
3 days ago
+1 weekly
View

- Command-line parser with support for arbitrarily complex command-line structures and additional sources of configuration such as YAML, JSON, TOML, etc (successor to `kingpin`).

3.1K
179
Yesterday
+5 weekly
View

- Minimalistic configuration reader (from files, ENV, and wherever you want).

2.2K
134
4 days ago
+4 weekly
View

- Go implementation of the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/latest/) and [XDG user directories](https://wiki.archlinux.org/index.php/XDG_user_directories).

1.0K
36
1 week ago
+0 weekly
View

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

645
53
1 week ago
+0 weekly
View

- Simple, useful and opinionated config loader.

639
42
2 days ago
+2 weekly
View

- application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.

586
62
2 weeks ago
+0 weekly
View

- Load configuration in cascade from multiple backends into a struct.

507
50
2 weeks ago
+0 weekly
View

- The simplest API for reading/watching config from file, env, flag and clouds (e.g. AWS, Azure, GCP).

391
11
3 days ago
+0 weekly
View

- Tiny library for reading configuration from a file and from environment variables (with validation & defaults).

382
33
2 weeks ago
+0 weekly
View

- GoLobby Config is a lightweight yet powerful configuration manager for the Go programming language.

366
28
1 month ago
+0 weekly
View

- Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.

355
43
1 week ago
+0 weekly
View

- Cloud native application configuration. Bind ENV to structs in only two lines.

339
14
2 months ago
+0 weekly
View

- Read your configuration from environment variables.

250
30
1 month ago
+0 weekly
View

- Zero-effort, concise configuration management that avoids boilerplate and repetitive code, supports multiple sources with priority overrides.

200
9
2 weeks ago
+0 weekly
View

- File watching and configuration management with MPSC ring buffer, adaptive batching strategies, and universal format parsing (JSON, YAML, TOML, INI, HCL, Properties).

169
7
1 week ago
+0 weekly
View

- Harvester, a easy to use static and dynamic configuration package supporting seeding, env vars and Consul integration.

135
27
4 days ago
+0 weekly
View

- Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP.

119
16
6 months ago
+0 weekly
View

- Library for initializing configuration structs from env variables, files, flags and 'default' tag.

108
12
1 week ago
+0 weekly
View

- Helpers to manage environment variables.

101
2
1 month ago
+0 weekly
View

- Configuration library for working with the HOCON(a human-friendly JSON superset) format, supports features like environment variables, referencing other values, comments and multiple files.

92
20
1 week ago
+0 weekly
View

- opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications.

92
14
2 months ago
+0 weekly
View

- A lightweight package for loading environment variables into structs.

80
7
8 months ago
+0 weekly
View

- Lightweight, zero-dependency, and extendable configuration management.

75
10
1 month ago
+0 weekly
View

- Go package that fetches parameters from AWS System Manager - Parameter Store.

66
12
3 days ago
+0 weekly
View

- configure your app using file, environment variables, or flags in two lines of code.

61
4
2 months ago
+0 weekly
View

- Modular JSON configuration. Keep your config structs along with the code they configure and delegate parsing to submodules without sacrificing full config serialization.

51
8
9 months ago
+0 weekly
View

- The library provides a unified way to read configuration data into a structure from various sources, such as env, flags, and configuration files (.json, .yaml, .toml, .env).

49
3
1 week ago
+0 weekly
View

- Populate Go structs from flags, environment variables, config.json and defaults with deterministic precedence. No extra dependencies.

49
8
1 month ago
+0 weekly
View

- Read environment variables easily with dotenv support.

45
5
1 month ago
+0 weekly
View

- A simple configuration library with recursive placeholders resolution and no magic.

43
8
2 years ago
+0 weekly
View

- Structured data format to config struct decoder library for Go - supporting multiple data formats.

40
0
2 weeks ago
+0 weekly
View

- Container-oriented, zero-dependency configuration library that unifies Env variable and Flag parsing. Uses generics for type safety, without reflection or struct tags.

39
0
2 weeks ago
+0 weekly
View

- Library/tool to merge multiple JSON/YAML/TOML files from arbitrary URLs, validation against a JSON schema, and application of default values defined in the schema.

36
5
4 months ago
+0 weekly
View

- BCL is a configuration language similar to HCL.

34
0
1 month ago
+0 weekly
View

- Go utility for loading configuration parameters from AWS SSM (Parameter Store).

23
13
4 weeks ago
+0 weekly
View

- Simple useful package for read environment variables.

23
3
1 month ago
+0 weekly
View

- A Go package that read or set data from map, slice or json.

23
0
1 month ago
+0 weekly
View

- Yaml with environment variables reader. it helps to have secrets as environment variable but load them configs as structured Yaml.

21
2
2 weeks ago
+0 weekly
View

- The "safe subset" of YAML for Go configs.

19
1
2 weeks ago
+0 weekly
View

- A Go package that marshals and unmarshals INI-files.

18
7
2 weeks ago
+0 weekly
View

- INI Parser & Write Library, Unmarshal to Struct, Marshal to Json, Write File, watch file.

18
7
10 months ago
+0 weekly
View

- Simple library for application configuration based on annotated structs. It supports reading the configuration from environment variables, config files and command line parameters.

14
4
3 months ago
+0 weekly
View

- Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML

12
3
1 week ago
+0 weekly
View

- Minimalistic, zero dependency, typed environment variables library.

12
1
1 year ago
+0 weekly
View

- Tag-based configuration parser which loads values from different providers into typesafe struct.

10
1
7 months ago
+0 weekly
View

- Viper wrapper with config inheritance and key generation.

10
0
1 year ago
+0 weekly
View

- Extensible, high-performance configuration management library, optimized for hierarchical data.

8
0
2 days ago
+0 weekly
View

- An environment utility package with support for unmarshaling into structs.

8
1
1 month ago
+0 weekly
View

- Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env).

8
3
1 year ago
+0 weekly
View

- Config manager with Struct Tags based contracts, custom value providers, parsers, and documentation generation. Customizable yet simple.

6
0
6 days ago
+0 weekly
View

- Simple and convenient library for working with app configurations.

6
1
1 month ago
+0 weekly
View

- The configuration provider for consuming data in Azure App Configuration from Go applications.

6
7
1 month ago
+0 weekly
View

- Spring-inspired configuration management library for Go.

2
0
2 weeks ago
+0 weekly
View

- Vault property source support for go-external-config.

1
0
2 weeks ago
+0 weekly
View

- Consul property source support for go-external-config.

1
0
2 weeks ago
+0 weekly
View

- AWS property source support for go-external-config.

1
0
2 weeks ago
+0 weekly
View

- Reads the ENV environment variable and reports whether the process is running in production or development.

0
0
5 days ago
+0 weekly
View

- Loads configuration from environment variables into structs via reflection, with struct-tag defaults and required fields.

0
0
5 days ago
+0 weekly
View

- Struct-based configuration loader with a dedicated config file parser, supporting env vars, flags, defaults, and validation.

0
0
1 year ago
+0 weekly
View