Skip to content
OSSsoftware

Open Source Alternatives to GitHub

GitHub is Microsoft's code hosting platform. These are the best free and open-source GitHub alternatives, ranked by community, activity and maintenance — see also Developer tools.

30 projects · top pick Dify (★ 162k) · also Gitea, Gogs, Forgejo · stats updated 2026-11-25.

Share:XLinkedIn

Top 10 compared

Open-source GitHub alternatives compared
ProjectStarsLicenseLanguageLast commitHealth
DifyThe next-gen development platform - Easily build and operate generative AI applications.162k GitHub starsOtherPythontodayThriving
GiteaPainless self-hosted all-in-one software development service.59k GitHub starsMITGotodayThriving
GogsGogs is a painless self-hosted Git service.48k GitHub starsMITGotodayThriving
ForgejoCommunity-driven open-source software forge for hosting Git repositories and collaborative development.26k GitHub starsMIT——
OneDevSelf-hosted Git Server with CI/CD and Kanban.15k GitHub starsMITJavatodayThriving
NangoA single API for all your integrations.13k GitHub starsOtherTypeScripttodayThriving
StoresynkShopify Webflow Integration.1.0k GitHub stars———
Feature VisorFeature flags / experiments / and remote config management with GitOps.816 GitHub starsMITTypeScript3 days agoHealthy
Sturdy🐥 Sturdy is an open-source, real-time, version control platform for startups (https://getsturdy.com)550 GitHub starsOtherGo3 years agoSlowing
Pagurepagure is a light-weight git-centered forge based on pygit2. (MIRROR)228 GitHub starsGPL-2.0Python4 months agoSteady

All 30 projects

Dify

API

162k GitHub stars

The next-gen development platform - Easily build and operate generative AI applications.

ThrivingPython · updated today

Gitea

CI/CD

59k GitHub stars

Painless self-hosted all-in-one software development service.

ThrivingGo · MIT · updated today

Gogs

Docker

48k GitHub stars

Gogs is a painless self-hosted Git service.

ThrivingGo · MIT · updated today

Forgejo

Developer tools

26k GitHub stars

Community-driven open-source software forge for hosting Git repositories and collaborative development.

MIT

OneDev

Java

15k GitHub stars

Self-hosted Git Server with CI/CD and Kanban.

ThrivingJava · MIT · updated today
13k GitHub stars

A single API for all your integrations.

ThrivingTypeScript · updated today
1.0k GitHub stars

Shopify Webflow Integration.

816 GitHub stars

Feature flags / experiments / and remote config management with GitOps.

HealthyTypeScript · MIT · updated 3 days ago

Sturdy

Go (Golang)

550 GitHub stars

🐥 Sturdy is an open-source, real-time, version control platform for startups (https://getsturdy.com)

SlowingGo · updated 3 years ago

Pagure

Python

228 GitHub stars

pagure is a light-weight git-centered forge based on pygit2. (MIRROR)

SteadyPython · GPL-2.0 · updated 4 months ago

Vaunt Dev

Community & forums

103 GitHub stars

RECOGNIZE / CELEBRATE AND CONNECT OPEN SOURCE DEVELOPERS.

SlowingGo · MIT · updated 2 years ago
53 GitHub stars

Cloudogu Ecosystem is an open platform, which lets you choose how and where your team creates great software. Each service or tool is delivered as a Dōgu, a Docker container, that can be easily integrated in your environment just by pulling it from our registry.

SteadyShell · AGPL-3.0 · updated 2 months ago

Warpbuild

JavaScript

8 GitHub stars

Light speed builds. Light-weight bills.

HealthyGo · MIT · updated 11 days ago
7 GitHub stars

AI-enhanced code review collaboration across GitHub / Slack & VS Code.

InactiveTypeScript · MIT · updated 1 year ago

GitLab

Ruby

GitLab CE Mirror | Please open new issues in our issue tracker on GitLab.com.

MIT
229k GitHub stars

Open-source AI coding agent that works with any model provider from the terminal.

ThrivingTypeScript · MIT · updated today

Zed

Code editors & IDEs

96k GitHub stars

High-performance open-source code editor with multiplayer collaboration and AI agent support.

ThrivingRust · updated today

code-server

Code editors & IDEs

80k GitHub stars

VS Code in the browser, hosted on a remote server.

ThrivingTypeScript · MIT · updated 3 days ago
49k GitHub stars

Offline-first, Git-friendly API client.

ThrivingJavaScript · MIT · updated today

Logseq

GraphQL

46k GitHub stars

A privacy-first open-source platform for knowledge management and collaboration.

ThrivingClojure · AGPL-3.0 · updated today

Langfuse

TypeScript

38k GitHub stars

Open source observability and analytics for LLM applications.

ThrivingTypeScript · updated today

OpenTofu

DevOps

31k GitHub stars

Open-source infrastructure as code tool for provisioning and managing cloud infrastructure.

ThrivingGo · MPL-2.0 · updated today

Coder

Code editors & IDEs

17k GitHub stars

Remote development machines on your own infrastructure.

ThrivingGo · AGPL-3.0 · updated today

JupyterLab

Code editors & IDEs

15k GitHub stars

Web-based environment for interactive and reproducible computing.

ThrivingTypeScript · BSD-3-Clause · updated today

Dagger

CI/CD

17k GitHub stars

Open-source programmable CI/CD engine for building portable development pipelines.

ThrivingGo · Apache-2.0 · updated today
15k GitHub stars

Self-hosted Git Server with CI/CD and Kanban.

ThrivingJava · MIT · updated today

gitbucket

Project management

9.4k GitHub stars

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

ThrivingScala · Apache-2.0 · updated today

Eclipse Che

Code editors & IDEs

7.2k GitHub stars

Kubernetes based Cloud Development Environments for Enterprise Teams.

ThrivingTypeScript · EPL-2.0 · updated 4 days ago

prek

Developer tools

8.8k GitHub stars

⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.

ThrivingRust · MIT · updated today

Forem

Ruby

23k GitHub stars

For empowering community 🌱.

ThrivingRuby · AGPL-3.0 · updated today

Frequently asked questions

What is the best open-source alternative to GitHub?

Dify (★ 162k on GitHub) is the top-ranked open-source GitHub alternative; Gitea, Gogs, Forgejo are strong options too.

Is there a free alternative to GitHub?

Yes. All 30 projects on this page are open source and free to use; Gogs, OneDev, Sturdy can be self-hosted on your own server.

Can I self-host an alternative to GitHub?

Yes — Gogs, OneDev, Sturdy are designed for self-hosting with Docker.

Why switch from GitHub to open source?

No per-seat fees, full control of your data, no vendor lock-in, and the ability to audit and extend the code.