mruv = mruby + libuv
mruv is a proof-of-concept for a scriptable web server using mruby. It's designed as single binary toolkit for creating (hopefully fast and secure) dynamic web applications.
- git
- Docker
- GNU/Linux x86
- Clone repository
- Load the dev container in vscode or docker
- Simply open up in github codespace, the full development environment runs nicely in the browser
- statically linked mruby + libuv (single binary)
- proof of concept ruby dsl scripting for callbacks to events, similar to ruby rack config.ru
- libuv TCP socket handling
- http request parsing & response generation
- proof of concept testing in postman
- mruv context handling
- JSON handling library
- MIME handling
- unit testing
- improve c handling + research valgrind / ASAN and other dynamic memory testing tools
- chunked content + streaming (generally, handle as much of http/1.1 spec as possible)
config.rb
def handler(body)
body.reverse
end