Lightweight Git forge or full DevOps platform
Gitea, Gogs, and Forgejo focus on Git repositories, pull requests, code review, issues, projects, wikis, users, and organizations. They can run on modest infrastructure. GitLab and Harness cover more of the developer lifecycle with CI/CD, artifact or package management, development environments, security workflows, and deployment pipelines, at the cost of more resources and administration.
GitHub Actions alternatives
Gitea includes Gitea Actions with a workflow model familiar to GitHub Actions users. GitLab has its own mature CI/CD system, and Harness makes CI/CD central to its platform. Forgejo provides actions and CI capabilities through its ecosystem. Gogs is primarily Git hosting and generally relies on external CI tools.
GitHub and GitLab
GitLab is the closest broad replacement in this list: both offer repositories, code review, issues, CI/CD, packages, organizations, planning, security tooling, and APIs. GitLab bundles more DevOps functionality into one application, which increases the operational requirements of a self-hosted deployment compared with Gitea or Forgejo.
Gitea and Forgejo
Forgejo originated in the Gitea ecosystem, so the projects share concepts and interface patterns. Gitea remains MIT licensed and has its own project and commercial ecosystem. Forgejo emphasizes community governance, uses GPL-3.0-or-later starting with version 9.0, and is investing in federation. The projects are increasingly diverging, so compatibility should not be assumed indefinitely.
Governance and popularity metrics
Forgejo emphasizes community governance and is closely associated with Codeberg. Gitea has a broader commercial ecosystem; GitLab combines an open-source Community Edition with commercial Enterprise functionality; Harness publishes an Apache-2.0 developer platform alongside commercial products. Forgejo's primary repository is outside GitHub, so GitHub star counts do not represent its popularity.