this post was submitted on 20 Sep 2025
186 points (97.9% liked)

Open Source

40924 readers
680 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] artiman@piefed.social 130 points 5 days ago (4 children)

Yes, codeberg, and it's going to be decentralized soon when forgejo implements federation

[–] Eezyville@sh.itjust.works 53 points 5 days ago

You can self host forgejo as well.

[–] fajre@lemmy.world 8 points 4 days ago

Yes, codeberg, and it’s going to be decentralized soon when forgejo implements federation

amazing!

[–] SteakSneak@retrolemmy.com 3 points 4 days ago

Interesting would something decentralised like this help prevent take downs of fan games by big companies like Nintendo? 😆

[–] Mubelotix@jlai.lu 3 points 4 days ago (3 children)

Well soon is a few years though

load more comments (3 replies)
[–] caos@anonsys.net 55 points 5 days ago (1 children)

@fajre @Codeberg ist "a non-profit, community-led organization that helps free and open source projects prosper. Our services include Git hosting (using @forgejo ), Weblate, Woodpecker CI and Pages."

[–] fajre@lemmy.world 4 points 4 days ago

@fajre @Codeberg ist “a non-profit, community-led organization that helps free and open source projects prosper. Our services include Git hosting (using @forgejo ), Weblate, Woodpecker CI and Pages.”

interesting man, i'll try!

[–] renzev@lemmy.world 44 points 5 days ago (1 children)

Forgejo is an activitypub-enabled Git forge software, and codeberg is one of the largest forgejo instances.

Tangentially related, but git-annex, and, in particular, its sync subcommand are a great tool for storing files and managing git repos across multiple machines (and even just loose drives) in a "P2P" way without any centralised server

[–] Cris_Color@lemmy.world 3 points 4 days ago

Forgejo is an activitypub-enabled Git forge software, and codeberg is one of the largest forgejo instances.

Thank you for this explainer, that's cool as fuck!

[–] duckofdeath87@lemmy.world 2 points 2 days ago (1 children)

What's the benefit of a distributed git host? Are you just trying to distribute the storage costs?

[–] fajre@lemmy.world 1 points 2 days ago (1 children)

Not just storage costs — mainly for privacy, avoiding Big Tech control, and having an open-source, decentralized alternative where I’m not tracked or subjected to ads.

[–] duckofdeath87@lemmy.world 2 points 2 days ago

You can pay for hosting or self host it and get all that. What did being distributed do that?

[–] irotsoma@lemmy.blahaj.zone 23 points 4 days ago (2 children)

I self-host forgejo, it's one of the easiest systems I self-host.

But which features other than a plain git repo are you looking for? That will mostly determine your options. There are tons of git repos, and even just a plain git repo on a server with an ssh tunnel is enough if you don't need anything beyond that.

[–] fajre@lemmy.world 3 points 4 days ago (1 children)

I self-host forgejo, it’s one of the easiest systems I self-host.

But which features other than a plain git repo are you looking for? That will mostly determine your options. There are tons of git repos, and even just a plain git repo on a server with an ssh tunnel is enough if you don’t need anything beyond that.

My main goal is to stay independent from big tech and have full control over my data, but I’m still new to programming (2/8 in Software Engineering).

[–] irotsoma@lemmy.blahaj.zone 2 points 3 days ago* (last edited 3 days ago) (1 children)

Yeah, forgejo will give you many of the features of GitHub. Not the proprietary ones like the Actions Marketplace of course, but a lot of equivalent features. It's lightweight enough though that even if you never use it for anything beyond git, creating pull requests, and some basic CI, it's not going to require much power to run it.

Do you need the public to have access to it? That would be the only reason for federation that I could think of. That's not available quite yet.

[–] fajre@lemmy.world 1 points 2 days ago

Yes, the main reason I’d want federation is for public access and decentralization. For personal or small-team use, running it privately is enough.

[–] plz1@lemmy.world 3 points 4 days ago (1 children)

+1 for forgejo

The only requirement of yours it doesn't hit is "decentralized", since you'd likely be self-hosting it. If you're looking to host git repos, you're likely technical enough to fire up a foregjo container in Docker and go wild with it. Just make sure you have a plan for backups, and you're good.

Theyr're working on the federation too.

[–] nixfreak@sopuli.xyz 8 points 4 days ago

I can’t believe no one said anything about Radicle ? https://radicle.xyz/

[–] chaosCruiser@futurology.today 18 points 5 days ago* (last edited 5 days ago) (1 children)

