All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Patterns and Insights for Building Single-File HTML Applications

By

simonw

5mo ago· 14 min readen

Summary

The article discusses the author's experience building over 150 'HTML tools' - single-file HTML applications that combine HTML, JavaScript, and CSS to provide useful functionality. The author shares patterns and insights gained from creating these tools, most of which were written by LLMs. The article presents practical examples and patterns for building such tools, drawing from two years of experience creating dozens of regularly used applications.

Key quotes

· 4 pulled
I've started using the term HTML tools to refer to HTML applications that I've been building which combine HTML, JavaScript, and CSS in a single file and use them to provide useful functionality.
I have built over 150 of these in the past two years, almost all of them written by LLMs.
This article presents a collection of useful patterns I've discovered along the way.
These are some of my recent favorites. I have dozens more like this that I use on a regular basis.
Snippet from the RSS feed
I’ve started using the term HTML tools to refer to HTML applications that I’ve been building which combine HTML, JavaScript, and CSS in a single file and use them to …

You might also wanna read