Useful patterns for building HTML tools

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Simon Willison's 150-tool playbook shows that single-file, no-build HTML apps are a practical middle layer between throwaway LLM prototypes and maintained software projects.

Read this as

Simon Willison, a well-known technology writer, has built more than 150 small web tools in a year, almost all written by AI chatbots like ChatGPT and Claude. He calls them HTML tools: each one is a single file mixing code and styling that does one job, like converting JSON to YAML or showing Bluesky threads. His new article explains his recipe: no React, dependencies loaded from public web servers, and hosting on GitHub Pages. Anyone can copy the prompts and tools freely.

Willison demonstrates a low-cost development pattern: 150+ working tools built in a year almost entirely by LLMs, each a single HTML file with no build step, hosted on GitHub Pages. The economics are near-zero hosting cost and minutes-long rewrites instead of maintenance. The trade-off is deliberately small scope, so teams wanting complex, evolving software still need conventional engineering. Early-stage teams and internal-tool builders gain the most.

Willison defines HTML tools as single-file HTML+JS+CSS apps, ~hundreds of lines, React avoided because JSX needs a build step, dependencies loaded from cdnjs or jsDelivr, hosted on GitHub Pages (his simonw/tools repo serves tools.simonwillison.net). Prototyping happens in Claude Artifacts, ChatGPT Canvas or Gemini Canvas; complex work moves to coding agents like Claude Code for web, which publish via pull requests to GitHub. Patterns include URL state persistence, localStorage for secrets, CORS-enabled LLM API calls, copy/paste rich-text handling, Pyodide for in-browser Python, WebAssembly, and recording prompts/transcripts in commits. No performance metrics are given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Simon Willison Claude Artifacts ChatGPT Canvas Gemini Canvas GitHub Pages Pyodide Playwright

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading