Servers
Express server
A real npm install of Express from the registry, then its server, which restarts as you edit server.js.
This is a real terminal. Click into it and type.
The project's files open here.
Changes save as you type. Press Escape, then Tab, to leave the editor.
The page the server serves shows here.
First run in this browser: the project is built once and cached, and npm and the WebAssembly build tools are downloaded on first use. Later runs start in seconds.
betaClientVM is pre-1.0 (v0.2.0): things can break, and APIs may change between releases. Found a bug? Open an issue.
About this demo
The instance starts with a package.json and a server.js, nothing else. The unmodified npm that Node 24 bundles installs Express and its dependencies from the registry, into the instance’s own filesystem.
When server.js listens on port 3000, a service worker on the instance’s origin serves the page to the preview. Edit server.js in the editor and the demo restarts the server for you.
How it's built
const app = await vm.createInstance({
fs: { from: { home: { user: { app: { 'package.json': pkg, 'server.js': server } } } } },
});
app.onPortOpen((port, url) => (preview.src = url));
await app.exec('npm install && npm start', { cwd: '/home/user/app' });More demos
View all →Shell & tools
Shell & Node
An interactive bash with pipes, background jobs and Node.js, and no install step, so it is ready in a second.
- bash
- coreutils
- Node.js 24
- git
Agents
Agent drives the app
The tool calls an AI agent makes: read the running app, click and type in it, check its console and edit its files.
- @clientvm/agent-api
- Node.js 24
- driveable preview
Frameworks
Tailwind on Vite 8
Vite 8, React 19 and Tailwind CSS 4, with rolldown, lightningcss and Tailwind’s oxide scanner running as WebAssembly.
- Vite 8
- React 19
- Tailwind CSS 4
- WebAssembly