Show HN: Htms-JS - Streaming HTML pipelines for Node.js
1 skarab42 0 9/9/2025, 10:45:44 AM htms.skarab42.dev ↗
I just published htms-js, an experimental toolkit for streaming HTML in Node.js.
Instead of sending HTML all at once, it works as a pipeline: tokenize → annotate → serialize, and stream along the way. The idea is to keep the DOM SEO and accessibility friendly from the start, while still being able to enrich chunks dynamically.
There's a small live demo running on top of a tiny server (htms-server). You can also try the code in the 'examples' folder of the repo.
It's early and experimental. I'd really like people to play with it, test things, break it, and tell me what works or doesn't.
Repo: [https://github.com/skarab42/htms-js](https://github.com/skarab42/htms-js) Demo: [https://htms.skarab42.dev](https://htms.skarab42.dev)
No comments yet