Gitea vs Forgejo

Updated

Forgejo and Gitea share a codebase up to 2024 and still look alike, but they are now separate products with different owners, licences and release rules. Pick Forgejo if you want a community-governed, copyleft forge with long-term-support releases and federation work; pick Gitea if you want an MIT-licensed forge with a company offering managed hosting, enterprise add-ons and paid support. If you run Gitea 1.23 or newer today, switching to Forgejo is no longer a simple upgrade.

At a glance

Gitea Forgejo
Who controls it A company (Gitea Ltd at the 2022 split; the site now credits CommitGo, Inc.) plus a six-seat Core Team, half company-appointed Its contributors; domains held by the non-profit Codeberg e.V.
Licence MIT GPL v3 or later since v9.0 (MIT up to v8.0)
Latest release (checked 2026-12-02) 28.4.0, 15 November 2026 v17.0.2 stable and v15.0.12 LTS, both 18 November 2026
Release model Major release aimed at every three to four months; no LTS line described Major release every quarter; every fourth one is LTS
Actions runner Gitea Runner Forgejo Runner
Default source for uses: actions github.com data.forgejo.org
Federation Config for NodeInfo and HTTP signatures only Experimental federated stars and user following
Hosted option Gitea Cloud (managed, single-tenant), gitea.com Codeberg (non-profit, aimed at free software)
Upgrade from the other Not documented Transparent from Gitea 1.22 or older only

New to the original project? Start with what Gitea is, and see the Git hosting hub for other forges.

How the fork happened

In October 2022, Gitea’s blog announced Gitea Limited, a company meant to sell support, hosting, training and an enhanced enterprise version, and Lunny Xiao transferred the Gitea domains and trademarked name he held to it. Gitea’s own posts from that month promised the code would stay open source and MIT-licensed.

A group of contributors objected that control had moved to a for-profit company without community consultation. Forgejo says their open letter went unanswered, and on 15 December 2022 they announced Forgejo, with Codeberg e.V. as custodian of its domain names. Forgejo was first presented as a soft fork: a set of patches on top of Gitea, kept as a drop-in replacement.

In early 2024 Forgejo decided to become a hard fork. Its February 2024 announcement said the Forgejo API would try to stay compatible with Gitea’s, but that Forgejo would eventually stop being a drop-in replacement. By December 2024 Forgejo said the two were “effectively different codebases”, with features such as quotas in Forgejo and large refactors in Gitea making routine cherry-picks impractical.

Governance and licence

Gitea is led by a Core Team, renamed from the Technical Oversight Committee in November 2026. It has six seats: three elected by the community and three appointed by the Gitea company, and it decides by absolute majority. Gitea’s website says the project has “leadership and commercial support from CommitGo”. The code is MIT-licensed. The company also sells Gitea Enterprise, which adds features such as SAML 2.0 sign-in, organization-wide branch protection rules and dependency scanning on a paid subscription.

Forgejo says its governance is “collectively defined by its contributors”. Decisions follow a consent-style guide: proposals are adjusted until people are willing to live with them, and agreements are documented in a public governance repository. Codeberg e.V., a registered non-profit association in Berlin, holds the domains and provides resources, but Forgejo’s FAQ says its governance structures stay independent of Codeberg’s. From v9.0 Forgejo is released under GPL v3 or later; v8.0 and earlier remain MIT. Proposals to use the AGPL or EUPL instead did not reach agreement.

In practice: if you plan to ship a modified forge without sharing your changes, the licence matters. For running it internally, both licences let you do so.

Compatibility and migration

This is the deciding issue for existing Gitea servers. Forgejo’s upgrade guide says upgrades are “transparently supported up to Gitea v1.22 included”, in two steps:

  1. Upgrade from any Gitea version up to 1.22.x to Forgejo v10.0.x.
  2. Upgrade from Forgejo v10.0.x to any later Forgejo version.

From Gitea 1.23 or newer, Forgejo says a move “may be possible” only if you are ready to modify the database by hand, with best-effort help at most. The fallback is moving repositories one by one with Forgejo’s built-in migration tool, which works as long as Gitea’s API stays stable.

No documented path leads from Forgejo back to Gitea: Forgejo’s guides cover only the other direction, and no Gitea guide for the reverse move could be found. Forgejo’s guide also warns that a database version check stops an older Forgejo release from starting on a database a newer one has already upgraded, so your pre-upgrade backup is the only way back.

