How would you imagine that? Search by name, profile etc?
My usecase is to implement a user search in a client where you can find users by any keyword from their profile. There are not many clients that do a good job here because you need a search index on all the user profiles (primal and nostr.band work well). A user inputs an arbitrary text (single or multiple words) The DVM searches in - name, display_name, nip05 (partial matches) - about (fulltext) - website (not sure if necessary) tags should match even if the # is not specified in the search string. The DVM should return a list of n users (limit could be specified, default 10 or 20?) that match the criteria.
Wondering if it would be enough to return just the npubs or even return the metadata fields right from the DVM. Would be faster to render the results then.
I think it's possible to sync all profiles at least from some relays. i accidently stored 120k profiles in the browser yesterday, so should be possible to hold then in a DB and search the DB locally on the Dvm. I can set something up, if you wanna help, always welcome. About the return, I think it depends how its defined, but it should probably be consistent with notes, or we add an option to choose what should be returned.
Sure, I am happy to help. Since I am starting from zero (in terms of DVMs) I appreciate you setting up the first steps.
I made a first version of this DVM. You can try it with the bot @NostrAIDVM for now. Will add this somehow to the website as well. DM it with 15 Amethyst and it should show all users with amethyst in their profile.