logoalt Hacker News

Leaving GitHub for Forgejo

576 pointsby jorijnyesterday at 12:54 PM296 commentsview on HN

Comments

giancarlostoroyesterday at 1:10 PM

Everyone seems to be leaving GitHub, and forgetting the entire spirit of what git is in my eyes. Git was always meant to be decentralized, the problem here is that all the tooling around git was centralized to GitHub because it was a cleaner experience, they scaled nicely, and were properly maintained. I would prefer to still see mirrors on GitHub that are auto-synched because I've seen projects for years either self-host or go somewhere niche, then the GitHub mirror dies or is removed, and said projects go poof to the sands of time for one reason or another, completely gone. Everyone seems to be picking some random git host alternative, and some of them are really simple to use.

Git is decentralized, GitHub is just another place you can host your code in, but you can push your code to multiple remote servers.

show 20 replies
xvilkayesterday at 6:35 PM

The real game changer would be completed Federation[1] support. This is why I am donating both Forgejo[2] and Codeberg[3] and urge everyone doing the same, to give more time and resources for the Forgejo team to implement it properly.

Another good contender is the Radicle[4][5] which is completely decentralized on top of the Git.

[1] https://codeberg.org/forgejo-contrib/federation/src/branch/m...

[2] https://liberapay.com/forgejo

[3] https://donate.codeberg.org/

[4] https://radicle.dev/

[5] https://radicle.network/nodes/seed.radicle.dev

show 1 reply
sc68calyesterday at 1:38 PM

I have also moved my git repositories to a self-hosted NUC. I have not yet bothered with a HTTP frontend to share it with the world, mostly because I don't want to provide AI scrapers with content and don't want to put the work in to block them.

It's a shame that all these companies that benefited from open source have poisoned the industry like this

show 5 replies
delfyesterday at 1:19 PM

In "What I gave up" section author mentions his social graph. It is possible to take your social graph and collaboration history using GitSocial. It also allows cross-forge pull requests between any git hosts. All without 3rd party dependencies.

show 3 replies
l5870uoo9yyesterday at 3:09 PM

> The CTO publicly apologised and said capacity needs to scale 30x to keep up with AI-driven load.

I hope they don't start charging for regular use of GitHub, but when I see how some of the vibe coders make thousands of commits a day, I'm becoming more and more skeptical. Would be a real shame if we can't share and cooperate on code for free.

show 1 reply
satvikpendemyesterday at 2:05 PM

I've also heard of Tangled [0] which is decentralized and built on the AT Protocol like Bluesky but also has some genuinely useful features that GitHub has been dragging its heels over in implementing, like PR stacking, such that entire companies have sprung up to add that feature in GitHub.

Has anyone tried this?

[0] https://tangled.org/

show 5 replies
jdw64yesterday at 1:24 PM

People constantly cry out for decentralization. In reality, however, most systems eventually end up centralized. Perhaps when people ask for decentralization, they are actually seeking a new center where they can become the new pioneers. It seems that when they feel they have no chance of winning under the existing rules, they use decentralization as a pretext to overturn the board.

show 5 replies
chungyyesterday at 2:34 PM

Consider Fossil[1], which packages the entire repository state—code history, wiki, tickets, forum—into a single file, and that state gets cloned.

When/if you need to change hosting providers, you get to lose zero data in Fossil because of it.

[1] https://fossil-scm.org/

show 2 replies
OuterValeyesterday at 1:43 PM

I'm making my jump over to Tangled, which is built on the AT Protocol (so it uses the same account as Bluesky and others). I'm finding it lovely.

https://vale.rocks/micros/20260511-0440

importyesterday at 1:21 PM

I’ve moved to self hosted gitea a year ago running in my homelab and not publicly accessible. No https, registrations disabled and repos are not public.

I’m thinking about making public instance and use it with https, but minimize the attack surface, any recommendations especially about gitea/forgejo?

show 3 replies
nottorpyesterday at 1:53 PM

What if you don't want to self host? Who offers low feature git hosting for a small price? Something like the old $7 account before github was bought by MS?

All I want is hosting and a read only web interface, plus access control in case I have collaborators.

All the offerings are enterprise priced because they offer "minutes of CI", "AI assistants" and other icing on the cake.

show 8 replies
bigcat12345678today at 4:01 AM

I am very happy to discover this.

