schort is a tiny link shortener written in python3 and flask
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
sqozz eda9cae667 Fix handling of empty requests vor 1 Jahr
data Created empty data folder vor 3 Jahren
static/css Improved flexibility on different zoom and screen sizes vor 3 Jahren
templates Fix url input and mark it as required vor 1 Jahr
tests Fix typo vor 1 Jahr
.gitignore Merge branch 'master' of https://github.com/Sqozz/schort vor 3 Jahren
LICENSE Initial commit vor 3 Jahren
README.md typo in README.md fixed vor 3 Jahren
schort.fcgi Added FastCGI wrapper based on flipflop vor 3 Jahren
schort.py Fix handling of empty requests vor 1 Jahr
schort.wsgi Added wsgi script vor 3 Jahren

README.md

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

Requirements:

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

µWSGI

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 schort.py resists. This is because schort is not installed in a global scope. Since schort.wsgi imports schort.py it needs his workspace in the same folder.