schort is a tiny link shortener written in python3 and flask
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sqozz eda9cae667 Fix handling of empty requests 5 years ago
data Created empty data folder 8 years ago
static/css Improved flexibility on different zoom and screen sizes 8 years ago
templates Fix url input and mark it as required 6 years ago
tests Fix typo 5 years ago
.gitignore Merge branch 'master' of 8 years ago
LICENSE Initial commit 8 years ago typo in fixed 8 years ago
schort.fcgi Added FastCGI wrapper based on flipflop 8 years ago Fix handling of empty requests 5 years ago
schort.wsgi Added wsgi script 8 years ago

schort - It's just a tiny link shortener

Installation instructions:

  1. Clone this repo into e.g. /opt/schort
  2. Create a user and adjust permissions to write at least into /opt/schort/data
  3. Install requirements (see below)
  4. Configure your wsgi or fcgi server
  5. Configure your webserver that he talks to your wsgi/fcgi server


Module Explanation
Flask Flask handels all HTTP-stuff in this application
sqlite3 In gentoo this useflag needs to be set while compiling python3


The schort.wsgi file can be set as UWSGI_PROGRAM if you use uWSGI. Keep in mind, that the UWSGI_DIR needs to be set to the path where resists. This is because schort is not installed in a global scope. Since schort.wsgi imports it needs his workspace in the same folder.