The code host of last resort is no longer the obvious choice. High-profile FOSS projects have recently announced moves away from GitHub—Zig in late 2025 and Ghostty in early 2026. Both cite reliability problems alongside broader concerns about platform direction under Microsoft.
GitHub remains the world's most popular repository host, and most open-source projects still live there. The departures stand out precisely because they aren't random small projects. When a flagship programming language and a popular terminal emulator both leave within months, that's a signal worth reading.
Why projects are leaving, beyond the AI angle
The simplest story is: AI features, projects flee. The actual story is messier and more instructive.
Zig's departure post calls out automated AI-driven features, reliability problems, and what it frames as a loss of engineering quality since the ownership change. Ghostty's announcement includes a journal log marking an "X" on almost every day of the preceding month—each one a GitHub outage that disrupted development work.
That mix matters. Anyone can stomach one bug. Nobody wants to host a project on a platform where outages are recurring, the terms feel tilted against contributors, and the tools keep shifting underfoot.
The alternatives at a glance
| Platform | Model | AI Policy | Best For |
|---|---|---|---|
| Codeberg | Non-profit, hosted | No scraping | Projects wanting a hosted home |
| Forgejo | Self-hosted | No scraping | Teams wanting full control |
| Sourcehut | Paid/hosted or self-hosted | Explicitly anti-AI features | Projects prioritizing philosophical alignment |
Codeberg** leads for projects that don't want to run their own infrastructure. It's community-run, free-culture aligned, and built without user tracking or AI scraping. More than 730,000 projects already live there.
Forgejo** powers Codeberg but also runs standalone. Teams that want full control over their code, metadata, and CI pipeline run their own instance. The trade-off: you own the uptime, backups, and security patches.
Sourcehut** takes the hardest philosophical stance, explicitly refusing AI features and vibe-coded projects. Its tool suite works without even requiring an account.
Our analysis
For most open-source maintainers, GitHub is still the path of least resistance. Issues, pull requests, Actions, and discovery all "just work." Contributor expectations are baked in. The cost of leaving is real: lost traffic, broken links in older documentation, awkward bot integrations.
But the center of gravity is shifting. Codeberg's growth and Forgejo's momentum suggest the migration wave has crossed from protest to practical. Once a few high-profile projects land cleanly elsewhere, others follow.
The real wedge is AI policy. Platforms that explicitly say "we don't train on your code" become a recruiting tool for projects that care about contributor trust. GitHub will struggle to close that gap without reversing a product decision already in market.
Winners here: contributors and maintainers who value transparency and platform independence. Losers: Microsoft's ecosystem lock-in strategy. What to watch: whether mid-sized projects—those too small to make headlines but large enough to matter—start announcing evaluations. That's the inflection point.
What to watch next
Three signals matter over the coming months. One: another well-known language or framework announcing a move. Two: a GitHub outage that overlaps with a project's release window. Three: a governance dispute or fork at the platform level. Any one accelerates the timeline. None is required for the trend to continue.
Key takeaways
- Departures from GitHub go beyond AI training complaints and include reliability and product-quality concerns.
- Codeberg is the leading hosted alternative, with over 730,000 projects already on the platform.
- Forgejo offers full control for teams willing to self-host.
- Mid-sized projects will feel transition friction more than flagship ones, but mirror setups can ease the shift.
Frequently asked questions
Why are open-source projects leaving GitHub?
Announcements from Zig and Ghostty cite AI-driven features, recurring reliability problems, and broader concerns about the platform's direction following Microsoft's ownership.
What is Codeberg?
Codeberg is a non-profit, community-based platform that hosts open-source projects for free. Built on Forgejo, it explicitly avoids user tracking or AI scraping and hosts more than 730,000 projects.
What is Forgejo?
Forgejo is a self-hosted solution for managing software projects. It powers Codeberg and is also available as a standalone option for teams running their own infrastructure.
Can a project move off GitHub without breaking existing links?
Mirror setups allow a smooth transition. Many platforms are prepared to host migrating projects, and keeping a read-only GitHub mirror preserves links while the primary repository moves elsewhere.
Is GitHub still the largest code host?
Yes. GitHub remains the world's most popular repository platform, with the majority of FOSS projects still hosted there.