This website is hosted by Nostr relays: https://nostr-webserver-3c29f7957ffe.herokuapp.com/e/1efc13c6ffbaf60c0347baf89f6ecaad22f74abf82165fcdb55ef7e8cca8a597 The HTML (kind 5392), JavaScript (kind 5394), CSS (kind 5393), and Images (Kind 1965/1964) are all hosted inside several relays and can be moved to any other relay if needed by simple broadcasting. One day browsers will fetch nostr:<id> directly. And then we won't need domain names or fixed servers anymore. Code is here:

Replies (100)

I am still amazed by the actual code: Look at the CSS + JS imports! :) <html lang="en"> <head> <meta charset="UTF-8"> <title>Nostr Web Test</title> <link rel="stylesheet" type="text/css" href="7ccda059f9f4b7ddfe8e39aa4f3a41f2c262bfee9203b5894eff36a8f9499a05" /> </head> <body> <div class="background-text" id="msg">HELLO, Nostr</div> <script src="4885034c358f0f3e57bfa3018685801e49d4a384c828c6ad0f384fbacd19d941"></script> </body> </html>
Now, add proper documentation, so people can start making tons of websites. :)
"One day browsers will fetch nostr:<id> directly. And then we won't need domain names or fixed servers anymore" fucking genius well done!
Default avatar
nobody 2 years ago
IPFS has to crawl a DHT to find someone who has a piece of content. This would go directly to a relay with the info.
I'm sold! I'm sure there will be some limitations, but LFG! Wen nostrfox? Maybe forking an entire browser would be overkill at first and an extension that hijacks the address bar would be enough.
Adam Snyder's avatar
Adam Snyder 2 years ago
Oh look. #anarchy. #grownostr #bookstore #wisdom From "Little Town on the Prairie" image
Default avatar
nobody 2 years ago
You smart ppl make me think and look to no avail lol. Not on PR tab. Unmerged, or WIP I get it. I like mistery 🪄🎩
Default avatar
nobody 2 years ago
Makes total sense after jaxb, soap, json, and protobuf payloads. Simple json stuff anything in content. Architects always overkill lollll
Impervious.ai has been going this route with forking a browser, might be the simplest way to have it implemented: an existing product still early in development
And also open source of course, but I'm sure they'd be very into integrating nostr
It is slow, you are right. What about the immutable nature of regular events? Would that turn Nostr to a version control as well? Are IDs in this case mutable or immutable? Because on a larger projects changing all the links all the time would be a bit hard.
Nostr Devs are beasts. And Vitor are on such beasts among beasts These guys are just too cool for words. Freaking amazing At first I thought "lol, Bitcoiner actually made decentralized social media that actually works, the thing which many shitcoin promise and never deliver" And now. Decentralized website is a thing on nostr. All without a Token We owe nostr Devs and Bitcoin Devs a ton. In the future their name should be etched in history as the one that liberate us from centrallization of power. #nostr #bitcoin #dev #amethyst #plebchain View quoted note →
Yeah, Craig Steven Wright fck it up. Maybe that's why new WP translations aren't added on the list 🤔 Ok now we seriously need nostr based Bitcoin.org like websites. That's perfect example whob is showing the need for this... View quoted note →
trout's avatar
trout 2 years ago
So images are stored as base64? And everything else (html, is, css) is stored as text?
trout's avatar
trout 2 years ago
Why a browser? Why couldn't the web server stitch all the content together on-the-fly and serve it like any other static content?