Very cool! Possibly, it's not the way I think search should be done ultimately, but it could be a good step toward a complete solution
I have a basic search API working locally now as well using https://search.nostr.wine as the backend. It accepts get requests with optional parameters search (string), kind, pubkey, since, and until.
For example: ?search=cookie&kind=1&since=1680121746 would return any matching kind 1 events in the last 24hours where “cookie” was seen in “content” in json. Would anyone want to use this?
Discussion
We will offer NIP-50 as well just throwing out as many options as possible. Kibana for people who don’t want to use an API, a web option for people who do, and nostr native for the rest.
Also very open to any ideas you might have regarding the future of search if you’d like to share!
Side question: does coracle support NIP-42? I just wrote basic on connection AUTH and would like to try it with some clients.