Snaker is a Python based simple url shortner the Django framework.
- Python 2.7, 3.4, 3.5 and 3.6 (recommended)
- Django 1.8 LTS, 1.9, 1.10, 1.11 LTS, 2.0 (recommended)
- MySQL (recommended), Oracle Database and SQLite and etc.
-
download the pacakge or fork the package or git clone https://github.com/erishforG/snaker.git
-
python3 pip install -r requeriments.txt
-
vi ~/snaker/snaker/settings.py to change each values (*specific information will be bellow)
-
python3 manage.py run server
-
visit http://127.0.0.1:8000
BASE_URL = base site url
BASE_TITLE = base site title
BASE_DESCRIPTION = base site description
BASE_IMAGE = base site image
-
REDIRECT_IMAGE = redirect page base image
-
REDIRECT_THUMBNAIL = redirect page thumbnail logo below REDIRECT_IMAGE
-
REDIRECT_TIME = redirect delay time
- UTM - a simple code that you can attach to a custom URL behind the original code in order to track a source, medium, and campaign name
choose your database and set your name, host, id, pw and etc.
MIT