Skip to content

Live WASM playground

Prototype and debug declarative adapter.yaml manifests right in your browser. This workbench runs the exact same compiled Go extraction engine (edgefetch-core.wasm) used by the Cloudflare Hub and npm run adapter:dev <id>, streamed lazily on this page only via native DecompressionStream('gzip').

Runs 100% locally in your browser via Go WebAssembly against pasted or preset fixtures — never fetches external URLs.
Loading Go WASM…

Upgrades https://rubygems.org/gems/rails to /api/v1/gems/rails.json with formatNumber, formatDate, bullets, GFM table, and structured records[].

YAML 1.2 Core valid
0 B
InitializingPreparing Go WebAssembly runtime…
— ms
title—
author—
publishedTime—
description—
Extracted GFM Markdown0 chars
Waiting for Go WebAssembly evaluation…
Structured records[] JSON0 items
[]

Once your manifest and fixture look right here, watch them locally with instant unified diffs (- expected / + actual) and zero Go rebuilds on save:

Terminal window
cd edgefetch/hub
npm run adapter:dev rubygems # Live file watcher (< 15 ms YAML validation + warm Go WASM)
npm run adapter:dev rubygems -- --once # Single CI / pre-commit evaluation pass

See Write an adapter and Write one with an AI agent for robots.txt rules, scaffolding, and fixture recording.