{"repo":"beynar/syncrostate","free":true,"listed":false,"github":"https://github.com/beynar/syncrostate","clone":"git clone https://github.com/beynar/syncrostate.git","description":null,"language":"TypeScript","stars":120,"topics":["crdt","svelte","sveltehack","sveltekit","yjs"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"SyncroState SyncroState brings Svelte 5 reactivity to the multiplayer level. Built on top of Yjs, it provides a reactive and type-safe way to build multiplayer experiences. Inspired by Syncedstore, SyncroState modernizes collaborative state management by leveraging new Svelte 5's reactivity system. It provides a natural way to work with synchronized state that feels just like a regular Svelte $state. ⚠️ The demo uses a public Liveblocks API key which may become rate-limited. I recommend using your own API key for thorough testing. Features - 🚀 Powered by Yjs - Industry-leading CRDT for conflict-free real-time collaboration - 🔒 Type-Safe - Full TypeScript support with rich type inference and schema validation - 💫 Svelte DX - Works like regular Svelte state with fine-grained reactivity and simple mutations - 🎯 Rich Data Types - Support for primitives, arrays, objects, dates, enums, and sets. - 🔌 Provider Agnostic - Works with Liveblocks, PartyKit, or any Yjs provider - 📚 Local Persistence ready - Support for y-indexeddb for offline use - ↩️ Undo/Redo - Built-in support for state history - 🎮 Bindable - Use bind:value like you would with any Svelte state - 🎨 Optional & Nullable - Flexible schema definition with optional and nullable fields Installation Quick Start SyncroState uses a schema-first approach to define your collaborative state. Here's a simple example: The schema defines both the structure and the types of your state. Every field is automatically: - Type-safe ","default_branch":null,"files":null,"tree":[],"storefront":"/r/beynar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/beynar/syncrostate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}