Replying to Avatar So Tachi

Sneak preview for the new nostr:nprofile1qqs8wfkyxlx00y0kmmvhmwkps3hxyqv7t77jfapwnke0vs8jx8pupxsx8yfv2

All the Nostr logic has been moved to a web-worker and rewritten in go-wasm.

The UI thread only job is to render what the worker is sending it, notes that are already parsed, filtered, decoded etc...

The web worker is acting like a local server.

https://video.nostr.build/116ce3db565aa08bd7d37cbc1a836e8240e93bbb34cf07fec533f4fd2c5f6461.mp4

I think that this is how every web nostr client will be written eventually, everything else makes little sense performance and even dev simplicity wise

Reply to this note

Please Login to reply.

Discussion

Eventually yes, I’ll extract the web worker into a library, the nip worker library

awesome! great work man