Open Source Self-Hosted GitHub Alternatives

GitHub is not available as a self-hosted solution but there are plenty of alternatives for power users and business that want to host a solution on-premise. The best open source Self-Hosted alternative is GitLab. If that doesn't suit you, our users have ranked more than 100 alternatives to GitHub and many of them are open source and available as a self-hosted solution so hopefully you can find a suitable replacement. Other interesting open source Self-Hosted alternatives to GitHub are Forgejo, Gitea, Gogs and SourceHut.

filter to find the best alternatives

Most GitHub 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 Europe, Self-Hosted, Open Source, Android and EU. 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
GitHub alternatives page was last updated

Alternatives list

  1. GitLab icon
     782 likes

    Provides a robust platform for on-premise or hosted Git repository management, integrating seamlessly with various dev tools, facilitating efficient workflow through offerings like issue tracking, code reviews, continuous integration, CI/CD pipelines, and option for unlimited private repositories.

    131 GitLab alternatives

    Cost / License

    • Freemium
    • Open Source

    Application type

    Platforms

    • Linux
    • Online
    • BSD
    • Self-Hosted
    • Ruby
    • Cloudron
    • US flagUnited States
    Activity stream
    Good alternative?
     
    |
    21
  2. Forgejo icon
     76 likes

    Beyond coding. We forge. Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.

    61 Forgejo alternatives

    Cost / License

    Application type

    Platforms

    • Self-Hosted
    • Go (Programming Language)
    • Cloudron
    Good alternative?
     
    |
    1
  3. Gitea icon
     187 likes

    Private, Fast, Reliable DevOps Platform. A self-hosted DevOps platform that gives teams and developers high-efficiency, easy-to-run operations from planning to production. Gitea is a fork of Gogs.

    55 Gitea alternatives

    Cost / License

    • Freemium
    • Open Source (MIT)

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • BSD
    • Self-Hosted
    • Raspberry Pi
    • Cloudron
    • Chocolatey
    • US flagUnited States
    Gitea screenshot 1
    Good alternative?
     
    |
    6
  4. Gogs icon
     142 likes

    The easiest, fastest, and most painless way of setting up a self-hosted Git service. With Go, this can be done with an independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, Windows and ARM.

    50 Gogs alternatives

    Cost / License

    • Free
    • Open Source (MIT)

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Self-Hosted
    • Go (Programming Language)
    • Cloudron
    Good alternative?
     
    |
    2
  5. SourceHut icon
     31 likes

    sourcehut is a network of useful open source tools for software project maintainers and collaborators, including git repos, bug tracking, continuous integration, and mailing lists.

    Cost / License

    • Freemium
    • Open Source

    Application type

    Platforms

    • Online
    • Self-Hosted
    • Software as a Service (SaaS)
    Good alternative?
     
    |
    2
  6. GitBucket icon
     54 likes

    GitBucket is the easily installable open-source GitHub clone written with Scala.

    Cost / License

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • Self-Hosted
    • Scala
    Good alternative?
     
    |
    1
  7. Trac icon
     147 likes

    Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. Our mission is to help developers write great software while staying out of the way.

    166 Trac alternatives

    Cost / License

    • Free
    • Open Source

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • BSD
    • Self-Hosted
    Good alternative?
     
    |
    2
  8. Phorge icon
     8 likes

    Phorge is an open source, community driven platform for collaborating, managing, organizing and reviewing software development projects.

    Cost / License

    Application type

    Platforms

    • Linux
    • Online
    • Self-Hosted
    • Oracle Solaris
    • FreeBSD
    Good alternative?
     
  9. Tangled icon
     5 likes

    Tangled is a new social-enabled Git collaboration platform, built on top of the AT Protocol. We envision a place where developers have complete ownership of their code, open source communities can freely self-govern and most importantly, coding can be social and fun again.

    Cost / License

    • Free
    • Open Source (MIT)

    Application type

    Platforms

    • Online
    • Self-Hosted
    Good alternative?
     
  10.  6 likes

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

    Cost / License

    • Freemium
    • Open Source

    Platforms

    • Self-Hosted
    • NL flagNetherlands
    • European Union flagEU
    sr.ht screenshot 1
    Good alternative?
     
    |
    1
  11. Mantis Bug Tracker is a free and open source, web-based bug tracking system. It is written in the PHP scripting language and works with MySQL, MS SQL, and PostgreSQL databases and a webserver. MantisBT can be installed on Windows, Linux, Mac OS, OS/2, and others.

    106 Mantis Bug Tracker alternatives

    Cost / License

    • Free
    • Open Source

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • BSD
    • Self-Hosted
    Good alternative?
     
12 of 36 GitHub alternatives