r/selfhosted • u/scuba10steve • 7d ago
Software Development I built Orchard CDE, an open-source, self-hosted dev environment platform with one VM per workspace (QEMU & EC2)
Hey everyone,
I've spent most of this year building Orchard CDE, and I'm looking for feedback.
Why I built it
I used to run a self-hosted Ona (formerly Gitpod) setup on AWS at work. Giving each workspace its own VM is a great model: no cross-contamination between projects, and a real security boundary if you let AI coding agents run autonomously. But I couldn't find a free, open-source, self-hosted option that worked this way without commercial licensing or Kubernetes-sized overhead.
How it works
Each environment (a "grove") provisions an isolated VM (a "seedling") and runs your devcontainer or Devfile workspace inside it.
- Uses standard
devcontainer.jsonor Devfile configs - QEMU by default for homelabs (Linux amd64/arm64 via KVM, macOS arm64 via HVF), or EC2 for cloud. GCP and Azure are planned.
trowel dev-server startruns everything locally on an embedded H2 database, so no PostgreSQL is needed to try it- CLI:
trowel grove plant <repo>, thentrowel grove connect <grove-id>. The README has a short demo of the full flow. - Canopy web UI for managing workspaces, plus VS Code Remote SSH with a companion extension
Roadmap / feature requests
I've written up several feature requests as GitHub issues, including GCP and Azure providers. If something there matches your use case, a 👍 helps me prioritize, and if something's missing, please open an issue or tell me here.
If you run a homelab or manage dev environments for a team, what would make this most useful for you?
Links
- Docs: https://orchardcde.org
- GitHub: https://github.com/orchard-cde/orchard
- Feature requests: https://github.com/orchard-cde/orchard/issues
•
u/asimovs-auditor 7d ago
Expand the replies to this comment to learn how AI was used in this post/project.
2
u/Yurigok 7d ago
one small thing from the UX side: grove, seedling, trowel, canopy is a lot of new vocabulary before someone even gets a workspace running. I'd keep the theme for branding but use plain words in the CLI and UI, like workspace create and workspace connect, or at least show the plain term next to the themed one in the README. the one VM per workspace model itself sounds right for letting agents run loose.
1
u/[deleted] 7d ago
[removed] — view removed comment