Shlink was installed manually (as of F2022 there is currently no Debian package for it). Its files are in
/usr/local/lib/shlink on caffeine, with a symlink of
bin/cli (the Shlink CLI) to
/usr/local/bin/shlink as recommended by Shlink's docs. Due to Shlink only supporting PHP 8.2, which is in debian-unstable at the moment, the installation and CLI scripts were modified to use the
php8.2 binary installed from
The web client (used to manage shortlinks graphically, the other option being the CLI) sources are located in
/usr/local/bin/shlink/web-client/. Apache is configured (through
sites-real/csc-links) to serve actual shortlinks through csclub.ca (which itself redirects to the CSC homepage) and the web client through links.csclub.uwaterloo.ca.
Links can be managed at links.csclub.uwaterloo.ca, or through the CLI (currently restricted to the
On the next interface, custom slug is the part of the URL that can be customized. If it is left blank, a random 4-character slug will be generated.
csctest parameter to disable tracking on test requests.