Skip to content
Repoly

Open source alternatives to GitHub

We track 7 open-source GitHub alternatives, of which 4 currently score 70 or above on Repoly's GitHub health scale and 5 ship a Docker image. Gitea leads on health at 99/100 with 517 commits in the last 90 days; across all 7 projects you are choosing between Apache-2.0, GPL-2.0, MIT.

7
Alternatives
138k
Combined stars
1,047
Commits / 90 days
5
With Docker
Licence family Licence

Showing 7 of 7 tools

All 7 GitHub alternatives, ranked by health

  • OneDev

    97 GOOD

    All-In-One DevOps Platform. With Git Management, Issue Tracking, and CI/CD. Simple yet Powerful.

    ★ 15k · ⟳ yesterday · v16.6.3 · MIT

    DockerJavaK8S
  • Gogs

    89 GOOD

    Painless self-hosted Git Service written in Go.

    ★ 48k · ⟳ 2 days ago · v0.14.3 · MIT

    Go
  • gitbucket

    86 GOOD

    Git platform powered with easy installation, high extensibility & GitHub API compatibility (alternative to GitHub).

    ★ 9.4k · ⟳ today · 4.47.0 · Apache-2.0

    ScalaJava
  • GitLab

    60 SLOWING

    Self Hosted Git repository management, code reviews, issue tracking, activity feeds and wikis.

    ★ 7.2k · ⟳ 3 days ago · v18.11.0 · MIT

    DockerRubydeb
  • Forgejo

    20 STALE

    A lightweight software forge focused on scaling, federation, and privacy (fork of Gitea).

    MIT

    DockerGo
  • Pagure

    20 STALE

    Lightweight, powerful, and flexible git-centric forge with features laying the foundation for federated and decentralized development.

    GPL-2.0

    DockerPythondeb

GitHub alternatives: common questions

What is the most maintained open source alternative to GitHub?

Gitea scores highest at 99/100, with 517 commits in the last 90 days, 58k GitHub stars and its latest release (v1.27.3) published 16 days ago. It is also the most active by raw commit count.

Which GitHub alternatives use a permissive licence?

6 of 7 are permissively licensed (MIT, Apache, BSD or similar): Gitea (MIT), OneDev (MIT), Gogs (MIT), gitbucket (Apache-2.0), GitLab (MIT), Forgejo (MIT). 1 use copyleft licences such as GPL or AGPL, which require you to publish changes if you distribute a modified version.

Which GitHub alternatives run in Docker?

5 of 7 publish a Docker image or Compose file: Gitea, OneDev, GitLab, Forgejo, Pagure. Docker support contributes 10 of the 100 available health points, because it is the clearest signal that self-hosting is a supported path rather than an afterthought.