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
csctest parameter to disable tracking on test requests.