Setup your own Firefly URL shortener in 2.5 minutes
I’m going to assume that you have
git installed on your computer and that you have an already working Heroku account. If not, sign up here for Heroku first.
I’ll be referencing to a
my_firefly_dir in this guide. You can just pick a name during step 2 and it will be created for you.
gem install heroku
git clone git://github.com/ariejan/firefly-heroku.git my_firefly_dir
- Use the URL returned by
heroku createand use the FQDN (xxxx.heroku.com) to configure the
set :hostname, 'xxxx.heroku.com'
- Change the API key in
config.ruto something more secure.
- Commit your changes with
git commit -am 'Updated hostname and apikey'
git push heroku master
- Done! Open your app with
So, there’s no excuse not to try Firefly now! Use the included bookmarklet to quickly shorten URLs from your browser or use the
firefly-client gem to enable shortening in your own application!
Please, let me know if you did a succesfull install of Firefly and what you think about it.