Replying to Avatar DanConwayDev

https://ngit.dev/relay introducing ngit-relay, a Nostr-permissioned Git / Relay / Blossom Service Protocol. A complete, self-hostable data solution for Nostr Git repositories.

GN 🌳

I just made https://TreeGaze.com, a file browser based on nostr:npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr 's new git server. Since his server is nostr-native we can start doing all kinds of fun other stuff too!

It works on some (not all) repo's with legacy git servers like GitHub too.

https://treegaze.com/bbb5dda0e15567979f0543407bdc2033d6f0bbb30f72512a981cfdb2f09e2747/ngit-repo-explorer

nostr:nevent1qvzqqqqqqypzpgqgmmc409hm4xsdd74sf68a2uyf9pwel4g9mfdg8l5244t6x4jdqqsryepp5m7j4dcnla3hf330z985mf6s4s2tsjhfq0s3s24240rh7lsw86lql

Reply to this note

Please Login to reply.

Discussion

i'll have a look! thanks!

https://treegaze.com/bbb5dda0e15567979f0543407bdc2033d6f0bbb30f72512a981cfdb2f09e2747/ngit-repo-explorer

This probably the same link, but i did get to it via the treegaze.com homepage 🤷‍♂️

It should be fixed now!

The simple reason:

I forgot something on the deployment (redirects).

The technical reason:

It's a single-page application, meaning everything happens on treegaze.com/index.hml and the rest of the link is added with scripts.

Then when you visit the link directly there is no record of that directory on the server and it gives a 404. I added a 404 page that redirects back to indext.hml/path/to/repository

Works

GN 🌙

This is so awesome

Cool!!

Im unable to zap you 👀

🙏Fixed!!

Incredible! This is exactly what I was missing yesterday when trying out the new version of ngit, which comes with support for npub based got servers.

nostr:nevent1qqstmgnyp27y578h8mf5lqd48qn2kffwz2k2dzjq2zlhy4au42vp3fqpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtczyzamthdqu92k09ulq4p5q77uyqeadu9mkv8hy5f2nqw0mvhsncn5wqcyqqqqqqgjg36wq

👀

👍

Is this just a lookup frontend for git repos? Why is the clone link for Amethyst pointing to github.

It lists repositories that are published on nostr using NIP-34. In a NIP-34 repo you list one or more git servers where the code is hosted. Most people just linked it to GitHub.

Amethyst must have stored their nostr repo code on GitHub then.

The problem with using GitHub as a back-end is that people need pretty much kyc'd accounts to participate as a maintainer + each backend has its own user management.

Dan's new server fixed that with auth by nostr, meaning we can manage contributors more easily AND for example make pushes from the browser with just a nostr sign-in. (I want to enable pull-request views and merging here too)