Self-hosted alternatives to GitHub

Last updated · 2 options

Quick answer: Gitea has the most stars on its repository of the 2 options here (★ 58.6k), followed by Forgejo (★ 5.7k). Stars show popularity, not fit, so check formats, platforms and licence for your own work.

Hosted Git repositories, issues and pull requests. Here are 2 self-hosted options, most-starred first.

Gitea

Software Development - Project Management

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration,…

Stars
★ 58.6k
Licence
MIT
Updated
  • Docker

Alternative to GitHub

Forgejo

Software Development - Project Management

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

Stars
★ 5.7k
Licence
MIT
Updated
  • Docker
  • Runs on ARM

Alternative to GitHub

FAQ

Is there a self-hosted alternative to GitHub?

Yes. SelfHostAlts lists 2 options: Gitea and Forgejo.

Which GitHub alternatives are open source?

Gitea (MIT) and Forgejo (MIT).

Which GitHub alternatives can run with Docker?

Gitea and Forgejo (all of them).

Related categories: Software Development - Project Management

Self-hosted apps are rarely drop-in replacements. Check the import options, mobile apps and requirements before you move your data, and keep backups.

SelfHostAlts Weekly

Every week: the best new self-hosted alternatives to the SaaS tools you pay for, with what you need to run them. Free. More about it →