← all SaaS
Self-host GitHub Codespaces
Cloud development environment ·
Category: git hosting, CI & dev tooling
GitHub Codespaces is a VS Code IDE running in a cloud container, defined by a `devcontainer.json` in your repo, billed per compute-hour. The self-hostable replacements all do per-developer cloud workspaces backed by container or VM templates; the difference is whether the editor is browser VS Code, Coder's framework, or your own.
GitHub Codespaces pricing anchor: Free 60 core-hours/mo for personal accounts; Teams/Enterprise pay $0.18-$2.88/hr depending on machine size.
- GitHub
- ★ 13.1k · last commit 1d ago · 941 open issues
- License
-
AGPL-3.0 Core is AGPL-3.0; Enterprise (audit, RBAC, multi-cluster) is paid.
- Setup time
- 30min — Coder server + workspace template (Terraform-driven)
- Monthly cost
- $15/mo VPS for the control plane; per-developer workspace VMs/containers are the variable cost (e.g. $20/mo per active user on a Hetzner CCX13).
Migration sketch. Run `docker run -d -p 7080:7080 -e CODER_HTTP_ADDRESS=0.0.0.0:7080 ghcr.io/coder/coder:latest`. Define a workspace template in Terraform (workspace = a Docker container or k8s pod or AWS instance). `devcontainer.json` from your repo can be referenced directly via the official devcontainer template. Developers connect via browser VS Code, JetBrains Gateway, or `coder ssh` for a local terminal.
Good fit forTeams that want Codespaces-shaped per-developer environments backed by their own infrastructure (k8s cluster, VPS pool, cloud).
Weak atOperational surface — you manage the underlying compute; not a one-binary install.
- GitHub
- ★ 77.5k · last commit 1d ago · 151 open issues
- License
-
MIT - Setup time
- 5min docker run
- Monthly cost
- $5-10/mo VPS per developer.
Migration sketch. `docker run -it --name code-server -p 8080:8080 -v $HOME/.config:/home/coder/.config -v $PWD:/home/coder/project codercom/code-server:latest`. Visit `http://localhost:8080` in a browser — it's full VS Code (web). Mount your code directory; install extensions through the Marketplace. Best for single-developer per-instance setups.
Good fit forSolo developers who want VS Code in a browser on a remote server — minimal install, no orchestration.
Weak atNo multi-tenancy, workspace templates, or admin console — that's what Coder adds on top.
- GitHub
- ★ 14.9k · last commit 6mo ago · 113 open issues
- License
-
MPL-2.0 - Setup time
- 10min — install desktop client + provider
- Monthly cost
- $0 for the client; pay your provider (Docker locally = $0; AWS/Hetzner = standard VM rates).
Migration sketch. Install DevPod from devpod.sh. Add a provider (Docker, k8s, AWS, GCP, SSH host). Point at any repo with a `devcontainer.json` — DevPod spins up the workspace on the chosen provider and connects VS Code (or JetBrains, or browser). Reuses the same `devcontainer.json` that GitHub Codespaces consumes, so migrating a repo is zero config.
Good fit forDevelopers who want client-driven ephemeral workspaces on whichever cloud / local backend they happen to have access to.
Weak atNo central admin/control plane; not a team-management tool — that's where Coder sits.
In a terminal? npx os-alt github-codespaces prints this table —
how the CLI works →