If you do switch, Forgejo’s migration guide says to shut Gitea down and back up the database, repositories and attachments first. Environment variables keep their GITEA_ prefix for compatibility; the guide recommends also setting the FORGEJO_ versions. Workflows that use short uses: names may fail, because each project mirrors different actions.

Actions and runners

Both forges include a CI system that runs jobs on separately installed runners.

  • Gitea Actions is “similar and mostly compatible to GitHub Actions”. Jobs run on Gitea Runner, called act_runner until its 1.0.0 release on 5 May 2026. It is built partly on a hard fork of nektos/act and lives at gitea.com/gitea/runner (the old act_runner address redirects there). Runner 6.0.0, released 11 November 2026, requires Gitea 1.26.2 or newer; 6.1.0 followed on 27 November. Short uses: references resolve to github.com by default. Setup is covered in the Gitea Actions runner guide.
  • Forgejo Actions reads workflows from .forgejo/workflows, falling back to .github/workflows. Forgejo says it is “designed to be familiar to users of GitHub Actions, but it is not designed to be compatible”, so expect small edits. Short uses: references resolve to data.forgejo.org, which hosts actions known to work with Forgejo under free licences. Jobs run on Forgejo Runner; v17.0 shows job summaries from Forgejo Runner 13.2 or newer.

Each project documents only its own runner, so plan on using the matching one.

Federation

Forgejo names federation through ForgeFed as one of its primary goals. So far it ships federated stars (since v8.0) and following remote users (since v16.0), both experimental, off by default, and limited to Forgejo, Mastodon and GoToSocial for user following. Forgejo’s FAQ warns that breaking changes could make your domain unusable for ActivityPub later.

Gitea has a [federation] configuration section, off by default, covering NodeInfo statistics and HTTP signature settings, but no forge features over federation are documented. ForgeFed explained covers what the protocol does, and federated code hosting covers what to do until it works. Federation should not decide your choice today.

Releases and support

Forgejo publishes a major release every quarter, in January, April, July and October, and follows semantic versioning since 7.0. A stable release gets fixes for three months plus two weeks after the next one. Every fourth major version (7.0, 11.0, 15.0, next 19.0) is LTS, with critical and security fixes for about 15 months. v17.0 came out on 15 October 2026 and is supported until 28 January 2027; v15.0 LTS is supported until 15 July 2027; v18.0 is scheduled for 14 January 2027.

Gitea dropped the “1.” prefix with 28.0.0 in late September 2026, so 1.27 was followed by 28. Releases 28.1 to 28.4 followed every two weeks or so through 15 November. Its release document aims for a major release every three or four months and says security fixes go only to the latest major release, with no LTS line described.

If you want to upgrade once a year, Forgejo’s LTS is the better fit. If you are happy to upgrade often, both work.

Other differences you can check

Neither project publishes a feature-by-feature comparison, and Forgejo’s own comparison page suggests reading release notes instead. Some verifiable differences:

  • Forgejo has storage quotas and abuse reporting for moderators, both off by default in its configuration.
  • Forgejo v17.0 added organization invitations, a Donate button driven by FUNDING.yml, and migration from Bitbucket Data Center.
  • Gitea 28.0 highlights audit logging, bot accounts, HTTPS deploy tokens and admin impersonation of users.
  • Forgejo is developed on Forgejo and translated on Weblate; Gitea is developed on GitHub and translated on Crowdin.
  • Forgejo’s comparison page says it runs end-to-end and upgrade tests that Gitea lacks. Treat that as one project’s claim about the other.

Hosted options

  • Codeberg is powered by Forgejo. It is operated by the non-profit Codeberg e.V., is aimed at free and open-source projects, and registration is open.
  • Gitea Cloud is CommitGo’s managed service: each customer gets a single-tenant Gitea instance with upgrades and backups handled, and a 30-day free trial is open for sign-ups.
  • gitea.com offers a free Gitea service with a limited number of repositories, according to Gitea’s README.

If you have not decided between a managed service and your own server, compare VPS, home server and managed hosting.

Running either one safely

Self-hosting either forge means the same chores. Serve it over TLS behind a reverse proxy. Subscribe to security announcements: Forgejo publishes advance notice of security releases in a public repository; Gitea’s release document gives security fixes only to the latest major release, so stay current. Back up the database, repositories and attachments before every upgrade. Keep the admin area behind a VPN or an IP allowlist, and treat runners as remote code execution: Forgejo’s docs say so outright. For a container setup, see Gitea with Docker Compose; the Forgejo layout is similar but uses its own image.

