Forgejo launched on 15 December 2022 under Codeberg e.V. In December 2026 the choice between it and Gitea on a Raspberry Pi is easy to make. I think a new Git server on a Pi 4 or Pi 5 should run Forgejo, because it sits under a non-profit and has a long-term support release. Keep Gitea only if your server already runs a release past 1.22, which is where the documented route into Forgejo ends. If you choose Forgejo, you give up the MIT licence, which Gitea keeps.
Why are there two of them at all?
Forgejo began as a fork of Gitea in 2022, after a company took over the Gitea project. Since early 2024 it has been a hard fork, and its codebase has been moving away from Gitea's.
Forgejo's own comparison page dates its creation to October 2022, after what it calls a for profit company took over Gitea. LWN puts the launch itself on 15 December 2022 under Codeberg e.V. and records that Gitea's domain and trademarks moved to a company, Gitea Ltd.
The bigger change came in 2024. On 16 February Forgejo announced that it intended to become a hard fork, and from early that year its codebase began to diverge from Gitea's. I think that matters more to a Pi owner than the 2022 politics. The two servers have been moving apart since then, and moving from Gitea to Forgejo is now supported only up to Gitea 1.22, as the Docker section below explains.
Forgejo sits under a non-profit and switched to GPL v3 at v9.0
Forgejo exists under the non-profit Codeberg e.V., and its releases from v9.0 on are GPL v3 or later. Gitea's code is MIT, and its domain and trademarks moved to a company, Gitea Ltd.
Forgejo's governance is collectively defined by its contributors, and Codeberg e.V. holds the domains. Gitea, as Forgejo describes it, is controlled by a company.
Forgejo releases up to and including v8.0 were under MIT, and v9.0 and every release since are GPL v3 or later. Gitea's repository carries the MIT licence. A Pi owner who moves from Gitea to Forgejo today moves from MIT code to GPL v3 code.
Gitea still has the better case for a company that needs single sign-on and audit logs, and Botmonster's comparison sends those buyers to Gitea's enterprise offering. For a new deployment, though, its verdict is Forgejo, and it names governance and the GPL licence as the core reason the fork exists.
Forgejo used less memory in the one side-by-side test
The only side-by-side figures are YunoHost CI peaks of 372 MB for Gitea and 231 MB for Forgejo, taken on test machines, not on a Pi.
The figures were posted on the YunoHost forum from its automated packaging tests. They are peak readings during a test run, not idle use. Under the same kind of test, Forgejo's peak was the lower of the two.
For Forgejo alone, a dev.to comparison with GitLab CE gives about 120 MB at rest and about 350 MB under load. It recommends 512 MB and says Forgejo runs on a Pi 4. Memory at rest and a CI peak measure different things, so the 120 MB cannot be set against the 231 MB.
The arm64 build is the one Gitea's binary docs name for the Raspberry Pi 4, and the arm7 build does not run on Pis. That is one more reason to build on the 64-bit system, as set out in our case for 64-bit Raspberry Pi OS.
Forgejo's release calendar is the stronger reason to pick it
Forgejo ships a stable release every quarter, and every fourth one is a long-term support (LTS) release kept for about 15 months. A Pi can stay on one supported line for more than a year.
Standard releases get about three months of support each. The current LTS, 15.0, came out on 16 April 2026 and is supported until 15 July 2027. Version 17.0 followed on 15 October 2026, and 18.0 is due on 14 January 2027, according to Forgejo's published release schedule. The calendar is fixed, so you can plan upgrades around known dates.
15.0 is the LTS and a new LTS comes every fourth release, so 17.0 is a standard release with about three months of support. Version 17 is also the tag that the Docker example in the next section uses. A server built from that example follows the quarterly releases, so plan on an upgrade about every three months. For a Pi that rarely gets attention, I think the calendar is still the stronger reason to pick Forgejo. A new LTS arrives roughly once a year and each one is supported for about 15 months, so there are a few months of overlap to move from one to the next.
Docker setup looks the same for both, and switching has a version limit
Both projects publish a Compose file that maps ports 3000 and 222 and keeps everything under /data. On a Pi, replace Forgejo's bind-mounted folder with a named volume. Moving from Gitea to Forgejo is supported only from Gitea 1.22 or earlier.
The example Compose file in Forgejo's Docker guide runs the image codeberg.org/forgejo/forgejo:17. It maps port 3000 for the web interface and 222 for SSH, and it mounts a local folder with ./forgejo:/data. The guide also warns Pi owners that Docker on Raspberry Pis "sometimes has issues with permission remapping when mounting folders". Its fix is to use a Docker named volume in place of the folder.
On a Pi 4 or Pi 5, replace ./forgejo:/data with a named volume mapped to /data, and declare that volume in the top-level volumes section of the file. The data then sits in that volume, where Docker keeps its volumes, so point your backup job there. If the Pi already runs other containers, see our Docker container monitor guide for tools that track them.
Gitea's Compose example looks almost the same. It maps 3000 and 222 and mounts ./gitea:/data. The catch is different: the rootful and rootless images are not compatible with each other, so pick one at the start and stay with it.
When you move from Gitea to Forgejo, your Gitea version decides the route. Upgrades from Gitea are supported up to Gitea v1.22 included, in two steps. First, go from any Gitea release up to and including 1.22.x to Forgejo 10.0.x. Then go from 10.0.x to a later Forgejo. A Gitea server on 1.23 or later falls outside that documented route.
Which one belongs on your Pi?
Use Forgejo for every new install. Keep Gitea only if your server is already past 1.22.
Start a new Pi 4 or Pi 5 Git server on Forgejo, with a named volume in place of the bind-mounted folder. A Gitea server on 1.22 or earlier has a supported route across, and I would take it for the non-profit governance and the release calendar. A Gitea server on 1.23 or later should stay where it is.
Everything here comes from published pages. If you pick Forgejo, you give up Gitea's MIT licence and its enterprise extras, and you gain a community-governed project under a non-profit with an LTS release supported until July 2027.
Duarte Lemos writes about the Raspberry Pi and what small boards can and cannot do for retro gaming. He lives in Porto, near the Bolhão market, and keeps a drawer of old cables he refuses to throw away. He also follows hardware news.
17 articles →