1
2 Comments

I created a URL shortener that can be entirely hosted on GitHub Pages

https://github.com/nelsontky/gh-pages-url-shortener
submitted this linkon November 19, 2020
  1. 1

    Interesting hack. Wondering if/how you plan to monetize it?

  2. 1

    I was always fixated with URL shorteners and always wanted to write one myself. While it would be easy to write one that works with a server, I loved the idea of hosting and running one for free.
    Thus, I wrote this URL shortener which does not need you to maintain a backend to work at all. It uses GitHub issues as a "database", and unlike most other URL shorteners that do not need backends, this one doesn't need a # prefixed to the alias. (i.e. short URLs look clean like this: nlsn.cf/1 instead of looking like this: nlsn.cf/#1)

    Due to the hacky nature of these scripts, this did gain some popularity on Hacker News . However over the past few days, I was thinking if these scripts would have a purpose beyond impressing people and actually being used by people. So here I am! Hope you guys enjoy this! You can create your own version with your own domain by creating a fork! Let me know if you have a fork and I can add it to the main README!