Skip to content

Another url shortener wrote on Java with Play! Framework

Notifications You must be signed in to change notification settings

tildedash/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

url-shortener is a simple url shortener. Crazy no ?

See an example here : http://jvf.li

Installation
- Install Play! Framework 1.1 or 1.2 http://www.playframework.com
- Install Redis 2.x.x
- clone this repository
- configure the app in conf/application.conf to setup your redis server.
- run "play start" on root directory and that's all :)


API :
Just call HTTP GET method on http://jvf.li/api/shorten?longurl={your_url_encode_url}
Note : Your url must be url encoded.
This url shortener support Cross Origin Resources Sharing (CORS), so you can use it in you own website with ajax call.
But be carefull, some browser, like IE doesnt support CORS.

About

Another url shortener wrote on Java with Play! Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published