Moving from GitHub to Codeberg, for lazy people

jslakro 568 points 282 comments March 26, 2026
unterwaditzer.net · View on Hacker News

Discussion Highlights (20 comments)

unwoven

> The by far nastiest part is CI. GitHub has done an excellent job luring people in with free macOS runners and infinite capacity for public repos Yup and this is where I pass on anything other than GitHub.

InitialPhase55

Might be more difficult for people with private repos, as I recall Codeberg doesn't like private repos on their platform.

INTPenis

Lazy has nothing to do with it, codeberg simply doesn't work. Most of my friends who use codeberg are staunch cloudflare-opponents, but cloudflare is what keeps Gitlab alive. Fact of life is that they're being attacked non-stop, and need some sort of DDoS filter. Codeberg has that anubis thing now I guess? But they still have downtime, and the worst thing ever for me as a developer is having the urge to code and not being able to access my remote. That is what murders the impression of a product like codeberg. Sorry, just being frank. I want all competitors to large monopolies to succeed, but I also want to be able to do my job/passion.

mplanchard

I've been mostly off the GitHub train since the MS acquisition, and think any alternative is a good alternative. Codeberg is great. I've also been very happy with sourcehut for most of my personal projects for some time. The email patch submission workflow is a tad bit unfamiliar for most, but IMO in today's era raising that barrier to entry is mostly a good thing for OSS projects. I also strongly prefer a simple CI environment (where you just run commands), which encourages you to actually be able to run your CI commands locally.

rvz

This was kind of predictable [0] and even self-hosting your own solution was done way before GitHub existed and now has better uptime than them. Now they are turning GitHub into a canteen for AI agents and their AI chatbots (Copilot, Tay.ai and Zoe) to feed them on your code if you don't opt out. > The by far nastiest part is CI. GitHub has done an excellent job luring people in with free macOS runners and infinite capacity for public repos Hosting was never free and if you do not want Codeberg to go the way of GitHub, you need to pay for it. Otherwise expect GitHub downtime to hit every week or so. [0] https://news.ycombinator.com/item?id=22867803

woodruffw

I think evaluating alternatives to GitHub is going to become increasingly important over the coming years. At the same time, I think these kinds of migrations discount how much GitHub has changed the table stakes/raised the bar for what makes a valuable source forge: it's simply no longer reasonable to BYO CI or accept one that can't natively build for a common set of end-user architectures. This on its own makes me pretty bearish on community-driven attempts to oust GitHub, even if ideologically I'm aligned with them: the real cost (both financial and in terms of complexity) of user expectations around source forges in 2026 is immense .

999900000999

GitHub gives you a lot for "free". In exchange they'll have no problem harvesting your data, and it would really surprise me if they aren't training on private repos too. I guess you can opt out and if they're opt out doesn't work oh well. On the other hand Codeberg doesn't let you create private repositories at all. So Copilot could still legally scrape your open source Codeberg repos. I don't see much of a point for most people. https://docs.codeberg.org/getting-started/faq/ >If you need private repositories for commercial projects (e.g. because you represent a company or are a developer that needs a space to host private freelance projects for your clients), we would highly recommend that you take a look at Forgejo. Forgejo is the Git hosting software that Codeberg runs. It is free software and relatively easy to self-host. Codeberg does not offer private hosting services.

noirscape

I don't dislike Codeberg inherently, but it's not a "true" GitHub replacement. It can handle a good chunk of GitHub repositories (namely those for well established FOSS projects looking to have everything a proper capital P project has), but if you're just looking for a generic place to put your code projects that aren't necessarily intended for public release and support (ie. random automation scripts, scraps of concepts that never really got off the ground, things not super cleaned up), they're not really for that - private repositories are discouraged according to their FAQ and are very limited (up to 100mb). They also don't want to host your homepage, so if GitHub Pages is why you used GitHub, they are not a replacement. Unfortunately I don't think there's really an answer to that conundrum that doesn't involve just spinning up your own git server and accepting all the operational overhead that comes with it. At least Forgejo (software behind Codeberg) is FOSS, so you can do that and it should cover most of what you need (and while you're in the realm of having a server, a Pages-esque replacement is trivial since you're configuring a webserver anyway .) Maybe Gitlab.com, although I am admittedly unfamiliar with how Gitlab's "main" instance has changed over the years wrt features. Here's their FAQ on the matter, it's worth a read: https://docs.codeberg.org/getting-started/faq/

mrbluecoat

Is there a "Moving open source search from GitHub to XYZ, for lazy people"? When I'm looking for solutions to problems that open source might be able to solve, I find the fracturing of code hosting platforms an annoyance.

throwa356262

Codeberg is not a 1-1 replacement for github/gitlab but for many people it is a better option. I really wish there was a way to support with them a smaller amount then €24. I dont use codeberg myself but I really want to support them.

ponkpanda

Repo hosting is the kind of thing that ought to be distributed/federated. The underlying protocol (git) already has the cryptographic primitives that decouples trust in the commit tree (GPG or SSH signing) with trust in the storage service (i.e. github/codeberg/whatever). All you need to house centrally is some SSH and/or gpg key server and some means of managing namespaces which would benefit from federation as well. You'd get the benefits of de-centralisation - no over-reliance on actors like MS or cloudflare. I suppose if enough people fan out to gitlab, bitbucket, self hosting, codeberg, you end up with something that organically approximates a formally decentralised git repo system.

Jotalea

even better, selfhost your own gitea instance

dalvrosa

Codeberg vs selfhosted Gitlab. What do you think?

I_am_tiberius

I wish they had a paid plan for private repositories that aren't FOSS.

cdrnsf

I've been using a self-hosted forgejo (which Codeberg uses and maintains) instance for all of my non-work projects and it's been great. I don't miss GitHub at all. I also keep it accessible only from Tailscale so that AI crawlers and such can speedily make their way into the sun.

elzbardico

Really, they day I finally tire of github, I will just move to gitlab. git hosting is not something I want to wast my time yak shaving.

jjslocum3

I'm still more comfortable keeping my code in America.

delduca

> If you absolutely need macOS runners I’d recommend sticking with GitHub Actions on the GitHub repository... This is the only reason I haven’t migrated yet (I keep a mirror[1]). 1 - https://codeberg.org/willtobyte/carimbo

codazoda

I love the simple design of the page. This is a random observations, but I noticed the author has an interesting "likes" button that is served from an API on https://dddddddddzzzz.org , a curious and interesting looking domain. I'll have to go dig around his blog to see if he's written about this.

Arcuru

Does any service offer hosted Forgejo Actions Runners? Or Forgejo compatible CI? I want to pay for CI on my Codeberg projects, but I've been struggling to find something where I can just pay by the minute. I have projects that benefit from large CI runners but my usage is low enough that it makes no sense to host my own.

Semantic search powered by Rivestack pgvector
3,471 stories · 32,344 chunks indexed