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
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 5173Embed Query Contract
The V8-wasm playground reads query parameters before first paint so theme state matches the host documentation shell with zero flash:
| Parameter | Values | Effect |
|---|---|---|
embed | 1, true | Enables embedded chrome mode (data-embed="1") |
flavor | mocha, macchiato, frappe, latte | Sets the Catppuccin palette class (.t-<flavor>) |
accent | Any 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).