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 (36)

Progressive web applications are a functionality that allows you to transform your website into a standalone app, behaving just like a regular app. It is also cross platform.
someone's avatar
someone 2 years ago
I think relays can start publishing their IP with their pubkeys at some point..
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
Ruben Storm's avatar
Ruben Storm 2 years ago
PWA, how secure is it? It the key online then or is it offline saved on login!
Why not just have one kind for HTML as it natively embeds the two other? As for DNS, I think you gotta tear down SSL/CAs hierarchy as well.
Separate kinds was just easier to parse in my case. But it could be just one. Yep, CAs are fully controlled by the state. So, sign me up :)
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 ๐Ÿ˜‚
โ†‘