What's the name of a caching relay that runs in the browser? #asknostr
Login to reply
Replies (3)
i want to know also, because i just looked into it and it would have to have been written in browser native javascript to achieve this, to do it with WASM the native runtime doesn't have any notion of being able to write to files
there is WASI, but i couldn't find a WASI that can be loaded into a browser runtime to enable full filesystem capability
why is this important? because otherwise you can only store the events in a remote network connected database, and not in the browser, which defeats the point
There is this one and a WASM rust SQLite option which is a bigger binary but can support more events. For gitworkshop I'm working on using an in memory idb db which UI components use, which gets populated via queries to a local storage idb and remote relays.