Nothing forbids people from creating Nostr event kinds with code in them. Kind 5392 could be HTML code, 5393 CSS, and 5394 JavaScript. Then a Nostr-native browser can simply render events as if they were files on a regular webpage. The only difference is that now they can be stored in any existing relay. Do you want to truly decentralize the web? Kill DNS.

Replies (41)

Josua Schmid's avatar
Josua Schmid 2 years ago
I like the idea of typed events, but do you really believe in a decentralized web? The first one was also meant to be decentralized. It ended hyper-centralized.
Agora sรณ falta se tornar pago tambem ๐Ÿ˜๐Ÿ˜๐Ÿ˜๐Ÿ˜
Iโ€™m prevented by being a beginner coder. The only language I know is #python and some #html
FYI, there is already a kind 30053 to replace DNS records in Nostr. Essentially pointing to an nevent gets redirected to an IP. @someone and I were playing with it some months ago. We never finished it, but the idea is promising.
I used to pack/dist my apps as single file html's. Maybe still am, gotta check. Meanwhile the folks over at Delta chat have been researching a distributable/minimal runtime format they call webxdc dot org. Have you seen it?
Keep in mind that most relays limit events in 100K bytes. So having mulitple events to represent a page is better. The concept is very cool! Maybe we can do a renderer in Amethyst for it. We need to figure out how to sandbox the html, though.
Oh, that's actually plenty of space! I'm trying to keep track of all free storages of at least 1K. But yes, bootloading webxdc in amethyst would potentially bring games to nostr/steamstr. Oh boy the deltas would pop a vein ๐Ÿ˜‚
โ†‘