Menu

BrowserPod for Node.js is here

Code Sandboxes
in your browser

Instant in-browser runtimes to execute untrusted code safely, next to the user.

npm install @leaningtech/browserpod

Loading editor...

import { BrowserPod } from "@leaningtech/browserpod";

// Initialize a Pod.
const pod = await BrowserPod.boot({ apiKey: "your-api-key" });

// Create a Terminal
const terminal = await pod.createDefaultTerminal(
  document.getElementById("console"),
);

// Define the payload
const script = `
console.log("Payload running on Node.js:", process.version);
`;

// Write the script into the Pod's filesystem
const scriptFile = await pod.createFile("/script.js", "utf-8");
await scriptFile.write(script);
await scriptFile.close();

// Run the script
await pod.run("node", ["script.js"], { terminal });

Built by Leaning Technologies, the tech company trusted by leading organisations worldwide.

See BrowserPod for Node.js in action

A full Vite + Svelte development environment, running fully in-browser, with public URLs.

Editor
Terminal
Preview

Features

The universal sandboxed execution layer for
browser-based compute.

Multi-runtime support

BrowserPod is a universal, browser-local sandbox to run untrusted code next to the user. It is powered by modular runtime engines in WebAssembly, and supports Node.js, with Python, Ruby, Go and Rust coming soon.

Secure in your browser: BrowserPod runs untrusted code inside the browser sandbox, providing strong security and isolation guarantees.

Multi-process execution

Run real-world code inside the browser sandbox, with process isolation and true concurrency via WebWorkers.

Instant interactive demos

Share a private link of your real application via BrowserPod's Portals, public URLs routed to the browser sandbox.

Controlled outbound networking

Control the permitted outbound network requests, so tools can selectively fetch dependencies and talk to external services.

Virtual Filesystem

BrowserPod provides a full file system, meaning all the sandbox data data stays local to your device.

Native speed

BrowserPod provides near-native speed thanks to its runtime engines compiled to WebAssembly, making it much faster than typical cloud sandboxes.

Instant cold starts

BrowserPod boots local sandboxes near instantly, eliminating latencies and minimizing real time-to-first-instruction of cloud alternatives.

~0s
Startup time
0
Dependencies

Language Support

Multiple language compatibility

Built from the ground-up to support any programming language

Node.js

Available Now

High-fidelity, versioned support for Node.js environments

Python

April 2026

Python support planned on the product roadmap.

Ruby

May 2026

Ruby support planned on the product roadmap.

Go

July 2026

Go support planned on the product roadmap.

Rust

August 2026

Rust support planned on the product roadmap.

Use Cases

Production-ready workflows, fully in the browser

BrowserPod powers secure AI code execution, interactive docs, full in-browser IDEs, instant demos, and serverless utilities without extra infrastructure.

Agentic Coding

Sandboxed AI code execution

Execute AI-generated code in a safe, isolated environment, with near-zero latency and high performance. Unlike cloud-based sandboxes that require scalable infrastructure, BrowserPod runs code directly in the user's browser using WebAssembly.

  • Safe code execution: Let your AI agents generate code and run it in Pods with zero risks and greater performance than cloud sandboxes.

  • Agentic workflows: Give AI assistants and agents a high-fidelity environment where they can "run loose" on projects while remaining strictly isolated from the rest of the host system.

  • Supply-chain risk mitigation: Securely execute untrusted code to protect against potential supply-chain attacks common in AI environments (e.g. slophacking, code injection).

How BrowserPod Compares

Why choose BrowserPod

See how BrowserPod stacks up against other code sandbox solutions

BrowserPod
Run locally in browser
Public URLs
Full-stack
Max concurrent environments Unlimited
Price $0.01/hour
Free usage 1,000 free hours/month
Storage Unlimited
Daytona
Run locally in browser
Public URLs
Full-stack
Max concurrent environments Limited by quota
Price $0.13/hour
Free usage $200 free credit
Storage First 5GB free
Blaxel
Run locally in browser
Public URLs
Full-stack
Max concurrent environments Limited by quota
Price $0.08/hour
Free usage Up to $200 free credit
Storage Charged per GiB/h
Modal
Run locally in browser
Public URLs
Full-stack
Max concurrent environments Limited by quota
Price $0.06/hour
Free usage $30 free credits/month
Storage Charged per GiB/h

Ready to get started?

Get in touch to speak to our team, and keep up to date with the development and releases of BrowserPod.