Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

URL Shortener written in Python/Django

branch: master

Rem: travis

latest commit e3aa3f1c0b
Florent Viel authored
urlizr Fix: admin
.drone.yml Add: drone build file
.gitignore gitignore
LICENSE adding GNU/GPL V3 license
Procfile Fix: req
README.md Rem: travis
manage.py Mod: move manage
requirements.txt Fix: req
README.md

Build Status

Installation

Settings.py

The you can start the dev server by launching:

pip install -r requirements.txt
export DATABASE_URL="mysql://user:pass@host/db"
python manage.py syncdb
foreman start

API (WIP)

This URL shortener also provide a useful API to integrate in your website You can retrieve shortened URL in raw, json or xml format just via this url:

http://<your host>/api/translate/<method>

You just have to pass POST parameters with url containing the url you want to shortened

Something went wrong with that request. Please try again.