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

Real Python, in the browser tab

BrowserPod 3.0 added initial Python support. It is in preview, running in the same pod as Node.js and Rust programs, on your user’s own device.

$npm i @leaningtech/browserpod
main.pyPython
1import sys
2
3print("Hello from BrowserPod 👋")
4print(f"Running Python {sys.version.split()[0]}")
5
6# Run it again with: python3 main.py
bashPython
Starting BrowserPod…

Run a Python script in a pod

Python uses the same API as every other runtime: boot a pod, add a file and run it.

  1. 1Install

    Add BrowserPod to your web project from npm.

    $ npm i @leaningtech/browserpod
  2. 2Add your script

    createFile gives you a text file inside the pod.

    pod.createFile("/home/main.py", "utf-8")
  3. 3Run it

    Open bash in the pod and run the script.

    pod.run("bash", [], { terminal, cwd: "/home" })

What every pod includes

Python runs alongside the same command line as every pod.

Runs on the user’s device

Each pod runs inside the browser tab, on the user’s own machine.

Isolated from the host

A dedicated syscall layer keeps the pod apart from the host operating system.

Command-line tools included

bash, git, coreutils and more are ready in every pod.

Storage you choose

Pods are ephemeral by default. Pass a storageKey to keep files between sessions.

Get started

Install BrowserPod from npm and boot your first pod.

$npm i @leaningtech/browserpod

Need public URLs, GitHub or TCP from a pod? Add an API key for BrowserPod Edge, free for 1,000 hours a month.Get an API key

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