Self-hostable open-source GitHub alternatives
Code hosting, pull requests and CI. Self-hosted git keeps source on your own infra without per-seat pricing.
Among 3 self-hostable open-source GitHub alternatives tracked here, Gitea currently leads on the Self-Host Health Score (99/100, 56k★, last commit today). For a Raspberry Pi or a low-RAM VPS, Gogs is the lightest at a documented ~512 MB (SQLite3). 3 of them publish official ARM64 images (Raspberry Pi / Apple Silicon). 1 offer a one-click deploy (e.g. Railway, PikaPods, DigitalOcean).
| Tool | Health | Stars | Database | Min RAM | ARM/Pi | One-click | Updated |
|---|---|---|---|---|---|---|---|
| Gitea
↗
Lightweight self-hosted Git service with PRs, issues and actions. |
99 Thriving |
56k★ Go |
SQLite | 1024 MB | ✓ ● | Railway ↗ PikaPods ↗ DigitalOcean ↗ | today MIT |
| Gogs
↗
Painless, low-footprint self-hosted Git service. |
98 Thriving |
48k★ Go |
SQLite3 | 512 MB | ✓ ● | — | today MIT |
| OneDev
↗
Git server with built-in CI/CD, kanban and code search. |
93 Thriving |
15k★ Java |
Embedded | 2048 MB | ✓ ● | — | today MIT |
FAQ
What is the best self-hostable GitHub alternative?
By the live Self-Host Health Score, Gitea ranks highest (99/100).
Which open-source GitHub alternatives run on a Raspberry Pi?
Those publishing official ARM64 images: Gitea, Gogs, OneDev.
Which is the lightest on RAM?
Gogs, at about 512 MB.