yjs
yjs/yjs · Public GitHub repository
Shared data types for building collaborative software
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
A CRDT framework with a powerful abstraction of shared data
Yjs is a CRDT implementation that exposes its internal data structure as shared types. Shared types are common data types like Map or Array with superpowers: changes are automatically distributed to other peers and merged without merge conflicts.
Yjs is network agnostic (p2p!), supports many existing rich text editors, offline editing, version snapshots, undo/redo and shared cursors. It scales well with an unlimited number of users and is well suited for even large documents.
- Chat: Gitter | Discord
- Benchmark Yjs vs. Automerge:
- Podcast "Yjs Deep Dive into real time collaborative editing solutions":
- Podcast "Google Docs-style editing in Gutenberg with the YJS framework":
Requirements and intended audience
A CRDT framework with a powerful abstraction of shared data
Yjs is network agnostic (p2p!), supports many existing rich text editors, offline editing, version snapshots, undo/redo and shared cursors. It scales well with an unlimited number of users and is well suited for even large documents.
- Self-hosting · Documented
Use pluv.io as a full-featured backend for Yjs. pluv.io can either be be used on its fully-managed WebSocket infrastructure, or self-hosted on Cloudflare Workers and Node.js runtimes.
- Self-hosting · Required
Use Matrix as transport and storage of Yjs updates, so you can focus building your client app and Matrix can provide powerful features like Authentication, Authorization, Federation, hosting (self-hosting or SaaS) and even End-to-End Encryption (E2EE). yrb-actioncable An ActionCable companion for Yjs clients.
Not recorded: account, external api key, paid service. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-11-05. Source: https://github.com/yjs/yjs/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2026-11-05. Saved release: v13.6.33 · 2026-09-23. These dates do not guarantee ongoing maintenance.
- Technologies
- JavaScript
- Licence
- No licence detected. No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.
- Demo check
- A public page loaded on 2026-11-12. This does not test every feature.
Browse related categories
More projects to explore
iptv
iptv-org/iptv
Collection of publicly available IPTV channels from all over the world
HowToLiveBetter
eternity4719/HowToLiveBetter
高性价比人生指南: 长寿防病、急救、省钱理财、法律红线、失业与工伤、医保社保、恋爱婚育、怀孕育儿、创业与做平台合规、出国与技能。每条写明成本、收益、证据等级和原始出处,只引期刊论文与官方文件。
OpenManus
FoundationAgents/OpenManus
No fortress, purely open ground. OpenManus is Coming.
JavaScript30
wesbos/JavaScript30
30 Day Vanilla JS Challenge