getShorty is a php based url shortener built for my own personal use. It is built using 'flight' and mongoDB. The shortener supports multiple domains with customization allowed at the domain level.
Demo shortener can be found at: http://dblpl.us/
Links can also be shortened programmatically by sending post commands to the getShorty app vis POST. For Example:
import urllib, urllib2, json
data = {'longURL':'http://www.yahoo.com','api':'1'}
data = urllib.urlencode(data)
resp = urllib2.urlopen('http://dblpl.us/', data)
resp = json.loads(resp.read())
print resp
- Start playing: http://www.youtube.com/watch?v=BI23T9hLInQ
- Ensure MongoDB and PHP Mongo Extensions are installed.
- Git clone repo to your local directory
- Start shortening!