{"repo":"skarab42/htms-js","free":true,"listed":false,"github":"https://github.com/skarab42/htms-js","clone":"git clone https://github.com/skarab42/htms-js.git","description":"HTMS 💨 Stream Async HTML, Stay SEO-Friendly","language":"TypeScript","stars":108,"topics":["async","express","fastify","hono","html","nodejs","seo","stream"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"htms 💨 Stream Async HTML, Stay SEO-Friendly Send HTML that renders instantly , then fills itself in as async tasks complete. One response. No hydration. No empty shells. This monorepo hosts the JavaScript implementation of HTMS : a proposal to progressively render HTML with async functions while staying SEO-friendly and lightweight. --- Packages This workspace contains multiple packages: - htms-js – Core library to tokenize, resolve, and stream HTML. - htms-dom – Core browser library to swap and clean placeholders. - fastify-htms – Fastify plugin that wires htms-js into Fastify routes. - htms-server – CLI to quickly spin up a server and test streaming HTML. Each package has its own README with installation and usage instructions. 🦀 Rustacean? Check out htms-rs . --- Why try it - Instant rendering: browsers show HTML immediately. - Progressive async: placeholders stream in as soon as ready. - Scoped modules: keep tasks organized by context, even with nested data-htms-module blocks. - SEO intact: bots see full HTML. - Tiny runtime: one Web Component, injected automatically. - Tech-agnostic: works with Express, Fastify, Hono, workers, or even raw stdout . --- How it works 1. Tokenizer: scans HTML for data-htms . 2. Resolver: maps names to async functions. 3. Serializer: streams HTML and emits chunks as tasks finish. 4. Client runtime: swaps placeholders and cleans up markers. Result: SEO-friendly streaming HTML with minimal overhead. Try the curl optimized demo Try the (too mu","default_branch":null,"files":null,"tree":[],"storefront":"/r/skarab42","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/skarab42/htms-js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}