You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Drake Panzer 315835eded f 11 months ago
nginx configs c 11 months ago
website f 11 months ago
LICENSE c 11 months ago c 11 months ago
database.sql init 11 months ago

Simple Shortener

A super simple url shortener. I wanted a url shortener but all the existing ones were too complicated and I couldn't be bothered to make them work with my existing setup. So I made one that worked for me.


  1. Put this git repo on a webserver
  2. Create a mysql database
  3. Run database.sql on the database
  4. Edit config.php and enter your database credentials


  • I didn't bother to change the mysql statements to prepared
  • For password protection use htpasswd on api.php and admin.php

Forked from by Mathias Bynens