darashi / nos.today

Nostr NIP-50 search web client
https://nos.today
MIT License
18 stars 3 forks source link

noswhere.com and nostr.wine #10

Open fiatjaf opened 1 year ago

fiatjaf commented 1 year ago

Apparently these two relays also support NIP-50 search. It would be good to have them added to the default list of searchable relays.

darashi commented 1 year ago

Thank you to informing me!

relay.noswhere.com does not seem to be working at this moment. It might be a temporary failure, or I have the wrong address?

❯ echo '["REQ", "_", {"search":"noostr"}]' | websocat --no-close wss://relay.noswhere.com
["NOTICE","internal error on filter 0"]
["EOSE","_",{"debug":["filters: ok","ok"]}]

filter.nostr.wine requires NIP-42 authentication and nos.today doesn't support NIP-42 (and NIP-07):

❯ echo '["REQ", "_", {"search":"test"}]' | websocat --no-close wss://filter.nostr.wine
["AUTH", "2e6f85e2-982a-41e3-8b16-4d842e3d86a7"]

nostr.wine does not support NIP-50:

❯ echo '["REQ", "_", {"search":"test"}]' | websocat --no-close wss://nostr.wine 
["NOTICE","ERROR: bad req: unrecognised filter item"]

Anyway I didn't know about relay.noswhere.com and will try again later!