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

Open Source

48421 readers
441 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 7 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] artiman@piefed.social 126 points 10 months ago (4 children)

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

[–] Eezyville@sh.itjust.works 51 points 10 months ago

You can self host forgejo as well.

[–] fajre@lemmy.world 8 points 10 months ago

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

amazing!

[–] Mubelotix@jlai.lu 2 points 10 months ago (3 children)

Well soon is a few years though

load more comments (3 replies)
[–] DFX4509B_2@lemmy.org 55 points 10 months ago (1 children)

Yes, Codeberg/Forgejo or even self-hosting a git server. Git itself is decentralized and self-hostable.

[–] lagoon8622@sh.itjust.works 16 points 10 months ago (3 children)

Git itself is decentralized and self-hostable.

This is true but Git is nothing like GitHub really

load more comments (3 replies)
[–] caos@anonsys.net 51 points 10 months 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 10 months 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 10 months 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 10 months 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!

[–] irotsoma@lemmy.blahaj.zone 24 points 10 months 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.

[–] plz1@lemmy.world 3 points 10 months 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.

[–] Emma_Gold_Man@lemmy.dbzer0.com 3 points 10 months ago

Theyr're working on the federation too.

[–] fajre@lemmy.world 3 points 10 months 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 10 months ago* (last edited 10 months 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.

load more comments (1 replies)
[–] chaosCruiser@futurology.today 18 points 10 months ago* (last edited 10 months 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 10 months ago (1 children)

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

[–] chaosCruiser@futurology.today 3 points 10 months ago

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

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

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

load more comments (1 replies)
[–] Zerush@lemmy.ml 10 points 10 months ago
[–] nixfreak@sopuli.xyz 9 points 10 months ago

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

[–] notabot@piefed.social 8 points 10 months 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 10 months ago (1 children)
  • Forgejo
  • Gitlab
  • Gitea
  • Codeberg

I'm sure there's more

[–] breadguy@kbin.earth 2 points 10 months ago

codeberg is forgejo

[–] backgroundcow@lemmy.world 6 points 10 months ago* (last edited 10 months ago)

On server:

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

On client:

git clone username@server:projects/project.git

[–] poldy@lemmy.world 6 points 10 months ago (1 children)

fossil-scm.org

My new favourite tool.

load more comments (1 replies)
[–] HiddenLayer555@lemmy.ml 6 points 10 months ago (1 children)

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

[–] cypherpunks@lemmy.ml 15 points 10 months 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 10 months ago
[–] JohnEdwa@sopuli.xyz 2 points 10 months ago* (last edited 10 months ago)

I wonder when people (especially companies) learn that with open source projects, it's the community and contributors who are in charge and not the "owner". The moment you do something the community doesn't like, they'll fork the project, migrate, and your project is left in the dust.

Few examples off the top of my head - CyanogenMod/LineageOS. Maps me/Organic Maps/CoMaps. OpenOffice/LibreOffice.

If your company/business/project depends on user content, don't piss off the users.

[–] DieserTypMatthias@lemmy.ml 5 points 10 months 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.

[–] schnurrito@discuss.tchncs.de 4 points 10 months 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 10 months ago (1 children)
load more comments (1 replies)
[–] Sims@lemmy.ml 3 points 10 months 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.

[–] duckofdeath87@lemmy.world 2 points 10 months 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 10 months 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 10 months ago

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

[–] jbrains@sh.itjust.works 1 points 10 months ago

worktree.ca

load more comments
view more: next ›