Video: Building a tool to copy-paste share terminal sessions using Claude Code for web
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Shows a concrete, reusable pattern: build single-file browser tools by prompting Claude Code to combine existing tools in a repo, avoiding manual glue work.
Simon Willison published an 11-minute video showing him build a small web tool using Claude Code, an AI coding assistant. The tool turns copied terminal output into shareable web pages by converting it to HTML, saving it to GitHub Gist, and returning a link. He demonstrates the whole process from a single detailed written prompt to a finished app. It matters because it shows ordinary professionals how AI can automate small repetitive computer chores.
This is a workflow demonstration, not a product launch: Willison shows how a carefully detailed prompt to Claude Code, Anthropic's coding agent, produced a working terminal-to-HTML sharing tool in one session. The key reusable idea is prompting by reference, telling the agent to copy patterns from existing tools in the same repo rather than describing everything. Cost is minimal and risk low; anyone maintaining a tools collection gains practical prompting technique.
Willison vibe-coded a terminal-to-html tool via Claude Code for web, prompted to combine rtf-to-html.html's RTF parsing with openai-audio-output.html's Gist-saving flow. The tool handles three paste formats: RTF from macOS terminal clipboards, plain HTML, or plain text wrapped in <pre> tags. GitHub OAuth runs through a minimal Cloudflare Worker; deploys use GitHub Actions plus Cloudflare Pages, and docs are auto-generated by his llm tool running Claude Haiku 4.5. The working tool is live at tools.simonwillison.net.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Claude Code rtf-to-html terminal-to-html GitHub Gist gistpreview.github.io Descript
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.