Given the trending-to-zero software writing cost, a local self-contained source code management tool would be natural for delivering software, i.e., software becomes an agent with specialized code as its harness (in addition to its default ones) source control would be one default tool for the agentic software to manage its own evolution.

jagged-chiselyesterday at 1:13 PM

“It’s not because of outages” - goes on to complain about outages.

The outages might be due to AI load, but that’s to relevant because your leaving isn’t due to outages. Even though the article is primarily about outages.

If you have a problem with your code being scanned for AI training, then write that article.

But this article is about outages.

show 3 replies
finegrainlabsyesterday at 1:27 PM

One of my friends made fremforge.com (an EU-sovereign CI/CD with Git included). It's currently in closed beta but goes live next week (tm). It is built upon Forgejo and EU-based services using T-Cloud as the underlying hyperscaler. Have a look! I don't make any money from it, by the way. And yes, it will cost a little bit, but rest assured: because you are paying for it, you will not be the product.

hosteuryesterday at 1:13 PM

I have been self-hosting Forgejo for some time now. It is impressively easy to maintain and operate. I can highly recommend giving it a spin.

chknkachungayesterday at 2:15 PM

I wish Microsoft would treat GitHub a little differently. Leave it alone and let it be it's own thing. Maybe if enough customers leave they will backtrack.

As a long term GitHub customer, I see many practical and personal reasons to move away from the platform. I've seen a handful of similar posts lately. A few years ago this would have felt totally fringe, but now all of a sudden it really doesn't. For now, for me and many others GitHub still works great, and is very convenient. But the alternatives are getting even easier to self implement all the time.

show 1 reply
zuzululuyesterday at 4:29 PM

I'm kind of baffled why everybody is suddenly hating on github? I use it just fine. I'm actually impressed how well codex is able to interact with it. I virtually do not need to fret about git commands or managing github to respond to issues anymore.

I don't see an alternative and its a bit of a stretch to expect people to follow you unless you are famous or have that audience reach already which many of us do not.

show 5 replies
epistasisyesterday at 1:45 PM

I have been using my self hosted forgejo in May, and liking it just fine, I recommend it for anybody who is curious. I don't really trust GitHub to keep things private anymore.

The hardest parts of switching to forgejo: 1) coming up with a comfortable way to pronounce "forgejo" in my head, and 2) adapting to not having the same GitHub v3 API and needing to switch to a different CLI for PR creation, repo creation, etc.

The pronunciation thing is probably the more difficult of the two.

show 2 replies
cdrnsfyesterday at 4:29 PM

I'm quite happy with Forgejo. I've moved all of my projects to my own instance and keep it accessible from Tailscale only.

ramshankeryesterday at 2:31 PM

I wish it offered a windows binary as well, since the original project gitea from which it was forked, does so.

Sometime you need to go where many customers ahem enterprise are.

As a developer of an engineering application, windows is the way to go 1st hand. It would have been easier to adopt one more application on the daily driver enviornment. Till than, I am on GitHub only.

show 1 reply
plucyesterday at 1:50 PM

At this point I really don't think this needs to be justified. I'd be more curious as to why people are staying on GitHub.

show 1 reply
merbyesterday at 8:01 PM

I do not need a new shiny code hosting platform. I just need a better way for managing merge requests/pull requests. Stuff that does not suck, especially a better diff, like semantic diff that is more clever than before. I do not care if my formatter changed stuff from 6 to 4 spaces because an html element was dropped. I want to have a more sane workflow for splitting things. I want to scale up reviews… its still so awkward to do it and ai makes it even worse

show 1 reply
kkfxtoday at 7:52 AM

I'm curious why people do not choose Radicle in FLOSS...

jviottiyesterday at 2:06 PM

GitHub Actions is indeed the hard one to replace. I need Windows, Linux, Linux-ARM, macOS ARM, and macOS Intel runners. How do you guys using Forgejo and/or Codeberg do to get a similar matrix, hopefully at a low cost?

show 4 replies
henrydarkyesterday at 1:35 PM

I now use syncthing for the .git directory, excluding HEAD file and a few others, between my few devices and a vps on hetzner.

Most of git is append only immutable blobs - just sharing these between devices just works for me. "users" and authentication is handled by syncthing.

I have pre and post hooks to make sure no device tries to change HEAD of branch owned by another device, just to be safe, be it hasn't been activated once yet.

show 2 replies
Fraterkesyesterday at 2:13 PM

