Build elegant, expressive configurations for Ruby applications. Embrace developer happiness with metaprogramming and DSL capabilities directly from your config files.
Replace static YAML configs with expressive, Ruby-powered configuration files that embrace developer happiness.
Execute Ruby code, leverage metaprogramming, and create beautiful DSLs directly from configuration files using powerful @ operators.
Native ActiveRecord, Sequel, and Ruby database gem support. Query your database directly from config files with Ruby elegance.
Built with Ruby\'s philosophy of programmer happiness. Intuitive syntax, expressive code, and delightful development experience.
Drop-in integration for Ruby on Rails, Sinatra, and other Ruby frameworks. Initializers and configuration helpers included.
Create beautiful domain-specific languages for configuration. Ruby\'s metaprogramming powers meet intelligent configuration.
Built-in RSpec and Minitest support with test helpers and mocking utilities for testing configurations and @ operators.
Traditional YAML configs are static files. TuskLang configs are elegant, expressive Ruby-powered configurations.
# Smart Ruby Configuration
app_name: "MyRubyApp"
environment: @env("RAILS_ENV", "development")
# Database with ActiveRecord integration
database {
adapter: "postgresql"
url: @env("DATABASE_URL")
pool: @query("SELECT COUNT(*) FROM pg_stat_activity") + 5
timeout: @optimize("db_timeout", 5000)
}
# Redis configuration with connection pooling
redis {
url: @env("REDIS_URL", "redis://localhost:6379")
pool_size: @learn("optimal_redis_pool", 25)
namespace: @cache("1h", "myapp_#{Rails.env}")
}
# Feature flags with A/B testing
features: @env("RAILS_ENV") == "production" ?
@query("SELECT name FROM features WHERE enabled = true") :
["debug_mode", "developer_tools"]
Works seamlessly with your favorite Ruby frameworks and gems
Web application framework
DSL for web applications
Modern web framework
Routing tree framework
REST-like API framework
Elegant Ruby framework
Install TuskLang for Ruby and start building elegant, expressive configurations