Gitea and Forgejo are both self-hosted Git forges that let you run your own GitHub-like server on your hardware or a cloud instance. They have nearly identical features: repositories, pull requests, issues, CI/CD via Actions, a package registry, and wikis. The core difference is not technical—it's how they are governed. Gitea is now controlled by a for-profit company; Forgejo is governed by a German non-profit. If that distinction matters to you, read on. If it doesn't, either works.
The short version
| Gitea | Forgejo | |
|---|---|---|
| What it is | Self-hosted Git forge | Self-hosted Git forge (Gitea hard fork) |
| Written in | Go | Go |
| License | MIT | GPL-3.0-or-later (v9.0+, MIT before) |
| Stars | ~58,458 (GitHub) | ~5,700 (Codeberg, not GitHub) |
| Hosted at | GitHub | Codeberg |
| Governance | For-profit company (Gitea Inc.) | Codeberg e.V. (German non-profit) |
| Federation | No public work | ActivityPub-based federation in progress |
| Paid support | Gitea Cloud, Enterprise | Community-driven, no official support tier |
The split
Until October 2022, Gitea and Forgejo were the same project. Gitea's founder and the community maintained it together on GitHub. In 2022, Gitea's domain and trademark were transferred to a newly formed for-profit company without community consensus. An open letter from community members asking to keep governance open was not accepted. Part of the community decided to fork the project instead.
Forgejo is that fork, created in October 2022 and now hosted on Codeberg (a German non-profit's code forge). The license was also changed: Forgejo switched from MIT to GPL-3.0-or-later in June 2023 to better protect its independence. Versions before Forgejo 9.0 retain the MIT license they inherited from Gitea.
By early 2024, the two projects had genuinely diverged. Gitea and Forgejo are no longer identical twins.
What works the same
Day-to-day, both are full-featured Git forges. You can:
- Host repositories with branches, tags, and access control
- Open and manage pull requests and issues
- Run CI/CD workflows using an Actions-compatible syntax
- Share a package registry
- Create team wikis
- Use webhooks to trigger external services
Docker support is good on both. The official documentation for each walks you through a Compose setup, and community images exist if you prefer those.
Migration from Gitea to Forgejo is commonly described as straightforward because Forgejo started as an exact copy of Gitea's codebase. Your data, repositories, and configuration migrate because the database schema is compatible (at least for recent versions). If you are running an old version of Gitea, test the migration on a copy before moving production.
Federation
Forgejo is building ActivityPub-based federation so that you can interact with other forges without leaving your own instance. You could follow repositories, send pull requests across forges, and interact with the decentralized web.
Gitea has no public federation effort.
Neither is ready for this yet. Forgejo's federation is still in development. This is a direction, not a feature you can use today.
Governance and support
Gitea is owned and controlled by Gitea Inc., a for-profit company. It sells Gitea Cloud (managed hosting) and Gitea Enterprise (licensed on-premise deployment with support).
Forgejo is governed by Codeberg e.V., a registered non-profit in Germany. It has no paid support tier, though some community members offer consulting. The project's direction is set by its community and contributors.
If you care about open governance and want to avoid for-profit control of infrastructure, Forgejo's structure is the answer. If you want a vendor-backed support contract, Gitea is the option.
Free plan limits
On blitz.cloud, both Gitea and Forgejo install in one click and run in the EU with HTTPS included. The free plan needs no credit card. Apps on the free plan sleep after 30 minutes without visitors, which is fine for a forge you check during work hours. If your CI workflows run on a schedule (not triggered by a push), your forge needs to stay awake, so you'd need a Pro or Business plan.
Gitea: https://blitz.cloud/apps/gitea/ Ad Forgejo: https://blitz.cloud/apps/forgejo/ Ad
FAQ
Is Forgejo a drop-in replacement for Gitea?
For most purposes, yes. If you're running a recent version of Gitea and switch to Forgejo, your data, repos, and webhooks keep working. The license changed (MIT to GPL), which matters if you were embedding Gitea in a proprietary product, but it doesn't affect you if you're just using it.
Old Gitea versions or very custom deployments may need testing. Always back up before you migrate.
Does Forgejo support GitHub Actions-style workflows?
Yes. Forgejo has Forgejo Actions, which uses the same workflow syntax as GitHub Actions. You can reuse workflows between platforms. The runner setup is the same too.
Why did Forgejo fork from Gitea?
A governance dispute. Gitea's project was transferred to a for-profit company in 2022 without community approval. Community members disagreed with that direction and forked to keep the project under non-profit governance.
If you read Forgejo's comparison to Gitea on forgejo.org, know that it's Forgejo's own framing of why the fork happened. Gitea's side of that story was not checked in this guide.
Which has a bigger community?
Gitea shows more GitHub activity and higher star counts because its primary repository is on GitHub. Forgejo's repository is on Codeberg, where stars and visibility work differently. GitHub is the larger platform, so Gitea naturally appears more popular. Both have active communities.
Can I switch between them later?
Yes. Migration between recent versions is straightforward because they share database compatibility. Your data is in the database and on disk, so you're not locked in.