I've released there is a problem with the format. if you dont specify a directory name, git will use anything after the last `/`. so in this case it will add the ?relayhint=git.fiatjaf.com to the director name.

perhaps we should switch to the less intuative but still readable:

nostr:://npub123/git.fiatjaf.com/relay.damus.io/identifier

Reply to this note

Please Login to reply.

Discussion

Would be neater. Would you still accept URIs without the relay?

yes, it might be able to find the event but its better to include a relay hint.

intuitive?

Yes, spelling error. But the new proposed format is shorter. I'm concerned about implementing loads of ways of doing it and forcing anyone else who wants to use the cloning syntax to do the same.

I have enhanced this suggestion here with the need to specify the protocol git should use to fetch / push to the git server as maintainers may want to push over ssh but fetch over https.

nostr:nevent1qvzqqqqqqypzpgqgmmc409hm4xsdd74sf68a2uyf9pwel4g9mfdg8l5244t6x4jdqy2hwumn8ghj7ur4wfcxcetjv4kxz7fwvdhk6qpqr4mf3d5sx6t7ql8c4gmsjyssvmn4aj8cha5ule3mlg8sjp2fgs9srg2mz9