Why Nostr? What is Njump?
2024-08-26 15:20:29
in reply to

DanConwayDev on Nostr: this is exactly what I was hoping for. the flow the current git remote helper is ...

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
Author Public Key
npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr