github.com/navid-m/silver
master / published Jan 12, 2026 / repository
Gods web framework
Silver
Example usage
require "silver"
app = Silver::App.new
app.html(Silver::Method::GET, "/") do |ctx|
"<h1>Hello from Silver Web Framework</h1>"
end
app.json(Silver::Method::GET, "/json") do |ctx|
%({"message": "hello world"})
end
app.run(8082)