overview
Mini Links is a simple URL shortener for my own projects. The way it functions is by having a github pages site where only the 404 page is defined. This way if someone visits a site such as https://dhunt.link/portfolio they are directed to 404.html. From there, the pathname is then used to determine which address the user should be redirected to.
conclusion
While this project is quite simple, it is a creative way to solve the issue without the need for complex architecture or servers managing requests. If this was to be extended such that anyone could create their own shortened links or the number of links became massive, a more complex system would need to be devised.