Custom URL shortener
https://fwdkr.co/
|
||
---|---|---|
.gitignore | ||
LICENSE | ||
README.md | ||
goatcounter.php | ||
index.php | ||
links.php | ||
links.sql | ||
phpliteadmin.php |
README.md
fwdkr.co
A custom URL shortener.
Requirements
- PHP 7.3+
- PHP cURL
- PHP Multibyte String
- PHP SQLite 3
Development
# Run local PHP web server
$> php -S localhost:8080 ./index.php
Installation
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.
You may override settings from phpliteadmin.php
in the file phpliteadmin.config.php
.
Add your GoatCounter API token with "Record pageviews" permission in the
.goat.token
file.
The database at .links.db
is automatically created when you visit the main page.