unn4m3d / uws

A tiny Ruby webserver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UWS

A tiny Ruby webserver using WEBrick

VERSION 0.0.1 Alpha

##What is done and what isn't

  • Ruby scripting
  • Markdown rendering
  • Something like .htaccess
  • API documentation
  • Multithreading

##What isn't planned

  • Other languages support
  • Low level implementation

##Quick HowTo

####Launching Do webserver.rb --help to view launch keys

####HTML Just put .html or .htm file into your document root folder

####Ruby Put your .rb file into your document root folder. Note you have 2 variables (request and response) and you must send data to client using response.body = "...", like following :

response.body = "<html><body>TEST</body></html>"

####Markdown Put your .md or .markdown file into document root folder

##Changelog

####0.0.1 Alpha

  • First version

About

A tiny Ruby webserver

License:MIT License


Languages

Language:Ruby 100.0%