Does it have to be every packet? If a note can be an entire static webpage, seems like the content can be signed and the apps can determine how to display the content.
Discussion
A more interesting thing would be a proxy that serves html notes, no ephemeral events needed. That would be useful for creating an http-to-nostrweb proxies, and allow you to create webpages without hosting. You just lose signature verification but maybe you could serve the signature and other fields in response headers so that the client could verify.
I think nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z made an html spec at one point if I remember correctly?
Would the same approach work for Activitypub protocol?
Tricky, but maybe. AP is an inbox and an outbox. You can use the mostr bridge and ditto for that.
Yep. Was just thinking today what if you could use it direclty in the browser (for AP profiles). The full nostr-AP mode is more complex
Working on it!
Wow!
Yeah, I still believe on that idea. It's basically what npub.pro is doing but keeping their templates also inside of relays. All it needs is a a simple server that offers the event content through HTTP instead of websockets.
NIP draft is here. https://github.com/nostr-protocol/nips/pull/811/files
💯