Forgejo

A code repository page: Issues, Pull requests, Packages and Actions tabs above the list of folders and files.

The software behind Codeberg, on your own server

Forgejo is a self-hosted Git forge written in Go: repositories, issues, pull requests with code review, wikis, kanban boards, a package registry and CI through Forgejo Actions. It is the software that runs Codeberg. Forgejo started in October 2022 as a fork of Gitea, itself a fork of Gogs, and split off for good in early 2024.

The comparison of self-hosted Git forges sets it against the other forges on CI, packages, governance and release pace.

Actions on Docker or LXC, AGit pull requests and 23 package formats

  • One binary with SQLite built in: GPG-signed Linux binaries for amd64, arm64 and arm-6, or a container image. The docs reckon SQLite is enough for at least ten users; beyond that, Forgejo supports PostgreSQL 14, MySQL 8.4 or MariaDB 10.6 at minimum.
  • Forgejo Actions, on by default: workflows in the GitHub Actions format, run by Forgejo Runner in Docker or LXC containers. An action referenced without a full URL, such as actions/checkout, is fetched from data.forgejo.org, which only hosts free-licensed actions known to work with Forgejo.
  • Code review and AGit: comments on one line or a range of lines, reviewers assigned from a CODEOWNERS file, and pull requests opened with a plain git push to refs/for/<branch>, with no fork and no write access to the repository.
  • 23 package formats: npm, PyPI, Cargo, Conda, CRAN, RubyGems, Swift and container images among them, with cleanup rules set by each owner.
  • Migrations and mirrors: imports from GitHub, GitLab, Gitea, Gogs or Pagure, and since v17 from Bitbucket Data Center, pull requests included; pull mirrors, and push mirrors to GitHub, GitLab or Bitbucket.

Copyleft, a Gitea 1.22 cut-off and a major release every quarter

A fork born of a governance dispute. Forgejo was created after Gitea's domains and trademark went to a for-profit company, without the community's knowledge according to its comparison page. Codeberg e.V. holds Forgejo's domains, which the docs say puts Forgejo "ultimately under the control" of the association, while its governance structures, set by the contributors, stay separate from Codeberg's. The project calls itself exclusively free software, developed on Forgejo and translated on Weblate, and describes Gitea as "open core".

GPL v3 since v9.0. Forgejo has been under GPL v3 or later since v9.0 (October 2024), and under MIT up to v8.0. According to the FAQ, the AGPL and the EUPL were proposed to guard against a takeover by a for-profit company, but no agreement was reached.

Upgrades from Gitea stop at 1.22. The upgrade guide supports in-place upgrades from Gitea up to and including 1.22, through Forgejo v10.0. An instance already on Gitea 1.23 or later falls outside that path. Tools written against the Gitea 1.22 API keep working unchanged, and Forgejo signals this with the +gitea-1.22.0 suffix of its version string.

Actions built for familiarity, not compatibility. The docs use those very terms and list the gaps: the permissions and continue-on-error keys are ignored, parts of the github context are missing, and most runners default to a Debian image with only Node.js. Forgejo Runner is installed and registered separately, and the docs warn that it performs remote code execution, a significant threat to the host and its network. OneDev, a Java forge with its own CI, can also run jobs in containers on the server itself.

A major release every quarter. Forgejo v15.0 shipped on 16 April 2026, v16.0 on 16 July and v17.0 on 15 October. Each stable release is maintained for three months, plus two weeks after the next one ships. The first-quarter release becomes a fifteen-month LTS limited to critical and security fixes, a role v15.0 holds until 15 July 2027. Any major release may break compatibility, so the guide requires a full backup before moving to one, and container images carry no latest tag. Patch releases v17.0.1 and v15.0.11 came out on 26 October 2026.

No Windows, and federation still experimental. Forgejo dropped Windows in 2024. Federation between forges over ActivityPub is still experimental, and the FAQ warns that a breaking change could "burn" an instance's domain for federation.

SOURCES

REPOhttps://codeberg.org/forgejo/forgejo
SITEhttps://forgejo.org
LICENSEGPL-3.0-or-later