tastyeffectco/sandboxd

Open-source, self-hosted AI app builder — an agent builds real apps in isolated sandboxes on your own server, each live at a preview URL. Self-host in one command. MIT.

What it solves

sandboxd provides an open-source, self-hosted engine for building and hosting AI-generated applications. It eliminates the need for expensive managed platforms by allowing users to run a coding agent that builds real apps in isolated containers on their own server, providing each app with its own live preview URL.

How it works

The system uses a Go program to manage Docker containers, Traefik for routing URLs, and SQLite for state. When a user provides a prompt, the engine spins up a private, isolated container with its own filesystem and limits, runs an AI coding agent (such as OpenCode or Claude Code) inside it to build the app, and assigns a live preview URL. To optimize resources, idle sandboxes are set to sleep and wake on demand.

Who it’s for

It is designed for developers and platforms that need to host many sandboxes for others, such as AI app-builders, agent platforms, coding playgrounds, or teams requiring per-user or per-branch preview environments.

Highlights

  • Self-hosted and MIT licensed: Full ownership of infrastructure, code, and data.
  • API-first design: Every action is a /v1 call, making it easily embeddable into other products.
  • Isolated Sandboxes: Hardened containers per app with sleep/wake functionality to save resources.
  • Built-in Agents: Support for OpenCode and Claude Code with secure credential proxying.
  • Extensive App Library: One-click deployment for 80+ curated open-source apps (e.g., Ghost, n8n, Grafana).
  • Runtime Presets: Ready-to-use scaffolds for React/Vite, Next.js, Node/Express, and FastAPI.

Related

  • Project
  • Project
  • Project
  • Project
  • Project