Which should you pick

  • Choose Forgejo if you care about non-profit governance and copyleft, want LTS releases, want to try forge federation, or plan to host on Codeberg.
  • Choose Gitea if you want a company to buy support, enterprise features or managed hosting from, prefer the MIT licence, or rely on Actions pulling from github.com without changes.
  • Already on Gitea 1.22 or older? You can still move to Forgejo cleanly through v10.0.x. Decide before you upgrade Gitea again.
  • On Gitea 1.23 or newer? Stay put unless you are willing to migrate repository by repository.

Frequently asked questions

Can I upgrade an existing Gitea server to Forgejo?
Only transparently from Gitea 1.22 or older. Forgejo's guide says to upgrade to Forgejo v10.0.x first, then on to any later Forgejo version. From Gitea 1.23 or newer, Forgejo offers only best-effort help with manual database changes, or you move repositories one by one with the built-in migration tool.
Can I move from Forgejo back to Gitea?
No documented path exists: Forgejo's guides cover only Gitea to Forgejo, and no Gitea guide for the reverse could be found. Treat a switch to Forgejo as one-way. Keep the full backup you made before the switch until you are sure you are staying.
Is Forgejo still a drop-in replacement for Gitea?
No. Forgejo became a hard fork in early 2024 and said at the time that it would eventually stop being a drop-in replacement. Its API still aims to stay compatible with Gitea's, but the databases have diverged.
Do GitHub Actions workflows run on both?
Mostly, with tweaks. Gitea calls its Actions similar and mostly compatible with GitHub Actions and fetches actions from github.com by default. Forgejo says its Actions are designed to be familiar but not compatible, and fetches actions from data.forgejo.org by default.
Which licence does each project use?
Gitea is MIT-licensed. Forgejo v9.0 and later are GPL v3 or later; Forgejo up to v8.0 was MIT.

Sources, checked December 2, 2026

  1. Forgejo: Forgejo is live (announcement, 15 December 2022)
  2. Forgejo: Forgejo forks its own path forward (hard fork, 15 February 2024)
  3. Forgejo: Forgejo v9.0 will be GPL (22 August 2024)
  4. Forgejo: Gitea 1.22 is the last version to allow a transparent upgrade to Forgejo (18 December 2024)
  5. Forgejo: Comparison with Gitea
  6. Forgejo FAQ (governance, domains, licence, federation)
  7. Forgejo upgrade guide (release life cycle, upgrades from Gitea)
  8. Forgejo docs: Gitea migration
  9. Forgejo releases page (v17.0.2 and v15.0.12 LTS)
  10. Forgejo release schedule
  11. Forgejo v17.0 release announcement
  12. Forgejo v16.0.0 release notes
  13. Forgejo release notes up to v9.0 (v8.0.0 federated stars)
  14. Forgejo Actions user guide
  15. Forgejo Actions administrator guide
  16. Forgejo configuration cheat sheet (quota, moderation, federation)
  17. Forgejo governance: decision-making guide
  18. Gitea blog: Open Source Sustainment and the future of Gitea (24 October 2022)
  19. Gitea blog: A message from Lunny on Gitea Ltd. and the Gitea project (30 October 2022)
  20. Gitea community governance document
  21. Gitea blog: Meet the Gitea Core Team (30 November 2026)
  22. Gitea release management document
  23. Gitea releases on GitHub (v28.4.0 latest)
  24. Gitea blog: Gitea 28.0.0 is released
  25. Gitea LICENSE (MIT)
  26. Gitea README (gitea.com service, Gitea Cloud trial)
  27. Gitea example configuration (actions and federation defaults)
  28. Gitea docs: Actions overview
  29. Gitea Runner repository and README
  30. Gitea blog: Gitea Runner 1.0.0 is released (rename from act_runner, 5 May 2026)
  31. Gitea blog: Gitea Runner 6.0.0 is released (11 November 2026, needs Gitea 1.26.2+)
  32. Gitea Runner releases (v6.1.0 latest, 27 November 2026)
  33. Gitea Cloud product page
  34. Gitea Enterprise product page
  35. Codeberg homepage
  36. Codeberg docs: What is Codeberg?

More in Git hosting