Domain Rating
by Ahrefs
Domain Rating by Ahrefs72
Description
Yjs is a set of modular building blocks for collaborative applications, such as shared documents like Google Docs or Figma. It is a high-performance CRDT, a conflict-free data structure that lets many users change the same data at the same time and merge the changes automatically. Yjs exposes its model as shared data types, including maps and arrays, which can be changed concurrently, fire events when they change, and merge without conflicts. The introduction includes a quick start in which two separate documents make conflicting changes and merge them into one. Yjs is network agnostic, so you choose how updates travel between peers, and it has a rich ecosystem of editor bindings, connection providers and database providers. Awareness and presence features show who is online and where they are. Offline support lets people keep editing without a connection and sync later. The documentation includes a getting-started guide to a collaborative editor, a full API reference covering the document, shared types, undo manager, delta format and subdocuments, and tutorials on scaling with a central database and y-redis. Yjs has been shown in live demos on its demo repository, and the docs list ports to other languages, talks and benchmarks of CRDTs. The project is hosted on GitHub, where its source and demos are published.…
Highlights
- Shared maps and arrays that merge without conflicts
- Network agnostic, with your own providers
- Editor bindings and database providers
- Awareness, presence and offline support
- Full API reference and tutorials
Ratings & Reviews
No ratings yet
Be the first to rate Yjs.
People also visit
Yjs FAQ
What is Yjs?
A high-performance CRDT library for building collaborative applications that sync automatically.
What are shared types?
Data types such as maps and arrays that behave like their ordinary counterparts, can be changed concurrently and merge without conflicts.
Does it need a particular server?
No. Yjs is network agnostic, so you choose how updates are sent between peers.
Can it work offline?
Yes. The docs include offline support, so edits can be made without a connection and synced later.
Where can I see examples?
The live demos are in the yjs-demos repository on GitHub, and the docs link them with source code.
What are the best Yjs alternatives?
Popular alternatives to Yjs include Blocksuite, Collabst and Text. See all Yjs alternatives



