Skip to content

SpiralOSS/datastar

 
 

Repository files navigation

Version License Stars

Datastar

The hypermedia framework.

Datastar is a lightweight framework for building everything from simple sites to real-time collaborative web applications.

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

<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@main/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 »

Star History Chart

About

A real-time hypermedia framework.

Resources

License

Contributing

Stars

Watchers

Forks

Languages

  • TypeScript 81.5%
  • Go 9.0%
  • Shell 6.8%
  • JavaScript 2.5%
  • Other 0.2%