Simon Willison 12/10/2025

Useful patterns for building HTML tools

Read Original

The article details the author's experience building over 150 single-file HTML tools (combining HTML, JS, and CSS) with the help of LLMs. It provides practical patterns for prototyping, loading dependencies from CDNs, avoiding complex frameworks like React, persisting state, and leveraging technologies like Pyodide and WebAssembly. It includes examples and encourages developers to create their own lightweight, useful utilities.

Useful patterns for building HTML tools

Comments

No comments yet

Be the first to share your thoughts!