GitHub hosts Git repositories with issues, pull requests, Actions CI and Copilot. Gitea is a lightweight open-source forge with the same core loop — repos, issues, pull requests, wiki, releases, a package registry and Actions-style CI — on a server you control.
Gitea is the closest self-hosted match for day-to-day GitHub work: its pull-request flow and labels feel familiar, and Gitea Actions reads the same workflow YAML. Choose it for private code you want off a US platform, or for an internal forge. Stay on GitHub for open-source projects that need contributors to find them, and for Copilot or Codespaces.
GitHub vs self-hosted Gitea
GitHub (SaaS)
Gitea on Keenrig
Price
Free plan with unlimited private repos; Team $4 per user/month; Enterprise $21 per user/month
App is free and open source; Keenrig Starter is $0, you pay for the server
Hosting
GitHub’s cloud (Microsoft), multi-region
Your own VPS or home server; Keenrig installs, updates and backs it up
Where your data lives
GitHub data centres, mostly in the US; data residency only on Enterprise Cloud
On your server’s disk, in the data centre or country you pick
Limits
Team: 3,000 Actions minutes and 2 GB Packages storage per month; more is billed by usage
No minute or storage quota beyond your disk; Git over HTTPS only (SSH clone is off); CI needs a separate act_runner machine you register
Memory needed
—
Gitea 512 MB
Monthly cost for 1, 5 and 10 users
1 user
5 users
10 users
GitHub
$4/mo
$20/mo
$40/mo
Keenrig Starter + VPS
$6.60/mo
$6.60/mo
$6.60/mo
Keenrig Standard + VPS
$31.60/mo
$31.60/mo
$31.60/mo
GitHub figures use the Team plan at $4 per user. Many small teams stay on GitHub Free and pay nothing, so the saving here is about control, not money. Assumptions: one Contabo Cloud VPS 4 (4 vCPU, 8 GB RAM) at $6.60/month (price from contabo.com/en/vps, checked 2026-11-10) runs the app for all three team sizes. Keenrig Starter is free; Standard is $25/month and adds installation and domain support. Taxes excluded.
GitHub prices taken from the vendor’s pricing page on 2026-11-10: github.com/pricing. Prices exclude tax and change often. Spot something wrong? Write to hello@keenrig.com
What you lose by leaving GitHub
Discoverability: nobody browses your Gitea for stars, forks or drive-by pull requests.
Copilot, Codespaces, Dependabot and GitHub Advanced Security have no built-in equivalent.
Hosted runners: Gitea Actions needs you to run act_runner yourself, and some features (environments, problem matchers) are ignored.
The GitHub Marketplace and the long tail of apps that only integrate with github.com.
What you gain
No per-seat bill: add contractors, interns and bots as users without a price tier change.
Code and issues sit on your disk, inside your backup, under your jurisdiction.
Pull mirrors keep a live copy of GitHub repos you depend on, in case they vanish.
Built-in registry for container images, npm, PyPI, Maven and other package types.
Moving your data from GitHub
Gitea has a GitHub importer under New Migration. Give it a personal access token and it brings across the repository plus, if you tick them, the wiki, issues, pull requests, labels, milestones and releases. Git LFS objects can be included too.
Workflows in .github/workflows keep working once you register a runner, because Gitea reads that folder when there is no .gitea/workflows. Actions referenced without a full URL are fetched from github.com by default, so check the few your pipeline uses.
Mostly. Gitea Actions uses the same YAML syntax and many marketplace actions work, but you must run your own act_runner, and a few keys such as jobs.<id>.environment are ignored.
Can I keep GitHub and Gitea in sync?
Yes. A pull mirror in Gitea fetches from GitHub on a schedule, and a push mirror sends your Gitea commits to GitHub, so you can move gradually.
Is Gitea fine for a team of ten?
Yes. Gitea is written in Go and stays light; a team of ten is well within what a small VPS handles. CI builds are what need CPU, and they run on the separate runner.
Run Gitea on your own server
One command installs Keenrig on Ubuntu. Then pick the app from the catalog; HTTPS, updates and backups are handled for you.