Looks like my other reply didn't come through, it didn't occur to me that I could search for topics in the same way. Are you imagining something like `{kinds: [1], search: "#something"}`?
Discussion
Yup! Nostr.band actually has an endpoint for that: https://api.nostr.band/nostr?method=search&count=10&q=#Bitcoin
Hmmm interesting, an even harder dependency. I'll probably do it, but it would be nice if there were a standard so relays could directly support that.
I definitely don't recommend using that http endpoint, just use NIP-50, and w/ hashtags - why not just use '#t':["bitcoin"] filter?
Yeah I just ended up modifying the approach so that rather than only allowing users to add hashtags that are cached, they can follow any hashtag and it filters it like you described.