Open Source GitLab Alternatives

The best open source alternative to GitLab is Codeberg. If that doesn't suit you, our users have ranked more than 100 alternatives to GitLab and loads of them are open source so hopefully you can find a suitable replacement. Other interesting open source alternatives to GitLab are Forgejo, Gitea, Gogs and SourceHut.

filter to find the best alternatives

Most GitLab alternatives are Version Control Systems, but you can also narrow the list to Source Code Hosting Services or Issue Tracking Systems. Other popular filters are Open Source, Self-Hosted and Windows. You can also filter for EU-based alternatives if you prefer software from the European Union.
Copy a direct link to this comment to your clipboard
Alternatives
GitLab alternatives page was last updated

Alternatives list

  1. GitGud.io icon
     4 likes

    GitGud.io is a free Git hosting site powered by GitLab, hosted by Sapphire. Sign up for FREE, via Sapphire Accounts

    Cost / License

    • Free
    • Open Source

    Since

    • Since 2016

    Platforms

    • Online
    • Git
    Good alternative?
     
  2.  6 likes

    sr.ht is is the hosted instance of SourceHut and provides paid services to its users.

    Cost / License

    • Freemium (Subscription)
    • Open Source

    Since

    • Since 2018

    Platforms

    • Self-Hosted
    Good alternative?
     
  3. Heptapod icon
     1 like

    Heptapod brings Mercurial support to GitLab Community Edition, an open source software to collaborate on code.

    Cost / License

    • Free Personal
    • Open Source

    Application type

    Since

    • Since 2021

    Platforms

    • Online
    • Software as a Service (SaaS)
    • Self-Hosted
    Good alternative?
     
  4. Earthly icon
     2 likes

    Earthly is a CI/CD framework that allows you to develop pipelines locally and run them anywhere. Earthly leverages containers for the execution of pipelines. This makes them self-contained, repeatable, portable and parallel.

    Cost / License

    Application type

    Since

    • Since 2022 (updated Oct 2026)

    GitHub

    • GitHub stars: 12.1k

    Platforms

    • Linux
    Good alternative?
     
  5. Sourcebot icon
     Like

    Blazingly fast code search. Deployed as a single Docker image. Search million+ lines of code in your GitHub and GitLab repositories.

    51 Sourcebot alternatives

    Cost / License

    • Free
    • Open Source

    Since

    • Since 2024 (updated Apr 2026)

    GitHub

    • GitHub stars: 3.3k

    Platforms

    • Self-Hosted
    • Docker
    Good alternative?
     
  6. Apache Allura icon
     15 likes

    Apache Allura is an open source implementation of a software forge, a web site that manages source code repositories, bug reports, discussions, wiki pages, blogs, and more for any number of individual projects.

    Cost / License

    Application type

    Since

    • Since 2012

    Platforms

    • Windows
    • Mac
    • Linux
    • Online
    Good alternative?
     
  7. Standing on the shoulders of Trac, Apache Bloodhound is a project hosted by the Apache Software Foundation. Currently, it has three key aims :

    Cost / License

    • Free
    • Open Source

    Application type

    Since

    • Since 2013

    Alerts

    • Discontinued

    Platforms

    • Online
    • Self-Hosted
    Good alternative?
     
  8. Mergify icon
     1 like

    Mergify is an automation tool for developers using the GitHub platform. You define rules, and Mergify automatically merge pull requests whenever they're ready.

    Cost / License

    • Freemium (Subscription)
    • Open Source

    Since

    • Since 2018

    Platforms

    • Windows
    • Mac
    • Linux
    Good alternative?
     
  9. Gitweb icon
     23 likes

    Gitweb is a Git web interface. It is written in Perl and can be used as a CGI script, or as a mod_perl legacy script (run by ModPerl::Registry handler). It allows browsing a git repository (or a set of git repositories) using a web browser.

    Cost / License

    • Free
    • Open Source

    Since

    • Since 2013

    Platforms

    • Windows
    • Mac
    • Linux
    • Self-Hosted
    • Perl
    Good alternative?
     
  10. A place to meet the community of open source hardware developers and find open source hardware designs.

    Cost / License

    • Free
    • Open Source

    Since

    • Since 2021

    Platforms

    • Online
    Good alternative?
     
  11. agentgit icon
     1 like

    agentgit is a git host built for AI agents. git push https://agentgit.co/<name>.git creates the repository; there is no signup, no token and no SSH key. Refs are append-only, so nothing an agent pushed can be force-pushed over or deleted.

    Cost / License

    • Free
    • Open Source (MIT)

    Since

    • New

    GitHub

    • GitHub stars: 4

    Platforms

    • Mac
    • Linux
    • Self-Hosted
    • JavaScript
    • Typescript
    • npm
    Good alternative?
     
You are at page 3 of GitLab alternatives