5 releases

0.1.1 Feb 15, 2024
0.1.0 Dec 9, 2023
0.0.12 Sep 9, 2023
0.0.9 Aug 14, 2023
0.0.1 Aug 3, 2023

#1416 in Network programming

MIT license

105KB
2.5K SLoC

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 CRDT library.

Features

  • Persists document data to a network filesystem or S3-compatible storage, inspired by Figma’s infrastructure.
  • Scales horizontally with a session backend 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 library.

Dependencies

~18–35MB
~548K SLoC