Try describing what you need:

Best open-source alternatives to Bitbucket

Atlassian's Git hosting platform, integrated with Jira.

Bitbucket provides Git hosting with Pipelines CI/CD and tight Jira integration, historically popular with Atlassian-centric teams. Its end-of-life for the self-managed Server edition and the cloud-only direction have pushed many teams to evaluate alternatives. Atlassian licensing changes and the desire for self-hosting drive migration to open-source Git platforms.

12 alternatives listed

Best for your setup

  • Novice

    Gitea59.5k
    • Live demo
    • Documented

    76/100 fitHow well this app matches homelab novices, 0 to 100

    See all
  • Expert

    Gogs48.0k
    • Several SSO sign-in methods
    • REST or GraphQL API

    95/100 fitHow well this app matches homelab experts, 0 to 100

    See all
  • Hacker

    gitbucket9.4k
    • Scriptable API
    • Works offline

    86/100 fitHow well this app matches homelab hackers, 0 to 100

    See all
  1. 1Gogs logo
    48.0k
    MIT LicenseOpen Source — No Paywall

    Gogs is a self-hosted Git service aimed at being easy to set up and lightweight to run. It is intended for teams and individuals who want a private Git hosting platform with a straightforward deployment model and broad platform support through a standalone binary. The project provides repository hosting and collaboration features such as issues, pull requests, webhooks, wiki support, protected branches, and repository migration/mirroring. It also includes user and organization management, authentication integrations, localization, and database support across several common relational databases. The README points users to the project website for full installation and user documentation, and notes that an online demo is available for trying it before installing.

    Offline CapableMulti-UserBinary

    Features:

    • user dashboard
    • user profiles
    • activity timeline
    • SSH/HTTP/HTTPS repository access
    • user/organization/repository management

    +5 more

    Auth:ldapproxy-authoauth2fa
  2. 2Gitea logo
    59.5k
    MIT LicenseOpen Source — No Paywall

    Gitea is a self-hosted Git service designed to provide a simple and fast way to run a private code hosting platform. It is written in Go and supports the operating systems and architectures commonly supported by Go, including Linux, macOS, Windows, x86, amd64, ARM, and PowerPC. The project is aimed at users and teams who want to host repositories and collaborate without relying on a third-party platform. The README points to a public demo, a free hosted service with limited repositories, and a cloud trial for dedicated instances, while also directing users to extensive documentation for installation, administration, usage, development, and localization. It additionally notes experimental API support and lists companion projects such as a CLI tool, SDK, and action runner.

    Cloud OptionalMulti-UserSourceBinary

    Features:

    • repository hosting
    • issues
    • pull requests
    • milestones
    • releases

    +5 more

  3. Apache License 2.0Open Source — No Paywall

    GitBucket is a self-hosted Git web platform built with Scala for teams and individuals who want a GitHub-like server they can run themselves. It focuses on ease of installation, an intuitive interface, and extensibility through plugins. The project provides repository hosting with public and private access over HTTP/HTTPS and SSH, along with Git LFS, an online file editor, issues, pull requests, wiki pages, activity timelines, and email notifications. It also supports account and group management with LDAP integration, and the README highlights API compatibility with GitHub plus a plug-in system for extending functionality. Deployment is centered on a runnable WAR file for Java 17, with support for servlet containers such as Jetty or Tomcat.

    Offline CapableMulti-UserBinarySource

    Features:

    • Public/private Git repositories
    • HTTP/HTTPS and SSH access
    • Git LFS support
    • Online file editor
    • Issues

    +5 more

    Auth:ldaplocal
  4. 4Gerrit logo
    1.2k
    Apache License 2.0Open Source — No Paywall

    Gerrit is a code review and project management tool for Git-based projects. It is aimed at teams and project maintainers who need a structured review workflow around Git changes, with an emphasis on making reviews easier to read and manage. The project supports side-by-side diff presentation and inline commenting, allowing reviewers to discuss code directly on the change. It also helps simplify maintenance by letting authorized users submit approved changes back to the master repository without requiring manual merges by a maintainer. The README points users to documentation for installation and usage, and describes multiple deployment paths including building from source, installing binary packages, or running pre-built Docker images.

    Multi-UserSourcePackage ManagerDocker

    Features:

    • side-by-side code review
    • inline comments
    • Git project maintenance
    • authorized change submission
    • binary packages

    +1 more

  5. 5OneDev logo
    15.4k
    MIT License

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

  6. 6GitLab logo
    7.2k
    MIT License

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

  7. 7walgit logo
    2.7k
    MIT License

    walgit is a self-hostable Git server designed for repositories that may exceed the disk capacity of the machines serving them. It targets teams and operators who want Git hosting without a database, fixed replica set, or persistent local repository state. Repository data and its write-ahead log live in an S3-compatible store or GCS bucket, while each walgit instance uses its local disk as a disposable cache. Multiple instances can serve the same repositories from that shared store. The server provides smart HTTP fetch and push, Git LFS, a repository-browsing web interface, a JSON API with a JavaScript SDK, per-repository push rules, and webhooks. It uses compare-and-swap updates to publish writes consistently, and offers remote reads for large packs that do not fit locally. Operators can configure serving, maintenance, and event-processing roles, with token or OIDC authentication. The README describes building from source or using a Nix package, and includes a one-machine setup using RustFS as a local object store.

    Cloud OptionalMulti-UserPackage ManagerSource

    Features:

    • Smart HTTP Git fetch and push
    • Git LFS with bucket-backed objects
    • Web UI for browsing trees, blobs, commits, and diffs
    • JSON API and dependency-free JavaScript SDK
    • Per-repository push policies and settings

    +5 more

    Auth:oidc-sso
  8. BSD 3-Clause "New" or "Revised" LicenseOpen Core — Some Features Paid

    SCM-Manager is a self-hosted source control management application designed to help teams share and administer Git, Mercurial, and Subversion repositories. It presents itself as an easy-to-install alternative to manual repository hosting setups and emphasizes browser-based administration rather than editing configuration files directly. The project includes centralized user, group, and permission management, a rich web UI, and a full RESTful web service API for integration. It also supports plugins and ships distribution modules for multiple deployment targets, including Docker and Helm. The README points users to the main documentation site and community support resources, and it mentions enterprise support as an available paid service.

    Multi-UserDockerHelmPackage ManagerSource

    Features:

    • Git/Mercurial/Subversion repository management
    • Web interface configuration
    • Central user/group/permission management
    • RESTful web service API
    • Plugin API

    +2 more

  9. MIT LicenseOpen Source — No Paywall

    minimal-git-server is a lightweight Git server packaged as a container. It is intended for users who want a simple way to host repositories with minimal setup, using a single configuration file and a command-line interface for administration. The project emphasizes practical deployment in container environments rather than a feature-heavy web interface. It supports multiple accounts and exposes basic repository operations such as listing, creating, renaming, and removing repositories. The README shows a simple Docker-based run command and describes the required persistent volumes for SSH keys, repositories, and configuration. It is also presented as suitable for scripting and automated workflows, and it has been tested with Docker and Podman.

    Offline CapableMulti-UserDocker

    Features:

    • multiple accounts
    • basic repository management CLI
    • script-friendly commands
    • semantic versioning
    • pre-built container images
    Auth:local
  10. 10Forgejo logo
    5.9k
    MIT License

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

  11. 11rgit logo
    215
    Do What The F*ck You Want To Public LicenseOpen Source — No Paywall

    rgit is a web interface for browsing bare Git repositories, positioned as a modern alternative to gitweb or cgit. It is written in Rust and uses Axum, gitoxide, Askama, and RocksDB to present repository data efficiently while keeping metadata indexed for fast access. The project is aimed at users who want to self-host a lightweight Git browsing service over their own bare repositories. The README describes local deployment options including direct execution with Cargo, building from source, running on NixOS, and containerized operation with Docker or Docker Compose. It also explains repository configuration details such as descriptions, owners, exportability, and cache/database storage.

    Offline CapableDockerDocker ComposeBinaryPackage ManagerSource

    Features:

    • Efficient metadata storage
    • On-demand loading
    • Dark mode
    • Repository description support
    • Repository owner configuration

    +2 more

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

