Node workspaces in your browser

Install real npm packages, run normal dev commands, and preview Node, Vite, Next.js, and Express projects through virtual URLs.

$npm install groundpack
src/App.js
Vite dev server with React
Terminal
[--:--:--]Click Run to start the server.
Previewlocalhost:3900/
output appears here

Everything needed for browser workspaces

Virtual Filesystem

POSIX-compatible in-memory filesystem with watch, stat, snapshots, binary files, and recursive operations.

Node.js Runtime

Execute JavaScript and TypeScript with CommonJS resolution, ESM fallback transforms, and 40+ shimmed modules.

npm in the Browser

Install real packages from npm, resolve dependencies, extract tarballs, and create bin stubs entirely client-side.

Command-backed Servers

Run normal commands like next dev, vite, node, and npm test with virtual HTTP previews.

Hot Module Replacement

React Refresh, CSS updates, process output, and file watcher updates without a full reload.

Security Modes

Use same-origin execution for trusted demos or cross-origin sandboxing for user and AI-generated code.

Start from a real package workflow

Practice questions

Common questions

What is Groundpack for?

Running demos, playgrounds, coding agents, and educational tools for Node.js projects directly in the browser with real npm installs and dev commands.

Can I use it for AI coding agents?

Yes. An agent can write files, install packages, run commands, inspect output, preview servers, and iterate client-side. For untrusted generated code, use a cross-origin sandbox.

Is this production-ready?

Groundpack is experimental. It covers many common Node.js APIs and package workflows, but complex native dependencies or obscure Node internals can still expose platform gaps.

How should I handle security?

Run trusted demo code same-origin when needed. Run arbitrary user code in a sandboxed iframe on a different origin so it cannot access the host page DOM, cookies, localStorage, or IndexedDB.

How does it differ from WebContainers?

Groundpack is a lightweight browser runtime focused on demos and embedded development workflows. WebContainers provide a broader Linux-like environment for complete cloud IDE use cases.

Which Node.js modules are supported?

Common modules include fs, path, http, crypto, stream, buffer, events, url, zlib, util, process, child_process, module, os, querystring, and more browser-compatible shims.