What does HackerNews think of urlpages?

Create and view web pages stored entirely in the URL

Language: JavaScript

#9 in CSS
#10 in HTML
#110 in JavaScript
#5 in PHP
If you want to make clickable links with this code, you can use URL Pages.

https://github.com/jstrieb/urlpages

It's a small JavaScript application to store entire web pages in URLs. I made it after learning that links with data URLs are no longer clickable.

The limits are definitely shorter now. I also checked when I created URL Pages [0], which hosts entire web pages in the URL.

However there is a link shortener that is quietly hosted by GitHub called https://git.io that doesn't seem to have a length limit as far as I've discovered. [1]

0: https://github.com/jstrieb/urlpages

1: https://jstrieb.github.io/posts/git-io

Having written two apps that do this, I can confirm that it is an amazing technique, and criminally underutilized! My projects store and render entire pages from the URL and encrypt URLs (respectively):

https://github.com/jstrieb/urlpages

https://github.com/jstrieb/link-lock

I spent some time looking at similar specs for more recent browsers, but wasn't able to find anything useful. This was for a proof-of-concept I made that stores entire web pages in URLs (creatively named "URL Pages") by base64-encoding them and putting them in the URL fragment (the part after the "#").

https://github.com/jstrieb/urlpages

The URLs this thing generates get pretty damn big sometimes, since I never got around to implementing compression. I can confirm that massive URLs from pages with inline images do work, but probably take some not-so-optimized code paths because they make my computer's fans spin up. Click at your own peril:

https://git.io/Jss7V

I made a simple, single-page site with some ASCII art [0]. But because the page is entirely stored in the URL it will exist as long as one of us keeps the link [1]. It wasn't overly difficult, but she appreciated the gesture!

[0]: https://git.io/JJ1Ta

[1]: https://github.com/jstrieb/urlpages

This was posted on HN a while ago: https://github.com/jstrieb/urlpages

Not blogging specific, but it allows you to encode web content into the URL.

Very cool! I created urlpages [0] as a proof-of-concept with a similar goal. It is always interesting to read about how others try to solve the same problem.

[0]: https://github.com/jstrieb/urlpages