nowhere: an entire website encoded in a URL (hostednowhere.com)

54 points by bpierre 2 hours ago

38 comments:

by foltik an hour ago

> The internet promised freedom. Platforms delivered permission.

> Private through physics. Not through policy.

Goodness, LLM really convinced itself this was groundbreaking.

You could describe a .html file sitting on your computer with all of the same marketing bluster.

Someone has to send it to you all the same, and you might as well not rely on some random internet service to render it??

by bronxpockfabz an hour ago

> hosted nowhere

> present everywhere

> Still here when the internet isn't

I'm afraid the OP may not have full understanding of how internet works. This is either some kind of a post irony, or some vibe code fever dream.

Either way, I'm deeply confused.

by embedding-shape an hour ago

I guess in theory if this is packaged as a PWA (or the old-school way, a single .html with everything needed inside of it) you could actually run this anywhere and without internet access easily.

Besides loading the frontend resources, is there anything else that wouldn't work? Seems like a simple idea, so as long as the assets could be loaded, you'd be able to "load" the "apps", wouldn't you?

by bronxpockfabz 39 minutes ago

Sure, but what's the point then? Seems like .html with extra steps, not to mention that the URL itself won't work.

Now for online, the data is in the URL already, publicly available (unless shared privately), and the "loader" is still served from the server, so you have to trust the server not to exfiltrate the data.

by embedding-shape 28 minutes ago

> 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 URL already, publicly available (unless shared privately), and the "loader" is still served from the server, so you have to trust the server not to exfiltrate the data.

Yes, the data is in the URL, seems to be the single point of this entire project. I don't seem to find any "server" doing anything of worth here, all the meat really sits in the client-side code, which you can serve however you like, might even work through file://, haven't tried it myself.

by bronxpockfabz 20 minutes ago

> An entire website encoded in a URL

It is very much not, open the network tab on any of the examples, behold.

by brazzy an hour ago

The technology is interesting and has some merit, but the way it's communicated is clearly style (and grand, vague claims) over substance.

by oleggromov a few seconds ago

If you could only send a text message...

by Igor_Wiwi 39 minutes ago

I am using similar method to share Markdown files as one big URL like this: https://mdview.io/#mdv=N4IgbiBcCMA0IBMCGAXJUTADrhzWOAtgnjgMQ...

by wateralien an hour ago
by tasuki 35 minutes ago

Thank you! I looked through their damn webpage (hosted very much somewhere) and they didn't link a single example!

by zane__chen an hour ago

I don't see any demo.

But would this mean encoding the entire dist folder after build step?

by toyg an hour ago

If I understand correctly, when a nowhere URL is pasted in a browser, what happens is:

1. the browser downloads generic JS libraries from the main site

2. these libraries then decode the fragment part, and transform it into the UI

If that's correct, someone still has to host or otherwise distribute the libraries - hence why you need the app to use it while offline (it ships the libraries).

This is not criticism, I'm just trying to get my head around how it works.

by rrvsh an hour ago

I think it still fulfills the brief; the website you are accessing is still hosted "nowhere". Very cool concept, just read about fragments on the MDN docs a couple month ago

by nchie an hour ago

But dependencies are part of a website? It literally says "Still here when the internet isn't." - but I can't go on there without an internet connection?

by jdiff 43 minutes ago

Service Workers can cough up this stuff even without a connection, provided you already visited the site once before. This is how sites like Twitter still load their bones even without a connection.

by embedding-shape an hour ago

> Very cool concept, just read about fragments on the MDN docs a couple month ago

Crazy to hear someone reading about something today, that been around since the 90s and probably is one of the first parts you touch when doing web development, but I guess you're just another one of the 10K lucky ones :) (https://xkcd.com/1053/)

by anonymous1e an hour ago

Where is the URL???? any example/demo.

by brazzy an hour ago

https://hostednowhere.com/ actually contains a webapp that allows you to build such URLs for a handful of site templates

Yes, it's not communicated very clearly.

by fainpul an hour ago

Similar to mdview.io (markdown only, not offline) and a suggestion I made a while back:

https://tinyurl.com/mrpas5dc

by anonymous1e 44 minutes ago

This is cool and fun, but the sites created by this wouldn't be accessible through search engines as its not hosted anywhere.

So, its just like sending your sites link through email/whatsapp or any other channel. I don't know what the real usecase for this idea could be!!!!

by hoppp an hour ago

Could just share a file then?

by cagenut an hour ago

similar 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, <html contenteditable><head><title>notes</title></head><body><textarea rows=36 cols=140></textarea></body></html>
by jefc1111 42 minutes ago

I like these. I have one which gives you a little HTML playground. It's in my favourites and I use it quite a lot for jotting things down.

data:text/html,<pre onkeyup="(function(d,t){d[t]('iframe')[0].contentDocument.body.innerHTML = d[t]('pre')[0].textContent;})(document,'getElementsByTagName')" style="width:100%;height:48%;white-space:pre-wrap;overflow:auto;padding:2px" contenteditable></pre><iframe style="width:100%;height:48%">

by jdiff 40 minutes ago

This also is quite handy for inlining SVGs in CSS, although I believe you have to mark the encoding as utf-8.

by ivanjermakov 42 minutes ago

LLM agent discovered plain text and base64 encoding?

by Markoff an hour ago

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 suspend, no host to pressure, no platform that can decide your content should not exist. Each copy of the link is a complete copy of the site data.

Site creators can encrypt the URL itself with a password. Even possessing the link reveals nothing about what is inside.

https://github.com/5t34k/nowhere

by embedding-shape 42 minutes ago

> A site that was never put on a server can never be taken off one. There is no account to suspend, no host to pressure, no platform that can decide your content should not exist. Each copy of the link is a complete copy of the site data.

Unless that site A is encoded in a format that only one other site B on the internet can decode and "serve" (even if it's all client-side) so whoever wanted to block site A would just block site B as a whole.

by jdiff 38 minutes ago

If each copy of the link is a complete copy of the site data, how could a forum work?

by oersted 17 minutes ago

> For orders, messages, and real-time coordination, Nowhere uses Nostr relays as communication infrastructure. Relays see only encrypted data they cannot read, arriving from ephemeral keys they cannot trace, sent from a nowhere site they cannot identify.

by card_zero an hour ago

That's great. Be sure to make these sites into a webring, so that each one can link to the next and thus to all the others.

by brazzy an hour ago

> The server that delivers the page never receives the content, never knows which site you are viewing, and has no way to find out.

Technically true, practically a lie. Because that server delivers the Javascript which decodes and presents the content, and that Javascript absolutely has the ability to inspect, modify/censor, and leak the content (along with fingerprints of the browser).

> no host to pressure, no platform that can decide your content should not exist.

Except for https://nowhr.xyz, which becomes a single point of failure for all of these sites...

by wateralien 42 minutes ago

You download the app in case that site goes down.

by halfcat an hour ago

Was this forked from the nocode project?

https://github.com/kelseyhightower/nocode

by ajsnigrutin an hour ago

What's the point?

You still have to share the link somewhere, why not just share a block of text (invitation, campaign, whatever) directly instead?

by fsiefken 9 minutes ago

Yes! It's similar to people sharing a simple url within a QR code only. I find it insulting and inconvenient - i can remember or jot down and type in a url - i don't need a smartphone to do that. In theory you could put a small html/website in a dense QR code, that would be truly offline - it's a similar thing.

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

by anonymous1e 35 minutes ago

Oh, yeah! Its not will get indexed by search engines as well.

I think its just for fun :)

Data from: Hacker News, provided by Hacker News (unofficial) API