mikedilger / gossip

Gossip is a nostr client
Other
693 stars 77 forks source link

Relay panel "test relay" with results #889

Open mikedilger opened 5 hours ago

mikedilger commented 5 hours ago

There are now far too many "rulesets" for relays out there. It is very difficult for a user to choose their relays for (inbox, outbox, DM, discovery, spamsafe)

I propose we have a relay tester. It probes the relay, tries to put an event on it, tries to read the event back, reads the NIP-11, and makes its best judgement as to whether the relay is appropriate for (inbox, outbox, DM, discovery, spamsafe). Then people can just press the 'test' button and wait for the result, and if inbox gets a tick, they can maybe choose it as an inbox.

mikedilger commented 4 hours ago

@bu5hm4nn we will want to change the relay_entry to make space where the NIP-11 data is for three outcomes, each with an icon next to it, maybe like this (@dtonon can decide):

✅ Inbox ❌ Outbox ? DM

I haven't decided where it will pull data from yet, just mock something up and I'll plumb it when it is ready.