r/selfhosted • • 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.json or 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 start runs everything locally on an embedded H2 database, so no PostgreSQL is needed to try it
  • CLI: trowel grove plant <repo>, then trowel 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

0 Upvotes

10 comments sorted by

•

u/asimovs-auditor 7d ago

Expand the replies to this comment to learn how AI was used in this post/project.

→ More replies (1)

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/scuba10steve 7d ago

This is something I’ve thought about myself. I appreciate the feedback and will consider it for the terminal interface and ui

1

u/scuba10steve 5d ago

I've filed this here for awareness. https://github.com/orchard-cde/orchard/issues/332

I do think that the theming makes sense, but to help with that there is a glossary in the repo. I think to accomodate this I may look at adding aliases to match how other projects have accomplished this. Which may, to your point, help from an onboarding perspective which is definitely something I don't want to be abrasive.

0

u/kasperlitheater 7d ago

You are on point. That special verbiage is a non-starter for me, I'm tired of things being complicated or labeled differently.

1

u/[deleted] 7d ago

[removed] — view removed comment

1

u/scuba10steve 7d ago

The credentials piece is something I’m designing now actually. The plan is to have encrypted store and eventually support external vaults like openbao, AWS Secrets Manager, etc.

As for the network side that would be a gap today I’ll take that as some feedback. Right now it would be scoped to whatever the machine has access to.