Skip to Content
V8-wasm

Live Playground

Interactive V8-wasm playground synced to the active Catppuccin theme

Run JavaScript inside V8-wasm, compare execution against the host browser engine, inspect generated WebAssembly, and test @browser-ports/v8-wasm subpaths directly in the browser.

V8-wasm PlaygroundmochamauveChecking origin
Open tab

Playground dev server not detected

Expected the V8-wasm playground at https://playground.browserports.com

Start the local playground server or set NEXT_PUBLIC_V8_PLAYGROUND_URL to a hosted instance

cd tools/v8-playground
bun install
bun run dev -- --port 5173

Embed Query Contract

The V8-wasm playground reads query parameters before first paint so theme state matches the host documentation shell with zero flash:

ParameterValuesEffect
embed1, trueEnables embedded chrome mode (data-embed="1")
flavormocha, macchiato, frappe, latteSets the Catppuccin palette class (.t-<flavor>)
accentAny of the 14 Catppuccin accents (default mauve)Sets the active accent class (.a-<accent>)

Set NEXT_PUBLIC_V8_PLAYGROUND_URL in your environment to point the embed at a hosted or custom playground origin (defaults to http://localhost:5173).