When I have questions like this, I tend to check this site first. You can also filter the results based on your criteria.

[–] fajre@lemmy.world 7 points 4 days ago (1 children)

OMG, I didn’t know this site, thanks man!

[–] chaosCruiser@futurology.today 4 points 4 days ago

Glad I could help! Have fun with all the alternatives to everything.

[–] devrandom@lemmy.ca 1 points 2 days ago

Game of Trees - https://gameoftrees.org/index.html

Not distributed but definitely meets other requirements.

[–] jutty@blendit.bsd.cafe 16 points 5 days ago (2 children)
load more comments (2 replies)
[–] Zerush@lemmy.ml 10 points 4 days ago
[–] vext01@lemmy.sdf.org 13 points 5 days ago (1 children)

Maybe not exactly what you are after, but: https://sr.ht/

[–] Sxan@piefed.zip 1 points 3 days ago

Why not?

  • something like GitHub Check, only better because it also supports Mercurial
  • without big tech involvement Check
  • no data collection Check
  • no ads Check
  • open source Check
  • preferably decentralized AFAIK, only Forejo checks þis preference, and I'm not even sure how or how well it works

But since it checks every requirement and misses only a preference, I don't know why it wouldn't meet OP's needs.

Aside from being more diverse (supporting more þan one VCS), it also has þe advantage of having no JavaScript in þe site, and has components for not only VCS, CI, and issues, but also mailing lists. And it's composable - you install and run however much or little you need. It's not monolithic. Or, you can use þe hosted option and let sr.ht do þe maintenance work.

[–] notabot@piefed.social 9 points 5 days ago

Git itself is that for the DVCS part, it's easy to host and is decentralized. I haven't used it myself, but hubzilla seems to support wikis and forums in a distributed way. If you needed to, you could manage issues in forums, although it feels like there should be somethings.

[–] artyom@piefed.social 7 points 5 days ago (1 children)
  • Forgejo
  • Gitlab
  • Gitea
  • Codeberg

I'm sure there's more

load more comments (1 replies)
[–] backgroundcow@lemmy.world 6 points 4 days ago* (last edited 2 days ago)

On server:

git init --bare ~/projects/project.git

On client:

git clone username@server:projects/project.git

[–] DieserTypMatthias@lemmy.ml 6 points 5 days ago

Try GitLab. They're independent and free of trackers according to Brave Shields. Though keep an eye out for the storage limits, since GitLab makes you quickly realize that, unlike GitHub, they don't have unlimited storage.

[–] HiddenLayer555@lemmy.ml 6 points 5 days ago (1 children)

No one has mentioned Gitea yet, is there a reason? Genuinely asking.

[–] cypherpunks@lemmy.ml 15 points 5 days ago (2 children)

Gitea has gone open core; it is still free software but its development is controlled by a for-profit company which is developing non-free features. So, Forgejo is the community-run fork of it which people outside the Gitea company are contributing to instead now. You can read more about their divergence here.

[–] HiddenLayer555@lemmy.ml 3 points 5 days ago
load more comments (1 replies)
[–] poldy@lemmy.world 6 points 5 days ago (1 children)

fossil-scm.org

My new favourite tool.

load more comments (1 replies)
[–] trougnouf@lemmy.world 1 points 3 days ago (2 children)

Is there something wrong with Gitlab?

[–] fajre@lemmy.world 1 points 2 days ago

Is there something wrong with Gitlab?

Not inherently—GitLab works fine, but it’s corporate-owned, collects some data, and isn’t fully decentralized. If your goal is privacy, open source, and independence from Big Tech, that’s why people look for alternatives like Gitea, Forgejo, or federated solutions.

[–] Sims@lemmy.ml 3 points 4 days ago

I haven't tried it but Radicle sounds cool ? Radicle is an open source, peer-to-peer code collaboration stack built on Git. Unlike centralized code hosting platforms, there is no single entity controlling the network. Repositories are replicated across peers in a decentralized manner, and users are in full control of their data and workflow.

There are some dev/repo tools, but I don't know how they compare with commercial platforms.

[–] schnurrito@discuss.tchncs.de 4 points 5 days ago (2 children)

GitLab, I am not sure if their own installation hits all points (depends on what you define as "big tech involvement" maybe), but if you self-host it, certainly.

load more comments (2 replies)
[–] anti_antidote@lemmy.zip 3 points 4 days ago (1 children)
[–] fajre@lemmy.world 1 points 4 days ago

interesting!

load more comments
view more: next ›