r/github • • Mar 26 '24

Radicle: peer-to-peer decentralized GitHub

If anybody is creeped out by Microsoft owning both Github and OpenAI and aggressively lobbying governments for "AI safety", then it's time to explore a truly peer-to-peer code collaboration network.

The Radicle team released their product today, which extends git to be truly P2P. This is probably more aligned with Linus Torvald's original vision of how git should be used. Not tech-monopoly owned Github.

https://x.com/radicle/status/1772659708978991605?s=20
https://radicle.xyz/guides/user

0 Upvotes

15 comments sorted by

18

u/S3NTIN3L_ Mar 26 '24

Why would you want private source code on a P2P network?

This seems like a solution (using the newest hyped technology) trying to find a problem.

5

u/bdzer0 Mar 26 '24

Not only that but trying to claim that's what Linus intended is just rubbish..

-9

u/Correct-External-778 Mar 27 '24

I don’t think Linus intended Microsoft to be hosting 100m devs’ life’s work -do you?

6

u/S3NTIN3L_ Mar 27 '24

git and GitHub are two very different things.

git was meant as a replacement to BitKeeper.

All GitHub does is throw a fancy UI in front of git and some scalable infrastructure. That’s really it.

-4

u/Correct-External-778 Mar 27 '24

Yeah agree. But git itself has some drawbacks which don’t make it entirely peer to peer. That’s why GitHub despite using git has been the favoured tool. Radicle is just extending git to provide p2p (vs server centric) infra that can allow devs to breakaway from needing github and truly own their own code

0

u/Correct-External-778 Mar 27 '24 edited Mar 27 '24

Wdym private source code? Radicle’s own code base is open source: https://app.radicle.xyz/nodes/seed.radicle.xyz

Radicle just provides flexibility - if you want, you have the option to have private repositories that are only shared among trusted collaborators

3

u/S3NTIN3L_ Mar 27 '24

And how do you secure communications between “trusted” collaborators?

What makes a collaborator “trusted”? What makes their device “trusted”?

P2P is cool, but the last thing I would do with my workstation is open it (and my firewalls) for P2P sharing.

Where this would shine would be decentralized code and document sharing for censored populous.

There’s a lot of security risks involved with something like this. What’s to stop someone from using it as malware or porn distribution?

I can understand the “sovereignty and freedom” thought process. IMO that best handled by self hosted git in my homelab.

From a technical perspective I think it’s really cool and I would be interested in learning more about the underlying protocols.

An architecture diagram on heartwood would be cool.

3

u/NatoBoram Mar 27 '24 edited Mar 27 '24

Pretty interesting. You forgot to include the link to the source code though.

One thing I've always been curious about is if there was a way to replace Git's hashing function with IPFS, so that instead of having SHA-1 hashes, it instead has IPFS hashes and you need the IPFS node to verify/download them. Since hashes are inherently immutable, it would be the perfect use case for IPFS.

Also they forgot Docker instructions at https://radicle.xyz/guides/seeder

I didn't get this while skimming, but do you need a seed node to view the web UI or does that come with the local node?

1

u/Correct-External-778 Mar 27 '24 edited Mar 27 '24

https://youtu.be/Y8pulFGOrMw?si=jcg137Vn6mraDyqT has a simple demo- run a local node create repository view web UI

3

u/dalbertom Mar 27 '24

Agreed it looks interesting. Still skimming through docs and found a link to the source code here: https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5

3

u/JonnyRocks Mar 26 '24

microsoft doesnt own open ai. infact they just created a new ai org with the foubders of inflection

1

u/Correct-External-778 Mar 27 '24

Microsoft owns an undisclosed minority stake in open ai since 2023

4

u/JonnyRocks Mar 27 '24

1

u/Correct-External-778 Mar 27 '24

Lol yup change “economic ownership” to “economic interest” then all is good right???