↓Skip to main content
Zeitgeist — a spike by Chris Gathercole
  1. Creators/
  2. Simon Willison — Creator of Datasette; co-creator of Django/

A shot-scraper-style JSON API on Bun 1.4's new Bun.WebView

Blog · Watch/Read

  • Simon Willison explores the practical application of Bun 1.4’s new Bun.WebView feature by prototyping a shot-scraper-style JSON API for browser automation.
  • Bun.WebView provides first-class browser automation capabilities, utilizing either macOS WebKit or local Chromium via the Chrome DevTools Protocol (CDP), with the prototype API generated by an AI coding agent (Claude Code for web).
  • A practical takeaway from the experiment is that a Bun.WebView-based service running a full Chrome instance for complex web pages demands a notable memory footprint, requiring an estimated 192MB-256MB container.