Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SDK page to docs #486

Merged
merged 19 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions site/routes_reference.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func setupReferenceRoutes(ctx context.Context, router chi.Router) error {
{ID: "action_plugins"},
{ID: "sse_events"},
{ID: "javascript_api"},
{ID: "sdks"},
},
},
}
Expand Down
57 changes: 57 additions & 0 deletions site/static/md/reference/sdks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# SDKs

Datastar provides backend SDKs that simplify the process of generating [SSE events](/reference/sse_events) specific to Datastar.

## Go

[Go package](https://github.com/starfederation/datastar/tree/develop/sdk/go) for working with Datastar.
_Author: [Delaney Gillilan](https://github.com/delaneyj)_

Examples:

- [1 App 5 Stacks ported to Go+Templ+Datastar](https://github.com/delaneyj/1a5s-datastar)

## PHP

[PHP package](https://github.com/starfederation/datastar-php) for working with Datastar.
_Author: [Ben Croker](https://github.com/bencroker) ([PutYourLightsOn](https://putyourlightson.com/))_

### Laravel

[Laravel package](https://github.com/putyourlightson/laravel-datastar) for working with Datastar.

### Craft CMS

[Craft CMS plugin](https://putyourlightson.com/plugins/datastar) for working with Datastar.

Examples:

- [Craft Datastar Pokemon demo](https://github.com/khalwat/craft-datastar-pokemon-demo)

## Python

[Python package](https://github.com/starfederation/datastar/tree/develop/sdk/python) for working with Datastar, including support for Sanic, Django, Quart and FastAPI.
bencroker marked this conversation as resolved.
Show resolved Hide resolved
_Author: [Felix Ingram](https://github.com/lllama)_

Examples:

- [Python examples](https://github.com/starfederation/datastar/tree/develop/examples/python)

## TypeScript

[TypeScript package](https://github.com/starfederation/datastar/tree/develop/sdk/ts) for working with Datastar, including support for NodeJS and Deno.
bencroker marked this conversation as resolved.
Show resolved Hide resolved
_Author: [Patrick Marchand](https://github.com/Superpat)_

bencroker marked this conversation as resolved.
Show resolved Hide resolved
## dotnet

[dotnet package](https://github.com/starfederation/datastar/tree/develop/sdk/dotnet) for working with Datastar, including support for C#.
_Author: [Greg H](https://github.com/SpiralOSS)_

Examples:

- [dotnet examples](https://github.com/starfederation/datastar/tree/develop/examples/dotnet)

## Java

[Java package](https://github.com/starfederation/datastar/blob/develop/sdk/java) for working with Datastar.
_Author: [Peter Humulock](https://github.com/rphumulock)_
Loading