NIP-50?
Yonle opened this issue · 2 comments
Probably implement NIP-50?
Simply adding search
into filters
object with search query:
["REQ", "search_sess", { "search": "nostr is great", "limit": 100 }]
And then it return EVENTs that normal feed could parse easily
I will definitely implement a search against the local database but probably not nip50 because it is not widely supported. I just checked the 10 relays with the lowest latency for me and none of them advertised nip50 support. This might change in the future so I will leave this issue open.
I just checked the 10 relays with the lowest latency for me and none of them advertised nip50 support.
If you would like, You could check those relays compatibilities by using NIP-11 (or request with Accept
header with application/nostr+json
as value) to those relays,
And you should get the supported_nips
containing nips that the relay could use:
{
"supported_nips": [
// ....
50,
// ....
]
}