logoalt Hacker News

Why developers are ditching GitHub for Codeberg and self-hosting alternatives

209 pointsby Gedxxtoday at 8:22 AM139 commentsview on HN

Comments

joriswtoday at 9:15 AM

Sentiment for/against GitHub aside...

"Why X are doing Y" articles like these pretend that the premise of "X are doing Y" is true, conveniently skipping to the "Why" before proving that the premise is even accurate in any meaningful way.

This is why I never buy headlines that start out with "Why".

> developers are ditching

Proceeds to list but a handful of remotely meaningful repos against the hundreds of thousands on there

show 9 replies
hambos22today at 9:25 AM

It's been 9 months since I ditched Github.

Currently I self-host Gitea [0], use its registry for Docker, NPM etc and act runners [1] for github actions alternative, everything secured under tailnet.

I'm extremely satisfied with that setup. It is batteries included & fire and forget.

Now I use Github only as backup by mirroring my self hosted repos.

[0] https://gitea.com

[1] https://docs.gitea.com/usage/actions/act-runner

show 5 replies
benthecarmantoday at 8:58 AM

Our CI for our entire org at https://github.com/lightningdevkit was turned off for 3 weeks because an outside contributor who was wrongfully banned made a PR. After multiple appeals we received no explanation and was told it was a permanent ban until we made a stir on twitter. They sadly are no longer a good place to work.

My_Nametoday at 10:34 AM

As a developer who ditched Github and decided to self-host, there is only one reason. It's not technical difficulties, politics, nor AI. It's Microsoft. Like Apple, Facebook etc, I have a deep loathing for Microsoft and I want to remove as much of it from my life as I am able.

I now run Git on a pi using Gitea and Forgejo. I can now upload files of a size unheard of in GitHub, Claude can make a PR by itself that I can diff, edit, then merge, and even with the mighty power of a single pi 3b+, it feels more responsive.

show 2 replies
littlecranky67today at 9:41 AM

Mostly because developers (me included) don't like to be told we are being laid off due to AI that was trained on our free open-source hobby projects.

show 1 reply
TekMoltoday at 9:56 AM

The appeal of GitHub for me is not only in the git hosting, but also in codespaces. It gives me:

    1: An easy way to start a VM
    2: A one-click solution to access it via private https access
So for development, I dont need to dabble with spawning my own Hetzner VM or something. And I also do not have to dabble with getting a temporary domain and DNS so I can set up my own letsencrypt certs and point the domain to that VM.

I can just write an index.html, execute "sudo python -m http.server 80", click the link that then opens to something.app.github.dev and test my new web application.

This is why codespaces make starting a new product idea a thing of like 1 minute instead of 1 hour for me.

5701652400today at 9:08 AM

+ predatory pricing hikes for AI

+ not honouring yearly commitments plans

Scaledtoday at 9:31 AM

For private code, it just feels safer to self host that -- ideally behind wireguard for an extra layer of security.

For public code hosting, GitHub have banned too many people/projects for comfort. From security researchers to 18+ game devs, too many have been wrongfully banned.

inkysigmatoday at 10:43 AM

Given more code hosting services, I wonder if we'll also see a corresponding increase in the number of alternative VCS or if git is legitimately very entrenched as a tool. I am just being a bit grouchy but I do wish there was more development of alternative VCSs. pijul at least looks cool even if I don't know if it scales well. Git LFS can be somewhat finicky to work with so maybe we'll see perforce like systems. It's obviously not the most practical thing to have a variety of very different VCS's and definitely a PITA to learn multiple tools but git does seem somewhat suboptimal given the number of anecdotes about people just re-cloning the repo. I was recently trying jj and it seemed to work well (excluding the lack of LFS support) so here's hoping.

qweqwe14today at 10:24 AM

You'd be surprised how easy it is to self-host GitLab with Docker Compose, GitLab has an official "Omnibus" Docker image. No need to handicap yourself with Gitea/Forgejo/whatever, you can just use an industry-standard platform without much effort.

Hardware requirements are nowhere close to high either.

show 2 replies
kgeisttoday at 9:54 AM

We've been self-hosting GitLab for about a year now, and I don't remember it ever going down or being unavailable. We self-host almost everything else too (except for online meetings), and it's all been pretty stable as well. Some of the tools we self-host do go down occasionally, but it's usually just a matter of restarting the VM or adding more storage.

show 2 replies
getcrunktoday at 11:36 AM

Today GitHub blocked me until I turned Apple private relay off. I wasn’t logged in

frabcustoday at 10:12 AM

I'm trying sourcehut at the moment https://sourcehut.org/ and it seems really good - very simple and fast. And does seem to be free for hosting open source projects.

Anyone else used it and have thoughts on it?

show 3 replies
sreantoday at 9:32 AM

Anyone has suggestions for hosting open source hobby projects managed with Mercurial.

Loved Bitbucket's Mercurial offering. Looking for a replacement.

show 1 reply
rmnulltoday at 10:00 AM

