This is a very primitive URL shortening service. It runs on Python3 and can use any collection that looks like a Python dictionary to store its data ('backend').
Currently it ships with the following data store backends:
- Python dictionary
All shortened URLs are lost when restarting the service. - SQlite-Dictionary FileDict for Python 3
Persistant storage in a database file. - redis Plugin
Fast storage in memory (RAM)
Persistance is possible via AOF (journal).
Other ideas for backends:
- memcached & pylibmc no persistance!
- any of these
- This code is loosly based on the shortener contained in urltotwit.