Go to file
Ben Croker 3b62d35845
Preconnect to youtube [deploy-site]
2025-04-04 17:11:42 -06:00
.github Merge branch 'develop' 2025-03-23 10:37:32 -06:00
.vscode Break up `on` plugin (#789) 2025-03-23 21:51:07 -06:00
build make python sdk compatible with python <3.11 (#777) 2025-03-18 10:49:11 -06:00
bundles Add wildcard support to persist plugin (#807) 2025-03-30 10:58:39 -06:00
examples 1.0.0-beta.11 2025-03-29 12:15:41 -06:00
library Add wildcard support to persist plugin (#807) 2025-03-30 10:58:39 -06:00
sdk Add wildcard support to persist plugin (#807) 2025-03-30 10:58:39 -06:00
site Preconnect to youtube [deploy-site] 2025-04-04 17:11:42 -06:00
tools Break up `on` plugin (#789) 2025-03-23 21:51:07 -06:00
.gitattributes Restore file contents that were previously in LFS 2024-12-10 21:17:41 -08:00
.gitignore v1.0.0-beta.8 (#706) 2025-02-25 09:10:36 -06:00
BUILDING.md Natively 2024-12-14 20:33:33 -06:00
CHANGELOG.md Add wildcard support to persist plugin (#807) 2025-03-30 10:58:39 -06:00
CONTRIBUTING.md v1.0.0-beta.8 (#706) 2025-02-25 09:10:36 -06:00
DOCKER.md Re-add manual building instructions (#376) 2024-12-14 20:32:12 -06:00
Dockerfile Release/0.21.0 (#348) 2024-12-10 17:21:06 -06:00
Dockerfile-dev refactor: Remove `git lfs` from `Docker-dev` & GitHub CI actions 2024-12-11 13:29:14 -05:00
LICENSE Remove year 2025-02-13 13:50:23 -06:00
Makefile refactor: Remove `git lfs` from `Docker-dev` & GitHub CI actions 2024-12-11 13:29:14 -05:00
README.md Add wildcard support to persist plugin (#807) 2025-03-30 10:58:39 -06:00
Taskfile.yml Update Idiomorph to v0.7.3 (#746) 2025-03-07 13:12:33 -06:00
VERSION 1.0.0-beta.11 2025-03-29 12:15:41 -06:00
biome.json Biome Delaneyj/issue395 (#409) 2024-12-20 10:06:33 -08:00
fly.toml Rewrite docs (#367) 2024-12-15 12:12:16 -06:00
go.mod Revert "Squashed commit of the following:" 2025-02-08 19:33:26 -06:00
go.sum Revert "Squashed commit of the following:" 2025-02-08 19:33:26 -06:00

README.md

Version License Stars

Datastar

The hypermedia framework.

Datastar helps you build reactive web applications with the simplicity of server-side rendering and the power of a full-stack SPA framework.

Getting started is as easy as adding a single 14.5 KiB script tag to your HTML.

<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.11/bundles/datastar.js"></script>

Then start adding frontend reactivity using declarative data-* attributes.

<input data-bind-title />
<div data-text="$title.toUpperCase()"></div>
<button data-on-click="@post('/endpoint')">Save</button>

Visit the Datastar Website »

Watch the Videos »

Join the Discord Server »

Getting Started

Read the Getting Started Guide »

Contributing

Read the Contribution Guidelines »

Custom Plugins

You can manually add your own plugins to the core:

<script type="importmap">
{
    "imports": {
      "datastar": "https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.11/bundles/datastar.js"
    }
}
</script>
<script type="module">
    import { load } from 'datastar'

    load(
        // Look ma, I made a plugin!
    )
</script>