Simon Willison

webframe: evaluated as a scraper and a sandbox

Read the original on Simon Willison →

webframe is a Go‑based tool that runs a web page in a hidden headless browser and streams console output and errors to the terminal. It uses the glaze library to access native browser engines (WKWebView, WebKitGTK, WebView2) without bundling its own engine, making it lightweight compared to tools like Playwright. The author evaluated it as both a sandboxing solution and a web‑scraping utility, comparing it to his own shot‑scraper JavaScript tool.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Simon Willison.

Simon Willison
Sep 13

shot-scraper 1.12

Shot‑scraper 1.12 adds WebP support, allowing users to capture web page screenshots in WebP format with an optional quality setting. The new --quality flag controls compression, while omitting it produces lossless images. WebP screenshots are reported to be significantly smaller than JPEG or PNG equivalents.

Simon Willison
Sep 10

Any Nix package, live in your browser

Farid Zakaria’s trynix.dev lets users run any Nix package from the past 13 years inside a browser‑based x86_64 Linux VM powered by QEMU‑WASM. By providing URL‑addressable packages, a user can simply navigate to a link such as https://trynix.dev/?pkg=python3%403.6.2, click "Load," and obtain an interactive shell running that specific package. The platform is also integrated with GitHub Actions, enabling pull‑request reviews that launch the PR’s build directly in the browser via trynix-preview.

Simon Willison
Oct 13

web-edit 0.1a1

The article announces the release of web-edit version 0.1a1. It highlights performance optimizations that were written by Claude Opus 5.5, which were generated after feeding it a Python 3.15 profiling report created by GPT‑6 Astra. The release is tagged with "profiling" and "projects".

Simon Willison
Aug 16

Markdown SVG upgrades

I started building my markdown-svg-renderer tool in May , but I've since added enough features to it that it's worth talking about here again. It's evolved into my ideal tool for sharing Markdown transcripts that include SVG documents.

Simon Willison
Aug 31

Introducing wrapture

Introducing wrapture, a new Python library from Graham Dumpleton that extends the monkeypatching concepts of wrapt to support both testing and tracing simultaneously. It allows developers to wrap any function or method so that all accesses can be traced or overridden, serving as an alternative to unittest.mock and enabling observation of code without altering its behavior. Wrapture includes OpenTelemetry support and offers a configuration-based approach for adding tracing to existing projects, with the entire project and its documentation created under AI assistance.