- /
- Creators/
- Simon Willison — Creator of Datasette; co-creator of Django/
- A shot-scraper-style JSON API on Bun 1.4's new Bun.WebView/
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.WebViewfeature by prototyping ashot-scraper-style JSON API for browser automation. Bun.WebViewprovides 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.