0.0
No commit activity in last 3 years
No release in over 3 years
Easily shortnen links with your Rails application.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Shortenizer

Shortenizer is a tiny mountable URL shortener for your Rails application.

Installation

  • Install the gem by adding it to your Gemfile.
  • Mount the engine by adding this to your routes file.
  mount Shortenizer::Engine => "/your-preferred-route"
  • Run migrations
  rake db:migrate

Usage

To shorten a link, visit:

  http://your-app-host/your-preferred-route/shorten

To view all the routes that this engine has, run:

  rake routes

Customization

  • If you want to change the style of the form, see the CSS classes used here.

To do

  • Add the abiility for the shortener to be used only for authenticated users.

Contributing

  1. Fork it ( http://github.com/fteem/shortenizer/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request