Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
We haven't tracked posts mentioning hjson yet.
Tracking mentions began in Dec 2020.
14 great tips to make amazing CLI applications
14 projects | dev.to | 10 May 2022
configuration files. A few command line option libraries provide the option to use a configuration file alongside the command line parser (for example viper in golang). Otherwise, nothing is easier to use a JSON, YAML, or TOML parser to read in defaults and overrides.
Simple configuration for apps
4 projects | reddit.com/r/golang | 5 May 2022
Thanks, it basically bunch of battle-tested tools like viper, defaults, validators put together
CLI plugin manager for (neo)vim
4 projects | reddit.com/r/neovim | 20 Apr 2022
Just for your information: viper is also a popular go package.
Best practice for configuring secrets
6 projects | reddit.com/r/golang | 6 Apr 2022
More details : https://github.com/spf13/viper6 projects | reddit.com/r/golang | 6 Apr 2022
Take a look @ Viper
Go Vars – Simple and yet powerful configuration management
4 projects | reddit.com/r/golang | 11 Mar 2022
It have some quirks to read .env file (this and this).
Viper in with AWS Lambda
1 project | reddit.com/r/golang | 8 Mar 2022
After deploying to AWS Lambda, seems like env vars are ignored. I went over to the Viper issues page and found this: https://github.com/spf13/viper/issues/584
I made a twitter bot, who posts daily rankings of the best 10 players in the LEC (League of Legends)
4 projects | reddit.com/r/golang | 1 Mar 2022
Tran - 🖥 Securely transfer and send anything between computers with TUI.
9 projects | dev.to | 10 Feb 2022
Coral, a Cobra fork with nearly all its features, but only 4 dependencies
6 projects | news.ycombinator.com | 2 Feb 2022
The dependency that was dropped has many dependencies that would get added to your project.
What are some alternatives?
godotenv - A Go port of Ruby's dotenv library (Loads environment variables from `.env`.)
envconfig - Small library to read your configuration from environment variables
koanf - Simple, lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
kelseyhightower/envconfig - Golang library for managing configuration data from environment variables
mapstructure - Go library for decoding generic map values into native Go structures and vice versa.
ini - Package ini provides INI file read and write functionality in Go
config - JSON or YAML configuration wrapper with convenient access methods.
goConfig - goconfig uses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.
cleanenv - ✨Clean and minimalistic environment configuration reader for Golang
go-toml - Go library for the TOML file format
validator - :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
env - A simple and zero-dependencies library to parse environment variables into structs.