Lurker News
Hello HN, I hope it will posted as well. I made a note in single html file. This does not require a separate membership or installation of the software, and if you download and modify an empty file, you can modify and read it at any time, regardless of online or offline. It can be shared through messengers such as Telegram, so it is also suitable to share contents with long articles and images. It is also possible to host and blog because it is static html file content.

Comments (143) 59 threads

Earlier comments
em3rgent0rdr#
HTML: the only markup language that we ever needed.

All it was missing was a self-contained WYSIWYG editor for it.

colonCapitalDee#
Nice. I do backend web dev, and it's sometimes useful to have a lightweight testing frontend that's more flexible than Swagger. I've had a lot of success vibe coding my way through these frontends with Claude by rapidly iterating on a single file containing HTML + CSS + JS. It's quite fast to get something good enough working, and putting everything in a single HTML file format keeps it simple enough for me, a guy who doesn't do frontend, to mostly understand what's going on. "All in one" HTML file is a good trick :)
nextts1 reply#
Noice!

UX suggestion. You don't need the "as read only" save options if when you do a normal save the page tells you if it has been changed. That'll get you down to 2 menu options and make me think less.

zahlman1 reply#
The "as read only" options produce an HTML document that lacks the editor features - when you open that file from your computer, you'll see static content (although it just changes a couple of HTML attributes and leaves all the JavaScript in, inactive). The normal options re-create the entire page - editor, content and all.
nextts#
But why is that useful? Just do what Confluence does. Read only, then click a pencil to edit.
beeflet#
Damn, I was working on the same thing but I got caught on implementing LaTeX-compatable support and bitmap/svg diagram drawing. (https://files.catbox.moe/25hxc3.zip) Also I used emscripten to embed a PNG encoder into the browser

The UI of this is a lot better though, for markup-style tasks.

Load more comments