Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 21 lines (13 sloc) 0.58 kb

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.