the domain is an address, yes, but the username is a qualifier that has to be separated
you don't want to have issues with this:
nostr://lez@example.com/somerepo
conflicting with
nosttr://dave@example.com/somerepo
Login to reply
Replies (2)
In your example, example.com is the NIP-05 provider, and not the git server, right?
If you want to specify user for the git server, it is currently done in parameters:
nostr://dave@example.com/somerepo?username=davesgitserveruser and this long username is used for the URL specified in the repo event as "clone" tag.
The way it works:
there is a URL nostr://lez@nostr.hu/identifier?username=gitusername
1. NIP05 resolved to npub + NIP05 relaylist
2. NIP05 relaylist is REQ'd for {authors: [npub], #d: [identifier], kinds: [30617]}
3. Repo is cloned from the 30617 event's clone tag, using 'gitusername' from original URL