Not Yet Another Ruby Async web framework and server.

Build Status

  • Faster than any web framework on rack
  • Nonblock, low CPU and memory usage
  • Prefork production server, mixing blocking operations is fine
  • Route actions with scanf-like DSL
  • Simple request format matcher with just case ... when
  • Easy to stream the view with Fiber.yield

Getting started

Requirement

  • System: BSD/Linux/Mac OS X
  • Interpreter: Ruby 2.0.0 or higher
  • Compiler: GCC or Clang

Install

gem ins --pre nyara

Edit a file, name it nyahaha.rb for example

require 'nyara'
get '/' do
  send_string 'hello world'
end

And start server

ruby nyahaha.rb

Document

Participate

Caveats

License

BSD 3-Clause, see copying

Contributors

  • luikore
  • hooopo