y-sweet 0.2.0

A standalone Yjs CRDT server with built-in persistence and auth.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<img src="https://raw.githubusercontent.com/drifting-in-space/y-sweet/main/logo.svg" />

# y-sweet: a Yjs server with persistence and auth

**y-sweet** is an open-source server for building realtime applications on top of the [Yjs](https://github.com/yjs/yjs) CRDT library.

## Features

- Persists document data to a network filesystem or S3-compatible storage, [inspired by Figma’s infrastructure]https://digest.browsertech.com/archive/browsertech-digest-figma-is-a-file-editor/.
- Scales horizontally with a [session backend]https://driftingin.space/posts/session-lived-application-backends model.
- Deploys as a native Linux process, or as a WebAssembly module on Cloudflare's edge.
- Provides document-level access control via client tokens.
- Written in Rust with a focus on stability and performance, building on the excellent [y-crdt]https://github.com/y-crdt/y-crdt/ library.

## `y-sweet` crate

The y-sweet crate is primarily intended to be used as a binary, but can also be used as a library. See `main.rs` for usage examples.