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 #

A Clojure SDK as well as helper libraries and adapter implementations.

Maintainer: Jeremy Schoffen

Clojure SDK & examples

C# #

A C# (.NET) SDK for working with Datastar.

Maintainer: Greg H
Contributors: Ryan Riley

C# (.NET) SDK & examples

Go #

A Go SDK for working with Datastar.

Maintainer: Delaney Gillilan

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

Go SDK & examples

Java #

A Java SDK for working with Datastar.

Maintainer: mailq
Contributors: Peter Humulock, Tom D.

Java SDK & examples

PHP #

A PHP SDK for working with Datastar.

Maintainer: Ben Croker

PHP SDK & examples

Craft CMS #

Integrates the Datastar framework with Craft CMS, allowing you to create reactive frontends driven by Twig templates (by PutYourLightsOn).

Craft CMS plugin

Laravel #

Integrates the Datastar hypermedia framework with Laravel, allowing you to create reactive frontends driven by Blade views or controllers (by PutYourLightsOn).

Laravel package

Python #

A Python SDK and a PyPI package (including support for most popular frameworks).

Maintainer: Felix Ingram
Contributors: Chase Sterling

Python SDK & examples

Ruby #

A Ruby SDK for working with Datastar.

Maintainer: Ismael Celis

Ruby SDK & examples

Rust #

A Rust SDK for working with Datastar.

Maintainer: Glen De Cauwsemaecker
Contributors: Johnathan Stevers

Rust SDK & examples

Rama #

Integrates Datastar with Rama, a Rust-based HTTP proxy (example).

Rama module

TypeScript #

A TypeScript SDK with support for Node.js, Deno, and Bun.

Maintainer: Edu Wass
Contributors: Patrick Marchand

TypeScript SDK & examples

PocketPages #

Integrates the Datastar framework with PocketPages.

PocketPages plugin