Frictionless tutorials with the WebContainer API
summary
Shows a working way to run Node environments entirely in the browser using the WebContainer API, with support for npm/yarn/pnpm and experimental Python, reusing the browser cache for near-instant loads. Demonstrates a shipped starter: npm create tutorial that scaffolds a tutorial using Astro + React templates, lesson .md front matter, previews and terminal panels, and template folders for required packages. Runtime is framework-agnostic, components are in alpha, and the sandbox uses iframes/web workers so tokens stay outside the container.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 0:36What are tutorials
- 2:38Different types of tutorials
- 3:36WebContainer API
- 6:49Learnings
- 7:28Tutorial Kit
- 12:00Demo
- 16:45Questions
related talks
13mBuild your own Node js app in the browser with WebContainer API
46mUsing Node.js in the Browser with WebContainers
24mFull Stack Documentation
30mInside Bolt.new: WebContainer API Meets AI
07mBuilding a Node js runtime for the browser
13mVite for Education, Using Vite in Vite to teach Vite and beyond
26mEvery Process, Everywhere, All at Once
02h 32mBuild next gen web apps using web components
