Back to directory

Developer Tools · Version Control & Collaboration

Forgejo

A community-run forge for repositories, collaboration, and packages

Forgejo is a lightweight, self-hosted software forge for Git repositories, issues, pull requests, wikis, packages, and team collaboration. The community maintains it under GPL-3.0-or-later for version 9 and later, with Codeberg e.V. providing resources and domain custody. No official paid hosted plan is listed, although public Forgejo instances exist.

Key facts

License
GPL-3.0-or-later
Main language
Go, JavaScript
Maintainer
Forgejo community under Codeberg e.V.
First released
2022
Latest release
v17.0.0, October 15, 2026
Hosted option
No official paid hosted plan listed

What Forgejo is

Forgejo is a self-hosted software forge created in 2022 by contributors seeking independent community ownership. The project is maintained by the Forgejo community under Codeberg e.V., a Berlin non-profit association whose stated goal is continued availability of free software. Its users are primarily developers of free and open source software. Forgejo describes itself as lightweight and suitable for hosting projects, teams, companies, and communities. Funding combines volunteer contributions, grants, donations, and employee delegation, while Codeberg e.V. provides resources and cooperates with the project. Governance remains independent of Codeberg. The project publishes releases, signed binaries, container images, documentation, and security contacts, giving small operators a practical alternative to running a larger commercial code-hosting platform.

How it works

Forgejo combines Git repository hosting with the work surrounding a repository. Users can manage issues, pull requests, wikis, kanban boards, releases, package registries, organizations, teams, code search, LDAP, OAuth, and continuous integration integrations from one service. A typical workflow begins with an administrator creating an instance, connecting authentication, and configuring storage and a database. Developers then create or import repositories, push code, open issues, review pull requests, publish releases, and assign team permissions. Organizations and teams provide structure for shared access. The project also supports themes, signed distribution files, and migration from Gitea. Federation through ActivityPub remains experimental, with moderation and access control still under development.

Architecture and recent releases

Forgejo is written mainly in Go and presents a web interface backed by SQLite, PostgreSQL, MySQL, or MariaDB. Official distribution includes signed Linux binaries and container images, while source builds require Go and Node.js, with Node.js 20 listed as the minimum supported version in the source documentation. The project publishes Linux amd64, arm64, and arm variants. Recent releases include v15.0.10, v16.0.6, and v17.0.0 in October 2026. The v17.0.0 release page warns administrators to delay upgrading because some users may be unable to push, merge, or perform other code operations. Federation work based on ActivityPub continues, but the FAQ describes it as experimental and subject to breaking changes.

License and pricing

Forgejo versions 9.0 and later use GPL-3.0-or-later, while versions through 8.0 use the MIT license. The GPL permits commercial use, modification, and private operation. When a modified version is distributed, the GPL requires corresponding source and preservation of license notices and permissions. Running a modified instance privately does not itself trigger distribution obligations, and the GPL does not impose the AGPL network-service requirement. Forgejo has no open-core split described in its licensing FAQ and no official paid hosted plan is listed. Codeberg is a separate public service, while other public Forgejo instances can also host repositories. Codeberg e.V. supports the project through resources and cooperation rather than a published Forgejo subscription.

Limitations and how it compares

Forgejo’s main tradeoff is operational responsibility. Administrators choose databases, manage upgrades, protect credentials, configure backups, and support the surrounding infrastructure. Windows support was dropped in 2024, although a community-built Forgejo runner is available for Windows. GitLab Community Edition offers a broader integrated DevOps suite but generally requires more resources. Gitea is the closest open source comparison and shares much of the same forge model, while GitHub provides a polished proprietary hosted service with less server administration. Forgejo is the better choice for teams that want control over code hosting, GPL licensing, community governance, and modest deployment requirements, especially when a public SaaS dependency is undesirable. Teams should adopt it when they can own day-to-day administration.

Main features

  • Git repositories. Host repositories with browser access, team permissions, code search, releases, and migration support from Gitea.
  • Pull requests. Review proposed changes, coordinate discussions, and connect repository work with issues and continuous integration services.
  • Project management. Organize development with issues, wikis, kanban boards, milestones, organizations, and teams.
  • Package registry. Publish project packages alongside source repositories, releases, documentation, and team-managed code.
  • Identity integration. Connect LDAP and OAuth identity systems, supporting centralized access for organizations and development teams.
  • Federation work. Experiment with ActivityPub-based forge federation while moderation and access control features remain under development.

Self-hosting Forgejo

Forgejo can be installed from signed Linux binaries, container images, or source. The official download page documents amd64, arm64, and arm builds, plus Docker-compatible container images. Source installation requires Go and Node.js, with Node.js 20 listed as the minimum supported version. Deployments can use SQLite, PostgreSQL, MySQL, or MariaDB. The project says it can run on small cloud instances or Raspberry Pi class hardware, although repository size, users, and runners affect sizing. Administrators should back up the database, repository storage, attachments, configuration, and package data before upgrades. Major container upgrades require manual operation and human verification.

Strengths

  • GPL licensing preserves broad rights for commercial use, modification, and private operation.
  • Signed binaries and container images support repeatable Linux deployments.
  • SQLite, PostgreSQL, MySQL, and MariaDB provide database choices.
  • The feature set covers repositories, reviews, issues, packages, teams, and wikis.

Drawbacks

  • Windows support was dropped in 2024.
  • Administrators must operate storage, databases, upgrades, backups, and security.
  • The v17.0.0 release carries a warning about failed code operations in some cases.

What teams replace with it

Teams usually evaluate Forgejo when they want to move off GitHub Enterprise, GitLab, Bitbucket.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Forgejo

  • Gitea
  • GitLab Community Edition
  • SourceHut
  • RhodeCode

Frequently asked questions

Is Forgejo free?

Yes. Forgejo versions 9.0 and later are distributed under GPL-3.0-or-later, and the project publishes binaries, source archives, and container images. You can run it privately or commercially without a subscription to the software project. Operating costs remain your responsibility, including servers, storage, backups, networking, administration, and any external services used by your instance.

Can a company use Forgejo commercially?

Yes. GPL-3.0-or-later permits commercial use, modification, and private operation. If a company distributes Forgejo or a modified version, it must follow GPL requirements such as providing corresponding source and preserving license notices. Running a modified Forgejo instance internally does not itself create a distribution obligation. The GPL does not require publishing modifications solely because users access an instance over a network.

How do you self-host Forgejo?

Install Forgejo from an official Linux binary, a container image, or source. Select SQLite, PostgreSQL, MySQL, or MariaDB, then configure repository storage, authentication, email, and backups. The project says small cloud instances or Raspberry Pi class hardware can run Forgejo, but actual capacity depends on repositories, users, packages, and runners. Test upgrades and back up application data before changing major versions.

How does Forgejo compare with Gitea?

Forgejo and Gitea both provide self-hosted Git repositories, issues, pull requests, wikis, teams, and related forge features. Forgejo emphasizes independent community ownership under Codeberg e.V. and uses GPL-3.0-or-later for version 9 and later. Gitea remains the closest technical alternative for many deployments. The choice often depends on governance, licensing, migration needs, and the project’s preferred contributor community.

Is Forgejo suitable for private code?

Forgejo supports private repositories, organizations, teams, LDAP, and OAuth, allowing administrators to keep code on infrastructure they control. Security operations remain the administrator’s responsibility, including updates, credentials, network access, backups, and vulnerability response. The project provides a security contact and publishes signed release artifacts. Federation is experimental, so sensitive deployments should avoid relying on federation components without reviewing their current behavior.

Similar projects to compare

Sources

Last updated 2026-10-22.