Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (13 sloc) 580 Bytes

dirserver

It ain't that cool cuz it has vowels.

About

Code spike to serve a directory prettified and recursively using Sinatra.

Uses Twitter's pretty sweet Bootstrap CSS.

Usage

DIRSERVER_ROOT=`pwd` ruby dirserver.rb

Todo

  • Tests? No friggin' tests?
  • Add auth? Or is that better served with a Rack middleware in front of Dirserve? Yes.
  • Move to modular sinatra style from classic style
  • Syntax highlighting... Whoa back, sonny. Now we're getting sassy.
  • Include bootstrap instead of linking
Something went wrong with that request. Please try again.