tynn Build Status Code Climate

A thin library for web development.

Description

Tynn is a thin abstraction on top of Syro, a very simple and fast router for web applications.

Usage

Here's a minimal application:

# config.ru
require "tynn"

Tynn.define do
  root do
    res.write("Hello World!")
  end
end

run(Tynn)

You can run rackup and open http://localhost:9292/ to see the greeting message.

Installation

$ gem install tynn

Contributing

  • Fork the project.
  • Use make install to install dependencies.
  • Use make test to run the test suite.
  • Create a pull request with your changes.

You can install the gems globally, but we recommend gs (or gst if you're using chruby) to keep things isolated.