BrowserPod 3.0 runs Rust BrowserPod 3.0 runs unmodified Rust programs in the browser Announcement
Using a coding agent? Not sure where to start? Talk to us
Sign up for Edge Get an Edge API key, with 1,000 free hours Contact us Talk to the team

Node.js, Rust, git, bash, npm

The runtimes and tools you already use

Real programs, compiled from unmodified source to WebAssembly. The real Node.js 22, unmodified Rust programs and the tools around them, with Python in preview.

Real programs, unmodified

01

The real Node.js

Node.js 22 compiled from source. Your JavaScript runs on the browser's own engine, at browser speed.

02

Unmodified Rust

Rust programs such as ripgrep, fd and jj run as they are, with BrowserPod support in the standard library.

03

The toolchain comes with it

bash, git, npm, npx and pnpm, plus curl, grep, vi and an ssh client, in the base image.

04

Frameworks work

Vite, Next.js, Nuxt and Express run, with Wasm builds swapped in for native dependencies.

How the runtimes work

BrowserPod doesn't reimplement runtimes in JavaScript. Programs are compiled from their unmodified source to WebAssembly for BrowserPod's Linux-like kernel, using Cheerp, and run as real processes.

Node.js is the real Node.js 22, compiled this way. Its JavaScript runs on the browser's own JavaScript engine, so your code runs at browser speed. npm, npx and pnpm work, and so does node:sqlite.

Rust support lives in the standard library, so real Rust programs, threads included, build for BrowserPod without changes. ripgrep, fd, jj, starship and Codex CLI run unmodified. C and C++ build for the same target, and Python is available in preview.

What you need to know

Swap native dependencies for Wasm builds

Packages that ship platform binaries need their Wasm builds through overrides, such as esbuild-wasm for esbuild and @rollup/wasm-node for rollup.

Next.js

Use @next/swc-wasm-nodejs and run Next.js with --webpack.

Install and run

npm install works in a pod. Packages that ship native binaries need their Wasm build, set through overrides.

app.js
import { BrowserPod } from "@leaningtech/browserpod";

// Boot a pod, no API key needed
const pod = await BrowserPod.boot();
const terminal = await pod.createDefaultTerminal(document.querySelector("#console"));

await pod.run("bash", ["-c", "npm install cowsay && npx cowsay hello"], {
  terminal,
  cwd: "/home/user",
});

Questions

Which Node.js version is it?

Node.js 22, compiled from the real source.

Is Python supported?

Python is in preview. The interpreter is in the base image, without native extension modules yet.

What about C and C++?

C and C++ compile to the same target with Cheerp, our compiler, and run as programs in the pod.

Which frameworks work?

Vite with React, Svelte or Vue, Next.js, Nuxt and Express, with Wasm builds swapped in for native dependencies through overrides.

Can AI coding CLIs run in a pod?

Yes. Claude Code, Codex CLI, Gemini CLI and Pi run unmodified. Their calls to AI providers go through BrowserPod Edge.

Stay informed with BrowserPod news

BrowserCode: a browser-based coding playground, powered by WebAssemblyBrowserCode is a free, open source, fully client-side coding playground. Open a tab, pick a template, clone a repo or pick an agent and start building. No account, no installs, no servers, no setup. Ana GabySoftware Engineer @ Leaning TechnologiesBeyond WASI: Running any Rust application in the browser with BrowserPod 3.0BrowserPod can now run real Rust programs in the browser, compiled from unmodified source with stock rustc and cargo. Yuri IozzelliSenior Software Engineer @ Leaning TechnologiesA Linux-like kernel in a browser tab - deep dive in the BrowserPod architectureHow the BrowserPod kernel supports running many Linux applications concurrently in the browser using WebAssembly. Alessandro PignottiCTO @ Leaning TechnologiesBrowserPod 2.0: in-browser WebAssembly sandboxes. Run git, bash, node, python...BrowserPod 2.0 ships with a real bash shell, git, and core Linux utilities. Yuri IozzelliSenior Software Engineer @ Leaning TechnologiesBrowserPod: universal in-browser sandbox powered by Wasm (starting with Node.js)Stefano De Rossi, Alessandro PignottiCEO @ Leaning TechnologiesBrowserPod: WebAssembly in-browser code sandboxes for Node, Python, and RailsBrowserPod Beta is live: zero latency in-browser code sandboxes in WebAssembly for Node, Python and Rails. Alessandro Pignotti, Stefano De RossiCTO @ Leaning TechnologiesBrowserPod: In-browser full-stack environments for IDEs and Agents via WasmBrowserPod is a WebAssembly-based, client-side container that brings full-stack dev environments to the browser, ideal for web IDEs, docs, and AI agents.Alessandro Pignotti, Stefano De RossiCTO @ Leaning Technologies