Self-hosted alternatives to GitHub

Want git hosting, code review and CI without handing your data to GitHub? These 19 open-source apps run on your own server. Cheapest estimated hosting starts at about $3.5/month.

AppHealthStarsLicenseDockerRAM (est.)From
gitbucket directActively maintained9.4kApache-2.0✓2 GB$10/mo
BitBucket Server directHealth unknown–⊘ Proprietary–2 GB$10/mo
GiteaActively maintained58.9kMIT✓512 MB$3.5/mo
GogsActively maintained47.9kMIT✓1 GB$5/mo
OneDevActively maintained15.3kMIT✓2 GB$10/mo
GitLabActively maintained7.2kMIT✓8 GB$40/mo
Review BoardActively maintained1.7kMIT✓1 GB$5/mo
GerritActively maintained1.2kApache-2.0✓2 GB$10/mo
IdeonActively maintained670AGPL-3.0✓1 GB$5/mo
SCM ManagerActively maintained184BSD-3-Clause✓2 GB$10/mo
minimal-git-serverActively maintained48MIT✓1 GB$5/mo
RapidForgeActively maintained44Apache-2.0–2 GB$10/mo
Buddy EnterpriseHealth unknown–⊘ Proprietary–2 GB$10/mo
CgitHealth unknown–GPL-2.0–512 MB$3.5/mo
CrucibleHealth unknown–⊘ Proprietary–2 GB$10/mo
ForgejoHealth unknown–MIT✓512 MB$3.5/mo
PagureHealth unknown–GPL-2.0✓1 GB$5/mo
RhodeCodeHealth unknown–AGPL-3.0–1 GB$5/mo
SourcehutHealth unknown–GPL-2.0–512 MB$3.5/mo

The options in detail

1. gitbucket

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

Actively maintained Last activity 2026-10-29. Latest release 4.48.0 (2026-09-20). Needs roughly 2 GB RAM. How to run it →

2. BitBucket Server

Enterprise-level Git solution (alternative to GitLab).

Health unknown Needs roughly 2 GB RAM. How to run it →

3. Gitea

Git with a cup of tea! Painless all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD.

Actively maintained Last activity 2026-11-04. Latest release v28.3.0 (2026-11-01). Needs roughly 512 MB RAM. How to run it →

4. Gogs

Painless Git Service written in Go.

Actively maintained Last activity 2026-11-03. Latest release latest-commit-build (2026-01-31). Needs roughly 1 GB RAM incl. mysql/postgres. How to run it →

5. OneDev

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

Actively maintained Last activity 2026-10-31. Latest release v17.0.2 (2026-10-30). Needs roughly 2 GB RAM. How to run it →

6. GitLab

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

Actively maintained Last activity 2026-11-03. Latest release v18.11.0 (2026-04-16). Needs roughly 8 GB RAM. How to run it →

7. Review Board

Extensible and friendly code review tool for projects and companies of all sizes.

Actively maintained Last activity 2026-11-02. Latest release release-8.0 (2026-06-09). Needs roughly 1 GB RAM. How to run it →

8. Gerrit

Code review and project management tool for Git-based projects.

Actively maintained Last activity 2026-11-02. Needs roughly 2 GB RAM. How to run it →

9. Ideon

Project workspace built around an infinite canvas; embed GitHub, GitLab, Gitea, and Forgejo repositories alongside notes, links, and tasks, with real-time collaboration.

Actively maintained Last activity 2026-11-02. Latest release v1.1.0 (2026-11-02). Needs roughly 1 GB RAM. How to run it →

10. SCM Manager

Easiest way to share and manage your Git, Mercurial and Subversion repositories over http.

Actively maintained Last activity 2026-10-30. Needs roughly 2 GB RAM. How to run it →

11. minimal-git-server

Lightweight git server with a basic CLI to manage repositories, supporting multiple accounts and running in a container.

Actively maintained Last activity 2026-09-22. Latest release v2.1.17 (2026-07-29). Needs roughly 1 GB RAM. How to run it →

12. RapidForge

Lightweight platform for building webhooks, scheduled tasks and pages. Implement your logic with Bash or Lua.

Actively maintained Last activity 2026-09-14. Latest release v0.15.0 (2026-07-02). Needs roughly 2 GB RAM. How to run it →

13. Buddy Enterprise

Git and Continuous Integration/Delivery Platform.

Health unknown Needs roughly 2 GB RAM. How to run it →

14. Cgit

Fast lightweight web interface for git repositories.

Health unknown Needs roughly 512 MB RAM. How to run it →

15. Crucible

Peer code review application.

Health unknown Needs roughly 2 GB RAM. How to run it →

16. Forgejo

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

Health unknown Needs roughly 512 MB RAM. How to run it →

17. Pagure

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

Health unknown Needs roughly 1 GB RAM. How to run it →

18. RhodeCode

Unify and simplify repository management for Git, Subversion, and Mercurial.

Health unknown Needs roughly 1 GB RAM. How to run it →

19. Sourcehut

Full web git interface with no javascript.

Health unknown Needs roughly 512 MB RAM. How to run it →

Why self-host instead of GitHub?

The trade-off: you are responsible for updates, backups and security. Pick an app marked Actively maintained and with Docker support for the easiest ride.

Browse related categories

Software Development - IDE & ToolsSoftware Development - Continuous Integration & DeploymentSoftware Development - Project Management

Other alternatives guides

NotionGoogle PhotosDropboxGoogle DriveWeTransferTrelloAsanaJiraTodoistSlackDiscordZoomGmailMailchimpLastPass1Password

GitHub is a trademark of its owner; this site is not affiliated with it. Listings come from the community-maintained awesome-selfhosted list.