RailsConfig
RailsConfig | ansible-dhall-jsonnet | |
---|---|---|
1 | 2 | |
2,080 | 6 | |
0.2% | - | |
7.0 | 0.0 | |
about 1 month ago | over 3 years ago | |
Ruby | Dhall | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
RailsConfig
-
Config variables gem
Arguably the OG config gem https://github.com/rubyconfig/config
ansible-dhall-jsonnet
-
What Is Wrong with TOML?
Maybe you'd like jsonnet: https://jsonnet.org/
I find it particularly useful for configurations that often have repeated boilerplate, like ansible playbooks or deploying a bunch of "similar-but" services to kubernetes (with https://tanka.dev).
Dhall is also quite interesting, with some tradeoffs: https://dhall-lang.org/
A few years ago I did a small comparison by re-implementing one of my simpler ansible playbooks: https://github.com/retzkek/ansible-dhall-jsonnet
-
Intercal, YAML, and Other Horrible Programming Languages
A few months ago I explored using Dhall and Jsonnet to re-write an Ansible playbook [0,1]. I wanted to like Dhall, but found the type system got in the way more than it helped, while Jsonnet was very productive and a huge improvement over YAML.
[0] https://www.kmr.me/posts/dhall_jsonnet
[1] https://github.com/retzkek/ansible-dhall-jsonnet
What are some alternatives?
dotenv - A Ruby gem to load environment variables from `.env`.
Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages 🚀
Figaro - Simple Rails app configuration
wasp - The fastest way to develop full-stack web apps with React & Node.js.
Settingslogic - A simple and straightforward settings solution that uses an ERB enabled YAML file and a singleton design pattern.
config - configuration library for JVM languages using HOCON files
Econfig - Flexible configuration for Ruby applications
dhall-lang - Maintainable configuration files
Configatron - A super cool, simple, and feature rich configuration system for Ruby apps.
ShellCheck - ShellCheck, a static analysis tool for shell scripts
Global - "Global" provides accessor methods for your configuration data
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!