Genuinely curious here for someone who has tried self hosting git and has found it a pita to maintain...i want to know what is it that devs are flocking to other platforms and how are we sure that they won't pull all the red card signals that github is said to pull off.

show 2 replies
ahmedehab_01today at 9:29 AM

Extreme generalization, most devs aren't ditching GitHub yet.

show 1 reply
ezoetoday at 9:03 AM

I guess three nines availability is important.

show 2 replies
intunderflowtoday at 10:48 AM

FYI that Codeberg is currently holding a vote to broadly ban projects written mostly using AI, so its not a neutral space for hosting your projects like GitHub: https://codeberg.org/Codeberg/org/pulls/1253 https://tldr.nettime.org/@tante/116880003584050912

show 2 replies
klaussilveiratoday at 9:47 AM

We ditched GitHub for self-hosted Forgejo and could not be happier. The experience is smoother, faster and distraction-free.

feverzsjtoday at 9:44 AM

It's pretty much broken by AI. Not only your private repos are not private, but also the LLM will leak them.

fmind-devtoday at 9:37 AM

It reminds me of the time where I deployed Gitea for self-hosting my git projects. In the end, nobody wanted to use it beyond myself. I would love to have a true federation protocol for Git, to decentralize the solution further.

Havoctoday at 9:27 AM

Im just glad the wider world has finally snapped out of their GitHub mono culture trance.

ciefatoday at 10:22 AM

I'm hosting my own Forgejo instance and it's great. Coolify as well :) It's fun!

latexrtoday at 8:58 AM

> One new user joins every second

Do they? Or is it that a new account is opened every second? Because I’ve been seeing so many spammers and scammers that those numbers have to be skewed.

robtoday at 9:14 AM

People are going to copy GitHub the way people copied Facebook… how is "Threads" doing again?

show 1 reply
Cider9986today at 9:07 AM

Why don't open source alternatives just copy the UI to make it easier to switch? Everyone knows the GitHub UI and it's intuitive. I'm happy to get more privacy and freedom, you don't have to make a worse design just to be different.

Fluxer figured this out and they're the best discord replacement imo.

https://fluxer.app/

show 7 replies
akimbostrawmantoday at 11:39 AM

Switching from one centralized git repository to another that also injects political messaging into URLs without consents.

j45today at 11:35 AM

Github for open source was always my favourite part of it.

Github for private repos has long had security issues, every time a serious issue announced it makes me wonder how long it's quietly existed and been exploited, and how many other holes are currently exploited that aren't well known.

Before github, people hosted their own repos all the time. Learning about alternatives, even if they aren't for you in all cases, is still worth it.

Has anyone had any issues with codeberg or other alternatives?

iamwiltoday at 9:43 AM

Anyone tried tangle as a replacement? Verdict?

onesandofgraintoday at 9:24 AM

self-hosted gitea/forgejo is still better

BrenBarntoday at 9:17 AM

So sad to see that no articles about this even mention Mercurial. This is a golden opportunity for Hg providers to shine.

show 2 replies
fragmedetoday at 10:04 AM

No affiliation, but http://code.storage gets my vote.

submetatoday at 11:24 AM

For those who moved away from GitHub: do you miss the social/discovery side of it?

I mean things like comments on issues/PRs, stars, followers, finding existing repos, seeing which projects are popular, and getting drive-by contributions.

Or does that matter less than I imagine once you self-host and mirror public repos back to GitHub/Codeberg?

show 1 reply
Madmallardtoday at 10:00 AM

I think and hope we see a lot more of this before the adversarial imperative returns from the company side.

People using Claude Fable to just make replacements for disgustingly enshittified software. We desperately need browser extensions to help make websites less scummy across the board as well.

glub103011today at 11:35 AM

[dead]

Capitanaitoday at 10:04 AM

[flagged]

takaki2today at 10:17 AM

[flagged]

antonyragleaptoday at 9:21 AM

[flagged]

saltanatttoday at 11:33 AM

[dead]

qrooletoday at 8:58 AM

[flagged]

dachworkertoday at 10:08 AM

[dead]

cryo32today at 9:00 AM

I've ditched Github for all personal stuff. I just keep my repositories offline. I have a reliable backup process so what's the point in pushing it there? I don't give a shit about public profile, stars or any of that gamified crap and I certainly don't trust them.

sneaktoday at 8:59 AM

Did we all forget that GitHub’s military-industrial complex owners over at Microsoft made sure to send the “business as usual” signal to the USG when they refused to stop helping ICE violate human rights en masse?

This was during the kidnap-and-rape-kids-in-cages days and before they started a general policy of kidnapping and/or summarily executing law-abiding citizens in the street. There are more reasons now to disassociate with collaborators with the US federal government than ever. I guess I could say I dropped GitHub before it was cool?

https://github.blog/news-insights/company-news/github-and-us...

https://github.com/sneak

Microsoft is a morally bankrupt and despicable organization, just like Meta, Amazon, and modern Google and Apple. Anyone still doing ongoing business with them in 2026 is, imho, a fool.

show 4 replies