A very simple url shortener based on sinatra and redis.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Gemfile
Gemfile.lock
LICENSE
README.md
config.ru
shorty.rb

README.md

Shorty - a simple url shortener, based on sinatra and redis

Run locally

  • Start redis
  • Change the redis url in shorty.rb and install deps via bundler
  • ruby shorty.rb

Run on heroku

heroku create
heroku addons:add redistogo:nano
git push heroku master