This was a quick two hour project inspired by shortlinks such as amzn.com or goo.gl. This is not a URL shortener, but rather a directory. Pass in a key, and get a redirection to another page.
I used Next.js to be able to host for free on Vercel with no extra hassle. For storage of the redirection urls, there is a json file containing them at ./data/links.json
.
- orciu.ch - Redirects to my landing page of m.orciuch.org
- orciu.ch/g - Redirects to my Github profile
- orciu.ch/l - Redirects to my Linkedin profile