Simon Willison 12/27/2025

textarea.my on GitHub

Read Original

The article analyzes the textarea.my project on GitHub, a minimalist in-browser text editor that stores all data in the URL hash. It details several technical tricks used in its ~160 lines of code, including the `plaintext-only` contenteditable attribute, CompressionStream API for URL state, custom save handlers, and an elegant debounce function implementation.

textarea.my on GitHub

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week