TurboWarp Extension Maker
A complete in-browser IDE for building TurboWarp /
Scratch extensions — the reference application built on
web-editor. It's a self-hostable, reusable alternative to
spinning up a StackBlitz each time: everything runs client-side, with your work
saved in your browser.
It's hosted from this same site at
/scratch4js/tw-ext/.
What you get
- A dashboard to create and manage extensions. Pick a bundler (Rsbuild, Rspack, webpack, Rollup, Rolldown, or Vite) and a package manager (npm, pnpm, or yarn) per project.
- A Monaco editor over a real multi-file project — split your extension across as many files as you like.
- A real WebContainer that runs
npm installand the bundler (the same setupcreate-tw-extensionscaffolds, viatw-plugin-webpack/tw-plugin-rollup). napi-based bundlers (Rspack, Rolldown) run via their WASM/WASI builds. - An interactive terminal — run
ls,cat,node,npmyourself. - An embedded Scratch editor + stage: the freshly-built extension loads into
a real Scratch VM (
scratch-vm+scratch-blocks+scratch-render, dark-themed to match), so its blocks appear in the palette and run on the stage — no need to round-trip through turbowarp.org. - Copy / Download / Open in TurboWarp for the finished single-file extension.
- IndexedDB persistence — projects and edits survive reloads.
How it works
Because the Scratch VM runs in the page, the extension loads from a
same-origin data: URL — no cross-origin limits, no server.
Run it locally
See the package README for the full architecture and the cross-origin-isolation / GitHub Pages notes.