Self-Hosted App Web Apps & Cloud ★ 9,163 stars on GitHub

microsandbox

Execute untrusted code, AI agents, and development environments safely using lightning-fast local virtual machines with instant startup times.

Self-Hosted Web Application: Unlike cloud SaaS apps, you run this software on your own server, NAS, or Docker container so you stay in full control of your data.

Guide and Overview

What it does in plain English

Microsandbox lets you run untrusted code, automated scripts, and AI agents inside isolated virtual machines on your local computer. It boots up in a fraction of a second, letting you test code, run browser automation, or execute tests without risking your main system. You can easily save your progress, duplicate environments, and manage standard container images with simple commands.

Who it’s for

  • Software developers testing risky code, database migrations, or third-party software packages.
  • AI engineers and builders running autonomous coding agents or web scrapers that require isolated execution spaces.
  • DevOps professionals creating disposable continuous integration workers or secure remote automation tasks.

Key features

  • Hardware-Level Isolation: Keeps your host computer completely safe by running workloads inside tiny, dedicated virtual machines.
  • Instant Startup: Boots up fresh environments in under a hundred milliseconds so you never have to wait around.
  • Standard Container Support: Uses familiar container images directly from popular online registries without extra configuration hassle.
  • Fork and Snapshot: Allows you to freeze a running environment, duplicate it instantly, or restore it to an exact previous state.
  • Flexible Integration: Control sandboxes directly from your terminal using commands or embed them straight into your own software projects.

How to install (Download)

To install the command-line interface on macOS or Linux, run:

curl -fsSL https://install.microsandbox.dev | sh

To install on Windows via PowerShell, run:

irm https://install.microsandbox.dev/windows | iex

You can also download individual binaries directly for Windows systems:

Pros and Cons

  • Pros: Blazing fast startup times, complete hardware isolation for untrusted scripts, and support for standard container images.
  • Cons: Requires specific virtual machine support enabled in your operating system settings and is actively evolving in beta development.

Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.

  • ★ Top Recommended — InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — Activate InterServer → (#ad)
  • GreenGeeks: Eco-friendly 300% green-energy SSD hosting with free SSL, nightly backups, and 1-click app installers — GreenGeeks (#ad)
  • Hosting.com (ex A2 Hosting): High-speed NVMe Managed VPS and WordPress cloud hosting optimized for self-hosted apps and sites — Hosting.com (ex A2 Hosting) (#ad)

Official Source & Credits: Official Source / Credits

Affiliate transparency (#ad): Some links on this page are affiliate links. If you choose to activate a service through them, we may earn a commission at no extra cost to you.

Your Saved Favorites

Your favorite apps are saved right here in this browser.


Sign in with one click to link your GitHub profile and sync favorites.