Datastar provides backend SDKs that simplify the process of generating SSE events specific to Datastar. Alternatively, use your backend as is to send SSE events.
If you'd like to contribute an SDK, please follow the Contribution Guidelines.
Clojure SDK and examples.
Author: Jeremy Schoffen
C# (.NET) SDK and examples.
Author: Greg H
Go SDK and examples.
Author: Delaney Gillilan
Other examples:
1 App 5 Stacks ported to Go+Templ+Datastar
Haskell SDK and examples.
Author: Henry Laxen
Java SDK.
Author: Peter Humulock
PHP SDK and examples.
Author: Ben Croker (PutYourLightsOn)
Other examples:
Craft Datastar Pokemon demo
Python SDK, examples, and PyPI package, including support for Sanic, Django, Quart and FastAPI.
Author: Felix Ingram
Rust SDK and examples.
Author: Johnathan Stevers
Ruby SDK and examples.
Author: Ismael Celis
TypeScript SDK and examples, including support for NodeJS and Web standard runtimes (Deno, Bun, etc.).
Author: Patrick Marchand
Zig SDK and examples.
Author: Johnathan Stevers