But this also exposes to scams.
Adding a NIP-05 to the mix could solve the problem, but a good format is not easy to spot:
nostr://_@vitorpamplona.com@amethyst
?? haha
I would use ngit to search the repos, and let git the usual clone command (or invoke it from the search)