/w.rb

The Super Small Wiki

Primary LanguageRubyMIT LicenseMIT

W.rb - The super small Wiki

The Idea

Make the smallest possible wiki around. For what purpose you might ask? Well none really. Just for fun.

The current implementation includes 19 lines of code for a full wiki, markdown, versioning (with git) and templates.

Code Breakdown:

  • 5 Lines of Controller Code
  • 14 Lines Of View Code

How to Use

Install any dependencies: > sudo gem install sinatra rdiscount

As simple as it gets, run w.rb: > ruby w.rb

Then open up http://localhost:4567