Why Nostr? What is Njump?
2024-09-02 14:33:18
in reply to

DanConwayDev on Nostr: Here is a suggestion for updating the nostr:// git standard based on needs emerging ...

Here is a suggestion for updating the nostr:// git standard based on needs emerging from usage:
nostr://ssh/npub123/relay.damus.io/my-repo
nostr://npub123/my-repo?relayhint=relay.damus.io&server-protocol=ssh
nostr://naddr123*
*no support for specifying server protocol
note that `git clone nostr://...` will name the directory with anything after the final `/` unless a directory name is specified.
I personally think the first format has the best balance of conciseness and readability. To articulate it more precisely, rather than by example, it is:
`nostr://<optional-protocol/<required-npub>/<optional-relay>/<optional-relay-2..n>/<required-identifier>`
I'd love some feedback before implementing.
Author Public Key
npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr