GitHub alternatives Self-hosted forges Forgejo

~ git remote add forgejo <forgejo.org>

Forgejo

Community-governed Gitea fork, under the non-profit Codeberg e.V.

active Verified forgejo.org

Independent directory entry. Not affiliated with Forgejo, its owner, GitHub, Inc. or Microsoft Corporation. Every figure was read from the vendor's own page on 9 November 2026.

Forgejo appeared when Gitea was placed under a for-profit company, and it is now governed by its community with a hard commitment to staying free software. It runs from a single binary, uses very little memory, and includes Forgejo Actions, which Forgejo describes as familiar to GitHub Actions users, with workflows that should work after minimal changes. Federation between instances is in active development.

At a glance

Hosting
Self-hosted, or use Codeberg
Licence
GPL-3.0-or-later since v9.0; MIT up to v8.0
Free tier
Free and unlimited. It is your server
Paid plans
None
CI/CD
Built-in
Issue tracker
Yes
Reads Actions YAML
Mostly, minimal changes
Imports from GitHub
Code, issues and PRs
SAML / SSO
Yes, OAuth2 and LDAP
Used by
Codeberg runs entirely on it. Fedora moved its repositories to its own Forgejo instance, forge.fedoraproject.org, in 2026.
Forked from Gitea in 2022 and a hard fork since 2024. Quarterly releases, with one long-term support release each year.

Strengths

  • Single binary, runs comfortably on a $5 virtual server
  • Forgejo Actions reuses GitHub Actions workflow syntax
  • Community governance with no company able to relicense it

Trade-offs

  • You own backups, upgrades and uptime
  • Federation is still under development
  • Smaller plugin ecosystem than GitLab

Moving from GitHub

The easiest migration here. The importer carries repositories, issues, pull requests, labels, milestones and releases, and Forgejo says GitHub Actions workflows should work with minimal changes, so much of CI carries over.

git clone --mirror https://github.com/user/repo.gitcd repo.gitgit remote set-url --push origin <new Forgejo remote>git push --mirror

Comparison pages

Other self-hosted forges

Same group in the directory. Figures match each platform's own page.
PlatformHostingFree tierPaid plans
GiteaSelf-hosted, Gitea Cloud, or Gitea EnterpriseSelf-managed open source is free with no user or repository limitsGitea Enterprise $9.50/user/month (list price $19) with a one-year commitment
GitLab Community EditionSelf-hostedFree, unlimited users and repositoriesOptional paid self-managed tiers add security and compliance features
OneDevSelf-hostedFree and unlimitedEnterprise Edition $6/user/month, minimum 12 user-months per order
Harness Open SourceSelf-hostedFree and unlimitedNone for the open-source project. Harness sells a managed platform separately
GogsSelf-hostedFree and unlimitedNone
PagureSelf-hosted only. pagure.io is now a read-only archiveFree and unlimitedNone
PhorgeSelf-hostedFree and unlimitedNone
FossilSelf-hostedFree and unlimitedNone
HeptapodSelf-hosted, Heptapod Cloud on Clever Cloud, or free hosting for free-software projectsSelf-hosted is free and open source. foss.heptapod.net hosts free-software projects at no cost.Heptapod Cloud from €7 per active user per month, pay as you go; CI runners from €1.85 per 1,000 minutes
Gerrit Code ReviewSelf-hostedFree and unlimitedNone
RhodeCodeSelf-hosted or RhodeCode CloudCommunity Edition is free with unlimited users, self-hostedEnterprise $75/user/year, Enterprise Cloud $96/user/year, billed annually
SCM-ManagerSelf-hostedFree and unlimitedCommercial support available from Cloudogu
TuleapSelf-hosted or Tuleap CloudCommunity Edition is free and open source, self-hostedEnterprise and Cloud pricing on request
GitBucketSelf-hosted (JVM)Free and unlimitedNone
Apache AlluraSelf-hostedFree and unlimitedNone
GForgeSelf-hosted via Docker or Podman, or vendor-hosted SaaSUp to 5 active users with unlimited public and private projects. Free permanently for open-source teamsFrom $6/user/month on SaaS. Perpetual or annual licences for self-hosted

Frequently asked questions

Is Forgejo free?

Free tier: Free and unlimited. It is your server. Paid plans: None.

What licence is Forgejo under?

GPL-3.0-or-later since v9.0; MIT up to v8.0.

Can Forgejo be self-hosted?

Hosting: Self-hosted, or use Codeberg.

Does Forgejo have CI and read GitHub Actions workflows?

CI/CD: Built-in. Reads GitHub Actions YAML: Mostly, minimal changes. Imports from GitHub: Code, issues and PRs.

How do I move from GitHub to Forgejo?

The easiest migration here. The importer carries repositories, issues, pull requests, labels, milestones and releases, and Forgejo says GitHub Actions workflows should work with minimal changes, so much of CI carries over.

Source

Read on 9 November 2026 from forgejo.org. Prices and limits change without notice; confirm with the vendor before you decide.

All 45 GitHub alternatives, compared