No description
Find a file
2016-12-27 12:55:06 +01:00
.gitignore Add .gitignore 2016-12-27 12:55:06 +01:00
.htaccess Add FastCGI script and htaccess file for deployment 2016-12-27 02:00:34 +01:00
readme.md readme: Add requirements 2016-12-27 01:15:28 +01:00
redirector.fcgi Add FastCGI script and htaccess file for deployment 2016-12-27 02:00:34 +01:00
redirector.py Fix loading of entries at startup 2016-12-27 12:55:06 +01:00
urls.conf.sample Change url file format and default location 2016-12-27 12:55:06 +01:00

Mini Short URL redirect

A small python Flask app to work as a simple URL shortener: It takes a list of short- and destination URLs and does a dynamic HTTP header redirect. The list of redirects is configured in a tabbed CSV file, which is observed for changes using watchdog.

Additionally redirects may be restricted to a certain period of time.

Requirements

Python packages:

  • flask
  • watchdog
  • dateutil