SDKs

Datastar provides backend SDKs that can (optionally) simplify the process of generating SSE events specific to Datastar.

If you’d like to contribute an SDK, please follow the Contribution Guidelines.

Clojure #

Clojure SDK and examples.

Maintainer: Jeremy Schoffen

C# #

C# (.NET) SDK and examples.

Maintainer: Greg H

Go #

Go SDK and examples.

Maintainer: Delaney Gillilan

Other examples: 1 App 5 Stacks ported to Go+Templ+Datastar

Java #

Java SDK.

Maintainer: mailq
Contributors: Peter Humulock, Tom D.

PHP #

PHP SDK and examples.

Maintainer: Ben Croker

Craft CMS #

Craft CMS plugin (PutYourLightsOn)

Laravel #

Laravel package (PutYourLightsOn)

Python #

Python SDK, examples, and PyPI package, including support for most popular frameworks.

Maintainer: Felix Ingram
Contributors: Chase Sterling

Ruby #

Ruby SDK and examples.

Maintainer: Ismael Celis

Rust #

Rust SDK and examples.

Maintainer: Glen De Cauwsemaecker
Contributors: Johnathan Stevers

Rama #

Rama module and example.

TypeScript #

TypeScript SDK and examples, including support for NodeJS and Web standard runtimes (Deno, Bun, etc.).

Maintainer: Edu Wass
Contributors: Patrick Marchand