elfinsurl is a free and open source URL shortener built with javascript
To short a URL , make a JSON POST request to www.elfinsurl.tk/new
Request JSON should like:
{
"url":"Your long url"
}
Using CURL:
curl -X POST -H 'Content-Type: application/json' -i 'http://www.elfinsurl.tk/new' --data '{
"url" : "Your long url goes here"
}'
Response:
{
"original_url": "Your long url",
"short_url": "elfinsurl.tk/shortcode" //your short url
}
To use that short url just open it in browser and done!.
Note: Short URL will last for only 6 months period
MIT