Self-hosted alternatives to Bitbucket

Want git hosting and code review without handing your data to Bitbucket? These 18 self-hosted apps run on your own server (most are open source; licenses are listed below). Cheapest estimated hosting starts at about $3.5/month.

About Bitbucket: Atlassian's Git repository hosting service.

AppHealthStarsLicenseDockerRAM (est.)From
GiteaActive58.9kMIT✓512 MB$3.5/mo
GogsActive47.9kMIT–1 GB$5/mo
OneDevActive15.3kMIT✓2 GB$10/mo
gitbucketActive9.4kApache-2.0–2 GB$10/mo
GitLabActive7.2kMIT✓8 GB$40/mo
ForgejoActive5.8kMIT✓512 MB$3.5/mo
Review BoardActive1.7kMIT✓1 GB$5/mo
GerritActive1.2kApache-2.0✓2 GB$10/mo
SCM ManagerActive184BSD-3-Clause✓2 GB$10/mo
minimal-git-serverActive49MIT✓1 GB$5/mo
RapidForgeActive43Apache-2.0–2 GB$10/mo
BitBucket ServerUnknown–⊘ Proprietary–2 GB$10/mo
Buddy EnterpriseUnknown–⊘ Proprietary–2 GB$10/mo
CgitUnknown–GPL-2.0–512 MB$3.5/mo
CrucibleUnknown–⊘ Proprietary–2 GB$10/mo
PagureUnknown–GPL-2.0✓1 GB$5/mo
RhodeCodeUnknown–AGPL-3.0–1 GB$5/mo
SourcehutUnknown–GPL-2.0–512 MB$3.5/mo

The options in detail

1. 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.

Active Last commit 2026-11-04. 10+ releases in the past year. Latest release v28.3.0 (2026-11-01). Needs roughly 512 MB RAM. How to run it →

2. Gogs

Painless Git Service written in Go.

Active Last commit 2026-11-03. 10+ releases in the past year. Latest release latest-commit-build (2026-01-31). Needs roughly 1 GB RAM incl. mysql/postgres. How to run it →

3. OneDev

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

Active Last commit 2026-11-04. Latest release v17.1.0 (2026-11-04). Needs roughly 2 GB RAM. How to run it →

4. gitbucket

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

Active Last commit 2026-10-29. 6 releases in the past year. Latest release 4.48.0 (2026-09-20). Needs roughly 2 GB RAM. How to run it →

5. GitLab

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

Active Last commit 2026-11-05. Latest release v18.11.0 (2026-04-16). Needs roughly 8 GB RAM. How to run it →

6. Forgejo

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

Active Last commit 2026-11-04. 40 releases in the past year. Latest release v17.0.1 (2026-10-26). Needs roughly 512 MB RAM. How to run it →

7. Review Board

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

Active Last commit 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.

Active Last commit 2026-11-05. 10+ releases in the past year. Latest release v3.14.5 (2026-11-04). Needs roughly 2 GB RAM. How to run it →

9. SCM Manager

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

Active Last commit 2026-11-04. Needs roughly 2 GB RAM. How to run it →

10. minimal-git-server

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

Active Last commit 2026-11-03. Latest release v2.1.18 (2026-11-03). Needs roughly 1 GB RAM. How to run it →

11. RapidForge

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

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

12. BitBucket Server

Enterprise-level Git solution (alternative to GitLab).

Unknown Needs roughly 2 GB RAM. How to run it →

13. Buddy Enterprise

Git and Continuous Integration/Delivery Platform.

Unknown Needs roughly 2 GB RAM. How to run it →

14. Cgit

Fast lightweight web interface for git repositories.

Unknown Needs roughly 512 MB RAM. How to run it →

15. Crucible

Peer code review application.

Unknown Needs roughly 2 GB RAM. How to run it →

16. Pagure

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

Unknown Needs roughly 1 GB RAM. How to run it →

17. RhodeCode

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

Unknown Needs roughly 1 GB RAM. How to run it →

18. Sourcehut

Full web git interface with no javascript.

Unknown Needs roughly 512 MB RAM. How to run it →

Why self-host instead of Bitbucket?

The trade-off: you are responsible for updates, backups and security. Pick an app marked Active (a commit in the last 90 days) and with Docker support for the easiest ride.

Browse related categories

Software Development - IDE & ToolsSoftware Development - Project Management

Other alternatives guides

GitHub alternativesAzure DevOps alternativesJira alternativesAsana alternativesLinear alternativesShortcut alternativesYouTrack alternativesTrello alternativesGitHub Codespaces alternativesReplit alternativesCodeSandbox alternativesSentry alternativesMonday.com alternativesClickUp alternativesBasecamp alternativesWrike alternatives

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