Link shortener running on GitHub Actions and GitHub Pages.
Uses shell script to generate a static site which redirects to an external URL.
Each file in the links/
directory is treated as a link to an external site. For example chrismytton.uk/l/self is a self-referential link back to this repo.
Have a look at the GitHub Actions workflow file to see how it works.
Inspired by this Tweet from @mikeal and the corresponding GitHub repo, which does something similar, but using JavaScript.