SDKs
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#
Clojure SDK and examples.
Author: Jeremy Schoffen
dotnet#
dotnet SDK and examples.
Author: Greg H
Go#
Go SDK and examples.
Author: Delaney Gillilan
Other examples:
1 App 5 Stacks ported to Go+Templ+Datastar
Haskell#
Haskell SDK and examples.
Author: Henry Laxen
Java#
Java SDK.
Author: Peter Humulock
PHP#
PHP SDK and examples.
Author: Ben Croker (PutYourLightsOn)
Laravel#
Craft CMS#
Other examples:
Craft Datastar Pokemon demo
Python#
Python SDK, examples, and PyPI package, including support for Sanic, Django, Quart and FastAPI.
Author: Felix Ingram
Rust#
Rust SDK and examples.
Author: Johnathan Stevers
Ruby#
Ruby SDK and examples.
Author: Ismael Celis
TypeScript#
TypeScript SDK and examples, including support for NodeJS and Web standard runtimes (Deno, Bun, etc.).
Author: Patrick Marchand
Zig#
Zig SDK and examples.
Author: Johnathan Stevers