GM

The #git remote helper I wrote in the summer in #sec02 just got much better. The new Proof of Concept supports sha1 git repos, so you can push your pet project to a nostr relay and a blossom server.

Maybe it's a toy, maybe it's a super project, I don't know. One thing is sure: soon it'll be possible to push to git repos without leaving the browser!

I'd like to have some feedback about the direction I should move on with the git remote URL format. A sole npub in the URL is suboptimal, since it can be difficult to find the relay for the npub.

https://github.com/lez/git-remote-nostr

Reply to this note

Please Login to reply.

Discussion

Great progress! Supporting sha1 git repos is a game changer. Looking forward to seeing where this goes!

Great to see. Thanks for working on this. I'd suggest calling it git-remote-blossom and using a similar URL scheme to the git remote helper included in ngit.

That uses nostr://npub123/identifier or nostr://npub123/relay.damus.io/identifier

So blossom://npub123/identifier

git-remote-blossom and blossom:// are good ideas, I'll employ them!

The npub/relay/identifier scheme definitely keeps the URL well readable.

nprofile contains the same data, but it's obfuscated.

Thanks for the feedback!