Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.78 kb


A zero-configuration URL shortener for Heroku. More info coming soon.

The goal is to create a live URL shortener doing only the following:

git clone git://
cd hero-shorten
heroku create
git push heroku master

And then be able to access it by going to


If you would like to password protect the admin section (http://your-shortener/-/), you can set the ADMIN_USERNAME and ADMIN_PASSWORD heroku env variables by using the heroku config:add command:

heroku config:add ADMIN_USERNAME=someusername ADMIN_PASSWORD=somepassword


  1. Add bookmarklet
  2. Add validations to make actual URLs are being submitted
Jump to Line
Something went wrong with that request. Please try again.