Skip to content

lopatar/link-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

link-shortener

Simple link shortener that allows for custom URL codes, written using own PHP-SDKv2

Features

  • Optional custom URL codes
  • Realtime url-code availability checking using javascript

Try me

s.lopatar.dev

Requirements

  • PHP 8.2
  • Composer
  • MariaDB/MySQL server
  • Web server (routing all requests to public/index.php)

Installation

  • Clone repository
  • Run
composer install
  • Import DB scheme
  • Edit DB credentials in App/Config.php
  • Route all requests to public/index.php
  • Done!

Routing requests to index.php

  • NGINX
    root /path/to/public;
    index index.php;

    location / {
        try_files $uri /index.php$is_args$args =404;
    }

About

Simple privacy respecting link shortener with support for custom URLs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors