Self-hosted alternatives to GitHub
Self-hosted Git forges with issues, code review and CI.
Facts below come from each project's own documentation; every claim links to the page it came from. We have not benchmarked these apps. Facts checked 2026-11-27. Features you rely on may differ, so check the project docs before migrating.
Gitea
Gitea aims to be a self-hosted all-in-one software development service: Git hosting, code review, issues, wiki, packages and CI/CD.
- Licence
- MIT
- Needs
- Docker compose guide initialises SQLite if no DB is set; MySQL and PostgreSQL variants are documented
Documented features
Forgejo
Forgejo offers Git hosting plus issues, pull requests, wikis, kanban boards, releases and a package registry.
- Licence
- GPL-3.0-or-later (versions before v9.0 were MIT)
- Needs
- If no database is configured it defaults to SQLite; MySQL and PostgreSQL compose examples are given
Documented features
- Lightweight: can be hosted on nearly every machine, from a Raspberry Pi to a small cloud instance [source]
- Issues, pull requests, wikis and kanban boards alongside Git hosting [source]
- Package registry for docker, npm and other package managers, plus releases [source]
- Organizations and team permissions, CI integration, code search, LDAP and OAuth [source]
- Forge federation over ActivityPub is a work in progress [source]
What to know / what you give up
GitLab Community Edition
GitLab is a platform to manage Git repositories with merge requests, CI/CD pipelines, issue trackers and wikis.
- Licence
- MIT Expat (CE); files in /ee are proprietary
- Needs
- PostgreSQL is the only supported database (bundled with the Linux package); Redis or Valkey is also listed as a component
Documented features
- Git repositories with fine-grained access controls [source]
- Merge requests for code review [source]
- Built-in CI/CD pipelines for build, test and deploy [source]
- Each project can have an issue tracker, issue board and wiki [source]
What to know / what you give up
- Enterprise Edition adds extra features aimed at organisations with more than 100 users; CE lacks them [source]
- Single-node baseline is 16 GB memory; at least 8 GB for memory-constrained installs [source]
- Docker image: needs your own mail transport agent; not recommended for Kubernetes; Docker for Windows unsupported [source]
What you give up by self-hosting
- You run the server: updates, backups and security are your job, not a vendor's.
- Availability depends on your hardware and network.
- Check each app's limits above, especially features reserved for paid editions.
Head-to-head: Gitea vs Forgejo