Shotn is a url shortening application. The application accepts a long url and returns a shorter url that's much easier to remember. Alternatively, you can provide a custom string that will be used in the url.
E.g http://stackoverflow.com/questions/1722749/how-to-use-rspecs-should-raise-with-any-kind-of-exception/1722839#1722839
becomes:
http://shotnr.com/L
You can access the live version on http://shotnr.com
- Shortens a long url to a much shorter one and easier to remember
- Can accept a vanity string to provide a customised url
- User is able to edit the customised url and change the details.
- User can disable and enable shotlinks at will
- Gives statistics on how many times the shotlink has been used
- Shows the top users on the application based on their total clicks
- Shows the recent and popular shotlinks
git clone https://github.com/andela-akabiru/shotnr.git
cd shotnr
bundle install
rake db:setup
rails serve
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
1. cd shotnr
2. bundle exec rake
- The application only accepts a custom string of length > 5 characters
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git add -A && git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
This project is licensed under the MIT License - see the LICENSE.md file for details