Custom URL shortener https://fwdkr.co/
Go to file
Florine W. Dekker f03fed4bb9
Fix page description and application title
2021-11-25 21:06:39 +01:00
dist Fix page description and application title 2021-11-25 21:06:39 +01:00
.gitignore Ignore IPs and add configs for GoatCounter 2021-05-03 20:05:16 +02:00
LICENSE Replace inline JS with meta tag template method 2021-06-09 19:41:15 +02:00
README.md Ignore IPs and add configs for GoatCounter 2021-05-03 20:05:16 +02:00

README.md

fwdkr.co

A custom URL shortener.

Requirements

Development

# Run local PHP web server
$> cd ./dist
$> 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. The database at .links.db is automatically created when you visit the main page.

Configuration

phpLiteAdmin

You may override settings from phpliteadmin.php in the file phpliteadmin.config.php.

GoatCounter

GoatCounter is disabled unless the .goat.token and .goat.url files exist.

  • Add your GoatCounter API token with "Record pageviews" permission in the .goat.token file.
  • Add the URL of the /count API endpoint in .goat.url, e.g. https://example.com/api/v0/count.
  • Add IP addresses that should not be counted to .goat.ignore, separated by newlines.