How it works A URL fragment is the part after #. The HTTP specification prohibits browsers from sending fragments to servers. The server that delivers the page never receives the content, never knows which site you are viewing, and has no way to find out. No content is collected, stored, or logged. The privacy is structural. A site that was never put on a server can never be taken off one. There is no account to susp…
If each copy of the link is a complete copy of the site data, how could a forum work?
nowhere: an entire website encoded in a URL
41–50 of 75 posts
Re: nowhere: an entire website encoded in a URL
#42What's the point? You still have to share the link somewhere, why not just share a block of text (invitation, campaign, whatever) directly instead?
There are also the Pico-8 cardridge format, where a game is stenographically embedded in a PNG https://github.com/l0kod/PX8
And the Piet and Pikt esolanguages where the visuals are the code: https://esolangs.org/wiki/Piet https://github.com/iamgio/pikt
Re: nowhere: an entire website encoded in a URL
#43Re: nowhere: an entire website encoded in a URL
#44Now, the idea that entire apps can be shared via a link in a Signal chat or a QR code on a flier is a fascinating bit of compression and potential for archiving.
Imagine games shared on paper QR codes at a meetup.
Oh but here’s the rub, do you trust the arbitrary code you just scanned off of a QR code? TLS has become a proxy for trusted authorship. “Well if it’s really coming my bank then it’s probably safe”
Re: nowhere: an entire website encoded in a URL
#45Re: nowhere: an entire website encoded in a URL
#46Earlier quoted context omitted.
> Sure, but what's the point then? Seems like .html with extra steps, not to mention that the URL itself won't work. Literally says in the submission title and the website itself: An entire website encoded in a URL. And yes, the domain part of the URL might not work, but whatever URL you use locally would work just as well if you switch the domain, unless I'm missing something. > Now for online, the data is in the UR…
> An entire website encoded in a URL It is very much not, open the network tab on any of the examples, behold.
Ok, using https://nowhr.xyz/s#yzXyzs8PcDbxyQ_0KbYMzzRNytKNyE0JDM0x8zT2... as found in the HN comments as an example.
Not a single one of those requests contain the string "This is a message site. I guess. Just checking.", or did I miss something? All it seems to load is the "website loader", which is the part that decodes the URL (locally) and displays you "the website".
So assuming you have local access to the loader and you have the parts from the URL, you'd be able to load it.
I'm not sure if y'all are consciously misreading how this is supposed to work, or if I'm misunderstanding what y'all are complaining about. It's not "A public internet website can be loaded if you're not connected to the public internet", it's "websites loaded in this way can be loaded this way as long as you have the loader".
Re: nowhere: an entire website encoded in a URL
#47Re: nowhere: an entire website encoded in a URL
#48similar enough that i'll share, I think i learned this from an HN comment, you can put the code for a page in the url (with obvious limits): this works as a "url" in both chrome and safari: data:text/html, notes
This also is quite handy for inlining SVGs in CSS, although I believe you have to mark the encoding as utf-8.
Re: nowhere: an entire website encoded in a URL
#49similar enough that i'll share, I think i learned this from an HN comment, you can put the code for a page in the url (with obvious limits): this works as a "url" in both chrome and safari: data:text/html, notes
javascript:(function(){navigator.clipboard.writeText(`${window.location}#:~:text=${escape(window.getSelection().toString())}`);%20console.log("copied!");%20})();
Pretty useful to share a specific part of a page to someone else.For example it will give you this: https://news.ycombinator.com/item?id=47888337#47888930#:~:te...