What's the name of a caching relay that runs in the browser? #asknostr

Reply to this note

Please Login to reply.

Discussion

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

yeah, of course it's javascript, look at lal that blue

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.