Snort v0.2.0 was tagged. This release contains a full nostr relay in the browser (the worker relay). It works like any other relay on nostr, and allows us to cache content efficiently. This also means that all reactions, replies, and posts are cached in your browser and are always available, even when you are offline. Most of the caching strategies that have been developed thus far have been scrapped and replaced by the worker relay. Additionally, I've added Negentropy support to allow for really efficient synchronization with the worker relay, meaning that very little data is required to stay in sync. This opens the door for a lot of really cool things. As always there are many many many changes so if you're interested in the summarised list you can see them on

Replies (23)

Great and Amazing! I bet on this client and I don't regret it, I recommend it to everyone. Indeed, as soon as possible, I will purchase an address and subscribe professionally, the only thing holding me back is finances. I really like the transparency of the project, being open-source, and the coding live streams.
It’d be cool if we made the relay replication protocol in strfry in to a nip, or some updated version of it’s not quite right. That would let you do offline first and gossip nostr like scuttlebutt and willow do.
Not all relays need to do it, but since some can, and it seems to work, it would be worth documenting it in to a nip so it can get broader support and more folks will know about it.
Big news, I've never attempted either. What sort of storage/performance limits are you seeing with OPFS? My past attempts at general caching with IndexedDB were useless because I didn't want to use too much storage. Also, I was not aware of OPFS. How much of this is in snort/system?
OPFS definitely doesn't have native disk perf, if you use the default DELETE journal mode it can get really slow when inserting events, sometimes 5 or more seconds to write a single event. Query performance is really good, its far better than indexedDB thats for sure
I know it’s more complicated, but at the end of the day, Monero makes so much more sense than bitcoin for the Noster protocol on all clients
No didn't publish it yet. I want to make the interface more relay like, right now it's async rpc pattern but I want to change it to work exactly like a relay
↑