Custom URL shortener https://fwdkr.co/
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.
Florine W. Dekker
||4 months ago|
|dist||4 months ago|
|.gitignore||2 years ago|
|LICENSE||1 year ago|
|README.md||2 years ago|
A custom URL shortener.
- PHP 7.3+
- PHP cURL
- PHP Multibyte String
- PHP SQLite 3
# Run local PHP web server $> cd ./dist $> php -S localhost:8080 ./index.php
Copy these files into the desired directory.
There's a few hardcoded URLs in there that you'll have to fix yourself.
One day I'll create a config file for that.
The database at
.links.db is automatically created when you visit the main page.
You may override settings from
phpliteadmin.php in the file
GoatCounter is disabled unless the
.goat.url files exist.
- Add your GoatCounter API token with "Record pageviews" permission in the
- Add the URL of the
/countAPI endpoint in
- Add IP addresses that should not be counted to
.goat.ignore, separated by newlines.