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.
| App | Health | Stars | License | Docker | RAM (est.) | From |
|---|---|---|---|---|---|---|
| Gitea | Active | 58.9k | MIT | ✓ | 512 MB | $3.5/mo |
| Gogs | Active | 47.9k | MIT | – | 1 GB | $5/mo |
| OneDev | Active | 15.3k | MIT | ✓ | 2 GB | $10/mo |
| gitbucket | Active | 9.4k | Apache-2.0 | – | 2 GB | $10/mo |
| GitLab | Active | 7.2k | MIT | ✓ | 8 GB | $40/mo |
| Forgejo | Active | 5.8k | MIT | ✓ | 512 MB | $3.5/mo |
| Review Board | Active | 1.7k | MIT | ✓ | 1 GB | $5/mo |
| Gerrit | Active | 1.2k | Apache-2.0 | ✓ | 2 GB | $10/mo |
| SCM Manager | Active | 184 | BSD-3-Clause | ✓ | 2 GB | $10/mo |
| minimal-git-server | Active | 49 | MIT | ✓ | 1 GB | $5/mo |
| RapidForge | Active | 43 | Apache-2.0 | – | 2 GB | $10/mo |
| BitBucket Server | Unknown | – | ⊘ Proprietary | – | 2 GB | $10/mo |
| Buddy Enterprise | Unknown | – | ⊘ Proprietary | – | 2 GB | $10/mo |
| Cgit | Unknown | – | GPL-2.0 | – | 512 MB | $3.5/mo |
| Crucible | Unknown | – | ⊘ Proprietary | – | 2 GB | $10/mo |
| Pagure | Unknown | – | GPL-2.0 | ✓ | 1 GB | $5/mo |
| RhodeCode | Unknown | – | AGPL-3.0 | – | 1 GB | $5/mo |
| Sourcehut | Unknown | – | 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?
- Own your data — it lives on a server you control, with backups you decide on.
- Predictable cost — a small VPS often replaces per-seat pricing for a whole team or family.
- No lock-in — open-source licenses let you keep running the software even if a vendor disappears.
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
Other alternatives guides
Bitbucket is a trademark of its owner; this site is not affiliated with it. Listings come from the community-maintained awesome-selfhosted list.