Want your project featured here? Sponsor this page

Compare these alternatives

Side by side:Forgejo vs GiteaGitea vs GitLab

What to look for in a Bitbucket alternative

Jira integration is the most-cited Bitbucket dependency — evaluate whether the alternative supports issue tracker integrations or whether you are migrating off Jira simultaneously. Pipelines DSL and runner compatibility matter for porting existing CI workflows. Repository import tools, including PR history preservation, determine how painful the migration will be.

Other SaaS alternatives

  • 13 alternatives

    The dominant Git hosting and developer collaboration platform.

    Gogs, Gitea, gitbucket

    +10 more
  • 52 alternatives

    An all-in-one workspace for notes, docs, and databases.

    AFFiNE, Memos, AFFiNE Community Edition

    +49 more
  • 45 alternatives

    A cloud file sync and sharing service.

    Syncthing, Cloudreve, SeaweedFS

    +42 more
  • 35 alternatives

    A long-running personal note-taking and clipping app.

    Memos, Joplin, Logseq

    +32 more
  • 35 alternatives

    The ubiquitous team messaging and collaboration platform.

    Rocket.Chat, Zulip, The Lounge

    +32 more
  • 31 alternatives

    A cloud website builder and hosting platform.

    Ghost, Wagtail, WordPress

    +28 more
Browse all alternatives