Show HN: I created a URL shortener that can be entirely hosted on GitHub Pages
1–10 of 182 posts
Re: Show HN: I created a URL shortener that can be entirely hosted on GitHub Pages
#2Thus, I wrote this URL shortener which does not need 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)
I haven't had the time to work on it more but do let me know what you guys think! Thank you and hope yall enjoy it!
Re: Show HN: I created a URL shortener that can be entirely hosted on GitHub Pages
#3Re: Show HN: I created a URL shortener that can be entirely hosted on GitHub Pages
#4I 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 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…
You might want to detect infinite loops as well :) https://nlsn.cf/6
Last note, the status code seems to be incorrectly set to 404 instead of any of the redirection status code. If you're hosting it on GitHub pages, I'm not sure you can actually control it. If the status code was correctly set + the Location header, I think all browsers would be able to detect the infinite loop automatically and prevent it.
Re: Show HN: I created a URL shortener that can be entirely hosted on GitHub Pages
#5I 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 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…
Re: Show HN: I created a URL shortener that can be entirely hosted on GitHub Pages
#6What if some of shortener domain so popular that Github takes some action? Like block or ban?
Re: Show HN: I created a URL shortener that can be entirely hosted on GitHub Pages
#7Re: Show HN: I created a URL shortener that can be entirely hosted on GitHub Pages
#8https://news.ycombinator.com/'" />
in the header.
Re: Show HN: I created a URL shortener that can be entirely hosted on GitHub Pages
#9Re: Show HN: I created a URL shortener that can be entirely hosted on GitHub Pages
#10I 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 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…
Looks nice and simple! Bit strange to claim "there is no database" and then add "GitHub issues is the database", maybe add "there is no traditional RDMS/document database needed" or something similar. You might want to detect infinite loops as well :) https://nlsn.cf/6 Last note, the status code seems to be incorrectly set to 404 instead of any of the redirection status code. If you're hosting it on GitHub pages, I'm…
By the way, your feedback is good for author improves. Thank you.