263
you are viewing a single comment's thread
view the rest of the comments
[-] Whirling_Cloudburst@lemmy.world 72 points 1 week ago* (last edited 1 week ago)

There needs to be a widespread p2p solution for opensource projects before its too late. I have lost count of all the amazing stuff that has been gravity bombed from orbit.

There also needs to be a way for authors to submit things anonymously too and maybe sign their things with cryptographic keys to ID it. How many times has a company had a court order someone to cease and desist or simply acquire somebody's work?

[-] solrize@lemmy.world 81 points 1 week ago

p2p solution for opensource projects

That's called Git and it's been around longer than GitHub. There is also Usenet which by now is mostly dead. People fell for centralized alternatives. Oops :)

[-] OsrsNeedsF2P@lemmy.ml 29 points 1 week ago* (last edited 1 week ago)

Right? Git is literally decentralized. If you choose to use GitHub as a centralized Git service, that's on you.

(I will caveat this by saying we moved 2009scape off GitHub and the number of new contributors probably got cut in half. Mainstream services have a lot more eyes)

[-] LucidNightmare@lemm.ee 6 points 1 week ago

2009scape is wonderful for those like me who need to scratch that RuneScape itch without a subscription. The fact I can play it off of a USB is testament to itself how incredibly awesome you guys are. Thank you for the project, sincerely. :')

[-] Appoxo@lemmy.dbzer0.com 1 points 1 week ago* (last edited 1 week ago)

How come Git is decentralized?
Doesnt it need a central component so I can pull your changes?

Edit: Thanks to all that explained it to me :)

[-] FurryMemesAccount 9 points 1 week ago

You can have arbitrarily many git "remotes": GitHub, gitlab, your own custom forge, etc...

Git a cmd tool only. Your can remote wherever you like.

[-] expr@programming.dev 5 points 1 week ago

Changes can come from anywhere. The Linux kernel itself doesn't use any central repository like Github, it's instead done via emailing patches that are eventually merged into the mainline kernel repository managed by Linus.

It is 100% decentralized.

[-] lka1988@lemmy.dbzer0.com 2 points 1 week ago

mainline kernel repository managed by Linus.

It is 100% decentralized.

But... How does that work? The code has to be stored somewhere...

[-] who@feddit.org 3 points 1 week ago* (last edited 1 week ago)

How does that work? The code has to be stored somewhere…

The code is replicated by everyone who works on it, and on various public and private servers, so you might say it's stored everywhere.

[-] ExtantHuman@lemm.ee 1 points 1 week ago

Sounds like it's centralized around Linus...

[-] expr@programming.dev 1 points 1 week ago

It's just for the "last mile" where code gets packaged up into releases. There's still thousands of developers that have all of the code on their machines as well, it's just that their local repos aren't the ones that end up in the hands of end users.

[-] kuberoot@discuss.tchncs.de 4 points 1 week ago

Fundamentally, the repository you have on GitHub is the same thing as the repository you have on your computer when you clone it. Pulling and pushing are shorthands for synchronizing commits between the two repositories, but you could also synchronize them directly with somebody else who cloned the repository. As somebody mentioned, you can also just host the same repository on two servers, and push to both of them.

The issue is that git doesn't include convenient features like issues, pull requests, CI, wikis, etc., and by extensions, those aren't included in your local repository, so if GitHub takes them down, you don't have a copy.

An extra fun fact is that git can be considered a blockchain. It's a distributed ledger of immutable commits, each one representing a change in state relative to the previous one. Everybody who clones a repository gets a copy of its entire history and fast forwards through the changes to calculate the current state.

[-] Appoxo@lemmy.dbzer0.com 1 points 1 week ago

But to push/pull you'd in theory need to port forward your git server/workstation, right?

[-] thevoidzero@lemmy.world 4 points 1 week ago

Git works through ssh. So you need the same system as sshing into your machine. You just make a user group git and then let git and ssh handle things. And if you don't need people to push to your repo, then it's a lot easier as it's now similar to hosting a website/file server.

[-] kuberoot@discuss.tchncs.de 1 points 1 week ago

Git exposes a lot of internals through odd commands, so I suspect you could manage synchronization by sending changes over email or something.

Bonus fun fact: there's a git bundle command that "dumps" the repository into a single file, that can be interacted with as a remote. So if you're ever working with a local repository and want to put it on a server over ssh or something like that, you can just create a bundle, scp it over, and clone from that on the server.

[-] Womble@lemmy.world 27 points 1 week ago

Git is, but it has no process of discovery or hosting by itself. Those are needed to efficiently share open source software to large numbers of people.

[-] Appoxo@lemmy.dbzer0.com 18 points 1 week ago

You'd think Usenet is dead.
It's not.

[-] Scrollone@feddit.it 1 points 1 week ago

Oh boy it's not! But mainly for binaries

[-] WhyJiffie@sh.itjust.works 1 points 1 week ago

git is clearly not p2p in the needed level or else we wouldn't have faced this problem

[-] ChickenAndRice@sh.itjust.works 7 points 1 week ago

I found https://radicle.xyz/ but I've never used this technology before. Maybe someone can shed some light?

[-] vividspecter@lemm.ee 7 points 1 week ago

It's not always takedowns either, just the developer deciding to nuke their own repos. Real annoying, although it's making me more vigilant about forking/mirroring important repos.

[-] muusemuuse@lemm.ee 5 points 1 week ago

I2p has a git service

this post was submitted on 29 Apr 2025
263 points (100.0% liked)

Technology

69804 readers
2844 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS