Building a Web Page That Edits Itself

https://www.patrickweaver.net/blog/one-pager-self-editing-html/

Article

  • Single HTML file that exposes its own source for in-browser editing
  • Edits persist by rewriting the page’s own DOM and source blob
  • No server, no build step — pure self-contained HTML/JS
  • Philosophical draw: software that rewrites its own source

Discussion

  • Commenters appreciated it was AI-free — seen as refreshing
  • Breaks down once dynamic/generated content (e.g. TOC) is needed
  • Similar projects cited: stratts.au editor, Hyperclay, TiddlyWiki

Discuss on HN


Type Link
Added Apr 17, 2026
Modified Apr 17, 2026