Ruby on Rails to Lucky on Crystal: Blazing fast, fewer bugs, and even more fun.

https://hackernoon.com/ruby-on-rails-to-lucky-on-crystal-blazing-fast-fewer-bugs-and-even-more-fun-104010913fec

Ruby on Rails to Lucky on Crystal: Blazing fast, fewer bugs, and even more fun.

I love Ruby and I love Rails, but I’ve found myself searching for something more. Something fast so I don’t need to add caching. Something type-safe so customers see fewer bugs. Something fun to use so I actually enjoy building applications.

Totem: Crystal configuration with spirit.

totem-logo

https://github.com/icyleaf/totem

What is Totem?

Configuration file formats is always the problem, you want to focus on building awesome things. Totem is here to help with that.

Totem has following features:

Load and parse a configuration file or string in JSON, YAML, dotenv formats. Reading from environment variables. Provide a mechanism to set default values for your different configuration options. Provide an alias system to easily rename parameters without breaking existing code. Write configuration to file with JSON, YAML formats. Uses the following precedence order. Each item takes precedence over the item below it:

  • alias
  • override, explicit call to set
  • env
  • config
  • default

Totem configuration keys are case insensitive.