A sinatra app porting of tinyurl