Git hosting
A Git forge gives you repositories with a web interface, issues, pull requests, and usually CI. Hosted services do this well, so running your own is a choice, not a requirement. People self-host to keep code on infrastructure they control, to avoid per-seat pricing, or to run private repositories for a small team or a homelab.
This section compares the main self-hosted forges. Gitea and Forgejo are light enough for a small VPS or a home server; GitLab does more but needs far more memory and upkeep. You will find a plain explanation of Gitea, comparisons of Gitea with Forgejo and with GitLab, a Docker Compose setup, a guide to Gitea Actions runners, and a GitLab install and maintenance guide.
Two articles look further ahead: what ForgeFed is and how far federation between forges has come, and where federated code hosting stands today.
Whatever you pick, plan for TLS, regular upgrades, backups you have restored at least once, and CI runners that cannot be abused by untrusted pull requests.
Articles in this section
- Federated code hosting: where it stands today
Why you still need an account on every Git forge, and what helps today: ForgeFed, email patches, OAuth sign-in, mirrors, Radicle and Tangled.
- ForgeFed explained: federation for code forges
What the ForgeFed spec defines, how it extends ActivityPub, and which forges (Forgejo, Vervis, Gitea, GitLab) can actually federate today.
- Gitea Actions runner setup
Set up a Gitea runner for Gitea Actions: enable Actions, get a registration token, register the binary or Docker image, set labels and lock it down.
- Gitea vs Forgejo
Forgejo vs Gitea compared: the 2022 fork, who governs each, MIT vs GPL, which Gitea versions can migrate, Actions runners, federation and release pace.
- Gitea vs GitLab
Gitea vs GitLab for self-hosting: official resource minimums, CI, Pages, licences, upgrades and backups, plus who should pick which.
- Gitea with Docker Compose
Run Gitea with Docker Compose and PostgreSQL: a pinned image, SSH on port 222, Caddy or nginx with TLS, first-run settings, backups, upgrades and Forgejo.
- Self-hosted GitLab: requirements, install and upkeep
Run self-hosted GitLab: official hardware needs, Linux package and Docker installs, Let's Encrypt, SMTP, runners, backups and the required upgrade path.
- What is Gitea?
Gitea is a self-hosted Git forge written in Go and licensed MIT. What it does, who runs it, how versions work, what it needs and the main alternatives.