What problem does it solve?
Datastar enables developers to build reactive web interfaces by letting the backend drive the UI through Server-Sent Events (SSE) and HTML data-* attributes, reducing the need for large client-side JavaScript frameworks.
Core Features & Use Cases
- Declarative backend-driven UI: use data-* attributes to define behavior and state bindings directly in HTML.
- Real-time updates via SSE: server streams patches and signals to the browser to morph the DOM efficiently.
- SDKs for Go and Python: integrate Datastar in your backend services to implement hypermedia-driven frontends.
- Use cases: live dashboards, admin panels, and real-time forms that stay synchronized with backend state.
Quick Start
Install the Datastar SDK in your Go or Python backend and start streaming UI updates to the browser via SSE.