Skip to content

pklaus/bottle-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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').

Backends

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

Resources

  • This code is loosly based on the shortener contained in urltotwit.

About

A tiny URL shortener written using Bottle and running on Python 3.3+

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published