I do mostly enjoy all this moving to European tech because the thing being replaced is usually owned by Microsoft.

I do kind of worry though: there's a broad trend of countries trying to become less reliant on eachother, and in my mind the long period of peace we've had in much of the west this past half century has partly been because we're all in business together.

show 1 reply
andrewzenoyesterday at 4:27 PM

I think this article is great, but it doesn't focus on the open source aspect. GitHub still has effective monopoly on open source, simply because of how much free resources they provide, let alone higher chances of getting your project discovered and fewer barriers for people reporting issues.

achayalayesterday at 4:20 PM

I really like forgejo. I selfhosted it too, but then I go back to codeberg. Probably I will selfhosted it again. I really want a descentralized internet and https://forgefed.org/ gives me hope.

hperrinyesterday at 1:46 PM

I moved all my repos (well, I have two left to move) to https://forge.sciactive.com which is also a self hosted Forgejo instance. It was a really easy process, and I’m really impressed with Forgejo.

sandebertyesterday at 3:29 PM

I really like Forgejo, I just wish the wiki was a bit better. I even tried sponsoring work on it, but apparently it's a challenging thing to improve.

denizaytoday at 3:22 AM

GitHub? Forgejo bout it!

ninjahawk1yesterday at 1:37 PM

Didn’t realize the Dutch government was rad until I read this.

Frankly, the modern internet as a whole is scary. Google has so much power, Github, Meta, etc., they all control such fundamental parts of society now and get to run free since they’re private companies. Not saying they should be government owned, that would drastically worse, but some more detailed oversight would be nice.

keyleyesterday at 1:24 PM

For self hosting... and personal code repo, why not just git... and expose something like Stagit for the web?

show 1 reply
Havocyesterday at 4:37 PM

Moving from a selfhosted gitlab to forgejo too.

Gitlab it’s getting to heavy for my needs

the_ai_wizarrdtoday at 2:47 AM

maybe after the exodus it will be usable again

brendanmlyesterday at 10:55 PM

Good riddance. I’m sick f Microsoft thinking they can ruin everything and people will stay.

tiberious726yesterday at 6:53 PM

How does Forgejo stack up to Gitea nowadays?

Myzel394yesterday at 4:41 PM

Can somebody recommend some good github alternatives that are available as a service, without having to self host it? I'm already self hosting my own gitea, but want a SaaS fallback to github

wood_spirityesterday at 4:04 PM

GitHub is becoming Sourceforge. Remember them?

_stiofanyesterday at 2:01 PM

It was a sad day when Microsoft bought GitHub, we all know eventually it will go the way of Hotmail and Skype.

onesandofgrainyesterday at 2:40 PM

Why not Gitea mind me asking? Anything in particular?

show 1 reply
Finnucaneyesterday at 1:39 PM

"The Dutch government's choice of Forgejo, not GitLab, was deliberate."

And since Gitlab seems to have looked over at what is happening at Github and decided, we want some of that, that was probably the right choice.

tonymetyesterday at 8:15 PM

Github is more than a UI and remote storage, it's a community and discovery tool for open source repos.

Federating to self-hosted means you are depending on google for discovery, which will never rank.

If you need a backup remote, just backup to Google Drive / iCloud. Private team collab? run a server.

While I understand the frustration with github, the prescription to self host seems like cutting off your nose.

sgtyesterday at 1:14 PM

Is Forgejo Actions any good? CI/CD would be cool.

show 4 replies
shevy-javayesterday at 5:22 PM

Microsoft is losing the war here. It'll take a long time before GitHub will tumble, but the cracks are now noticeable for everyone. AI is killing AI-Hub I mean GitHub.

booleandilemmayesterday at 2:46 PM

I just recently moved a couple tiny projects from GitHub to Codeberg. My review: really easy to set up and get going with. I noticed Codeberg isn't as snappy as GitHub, but it's barely noticeable and I'm not paying any money for it anyway so I can't complain.

onesandofgrainyesterday at 2:43 PM

https://sharemygit.com/ let's you share forgejo repos privately through read-only share links for those that need an alternative to the github gitshare fei

luxuryballsyesterday at 1:38 PM

Question for anyone, why do people use GitHub or an alternative rather than just spinning up your own Gitea docker container or similar?

show 1 reply
m3kw9yesterday at 5:45 PM

bespoke versioning system for my code? no thanks.

🔗 View 10 more comments