I created a simple outbox selection method for applesauce that averages about 30 websocket connections for the 311 pubkeys I follow who have published NIP-65 outbox relays.

Super excited to start using it as a drop in outbox model for smaller web apps

It doesn't take relay "quality" (online, speed, etc) into account so the apps will still have to account for those things, but it manages to get nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6's notes, so thats proof it works 😁

https://cdn.hzrd149.com/3e4233f3757c4796b93adcb8363955cd48b3ec8a69cb72ec27913f71b9d80a84.webp

Reply to this note

Please Login to reply.

Discussion

👀

It's not proof it works unfortunately because my notes are being slurped from my relays to nostr.band, Primal etc almost immediately now. Maybe I should switch to other relays.

A better test would be if you get all notes in order from nostr:npub137gavftkelnara27cx56uchxr6qxvf4ragjfpe8qmlsl64kwrf3q34fpat, but I think that is being synced too.

It worked, I entered your pubkey and it found (via index relays) the relays for the movie and it selected the relay for it along with all your contacts

I also followed and entered my pubkey and it selected the same relay along with relays for my other contacts :D

Example

https://hzrd149.github.io/applesauce/examples/#outbox/relay-selection