Replying to Avatar fiatjaf

nostr:npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr what do you think of having this scheme -- or something like it -- natively supported in your git remote helper and nipped?

this is exactly what I was hoping for. the flow the current git remote helper is expecting is very similar to your video:

* song has a white list of npubs that can create repositories (just sk 79 in this example?)

* create git repo locally: `git init && echo "example" > README.md && git commit -am "initial commit"`

* create git announcement `ngit init --identifier my-repo --relays wss://git.oursong.com/npub123/my-repo --clone https://git.oursong.com/npub123/my-repo`

* `git remote add origin nostr://npub123/my-repo?relayhint=git.oursong.com | git push -u`

* song will receive the receive the state announcement nostr event which will authorise the push

Reply to this note

Please Login to reply.

Discussion