Skip to content
/ nyara Public
forked from luikore/nyara

Fast, slim and fuzzy ruby web framework + server, based on preforked event queue and Fiber. NO rack NOR eventmachine are used.

License

Notifications You must be signed in to change notification settings

hooopo/nyara

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Not Yet Another Ruby Async web framework and server.

Build Status

  • Evented IO while API remains synchrony
  • Prefork production server, mixing a bit blocking operations won't block other users
  • Sinatra-like http method and scanf-like http path and path helper
  • Request format matcher with just case ... when
  • Easy to stream the view with Fiber.yield

Getting started

Requirement

  • BSD/Linux/Mac OS X
  • Ruby 2.0.0 or higher
  • 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

Documentation

Caveats

License

BSD 3-Clause, see copying

About

Fast, slim and fuzzy ruby web framework + server, based on preforked event queue and Fiber. NO rack NOR eventmachine are used.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 61.8%
  • C 32.5%
  • C++ 5.7%