Skip to content
Sinatra-like static site compiler.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
data
lib
.gitignore
.gitkeep
Gemfile
Gemfile.lock
LICENSE.md
README.md
fairytale.gemspec

README.md

Fairytale

Fairytale is a Ruby static-site compiler designed to work as closely as possible to the process of building a dynamic site. Building with it is designed to closely resemble building with Sinatra:

# mysite.rb
require 'fairytale'

get '/' do
  "Hello world!"
end

Install the gem and run with:

gem install fairytale
ruby -rubygems mysite.rb

Compiled files go into the ./webroot directory.

Credits

Licensed under MIT, created by Michael Mokrysz. A lot of credit has to go to the Sinatra team.

Something went wrong with that request. Please try again.