datastar
Installation
SKILL.md
Datastar
Datastar is a ~11KB hypermedia framework. The browser gets one script tag; the server sends HTML. There is no client-side view layer, no build step, and no JSON API for the UI to consume.
Two things make it work:
data-*attributes on the HTML give elements reactivity and let them make backend requests.- SSE events let one backend response patch the DOM and signals zero or more times, for as long as the connection stays open.