I built OpenCodeSpace https://github.com/ngramai/opencodespace — a CLI tool that lets you launch disposable, self-hosted VS Code environments in one command.
It’s like a self-hosted Code Spaces, but:
- Works locally with Docker or remotely on Fly.io (AWS, GCE coming soon) - Auto-configured with Claude Code, OpenAI, Gemini CLI - Designed for YOLO mode development: temporary, parallel, throwaway sessions
As Claude Code and Gemini CLI became core to my dev workflow, I kept needing a way to run them in parallel, in clean, isolated environments in full YOLO mode (`--dangerously-skip-permissions`) without worrying about its effects on my computer.
I tired devcontainers, but not all repos have them configured and remote devcontainer setup is a pain. I also tried git work tree + multi window local VSCode, but I felt all the branching and folder replication on my local desktop a bit messy.
I wanted something simpler, so I built this.
How it works:
* Run `opencodespace .` in any folder * It checks for `.opencodespace` (or initializes one) * You choose: run locally with Docker or remotely on Fly.io * Browser-based VS Code opens up with everything ready
Install: pip install opencodespace
Code: https://github.com/ngramai/opencodespace
It’s still early days, but I love using this. I often spin up a few of these on Fly to let Claude code automatically chug away on bugs while I focus on heavier tasks in my local IDE.
Would love your feedback and ideas!