Shorty URL is written in the Sinatra ruby framework. More on Sinatra here: www.sinatrarb.com
Requirements:
-
Ruby 1.8.7+
-
Rubygems
-
Sqlite
Set up:
git clone git://github.com/chrisledet/shorty_url.git bundle install bundle exec ruby app.rb -p 3100
View at: localhost:3100 and bang!