Global Feed Post Login
Replying to Avatar Kieran

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 https://snort.social/about

Avatar
hzrd149 1y ago

Is the `@snort/worker-relay` package on npm? I looked and couldn't find it anywhere

Reply to this note

Please Login to reply.

Discussion

Avatar
Kieran 1y ago

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

Avatar
hzrd149 1y ago

cool, cant wait to test it out.

also here is the code I wrote to make my worker relay talk like a normal relay https://github.com/hzrd149/nostr-idb/blob/master/src/relay/relay-message-bus.ts

Thread collapsed
Thread collapsed