yjs

    yjs/yjs

    Shared data types for building collaborative software

    23.0K stars
    820 forks
    121 GitHub watchers
    Updated Nov 6, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 22 days ago, with 126 contributors on GitHub.

    Use Cases & Benefits

    • Implements a CRDT framework exposing shared data types for building real-time collaborative software with automatic conflict-free merging.
    • Offers network-agnostic, scalable, offline-first collaboration with rich text editor bindings and support for unlimited users and large documents.
    • Use for building peer-to-peer collaborative text editors with shared cursors and undo/redo functionality.
    • Use for integrating real-time collaboration into complex visual apps like diagrams, graphs, and data visualizations.
    • Use for creating offline-capable, decentralized multi-user applications with persistent storage and synchronization across various network providers.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Other

    GitHub could not identify this license; read the LICENSE file before depending on it.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    • License not identified by GitHub; read the LICENSE file before depending on it.

    General guidance from repository metadata, not legal advice. How we score

    From the 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.

    :construction_worker_woman: If you are looking for professional support, please consider supporting this project via a "support contract" on GitHub Sponsors. I will attend your issues quicker and we can discuss questions and problems in regular video conferences. Otherwise you can find help on our community discussion board.

    Excerpt from the yjs/yjs README on GitHub (NOASSERTION license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    820+26

    Open issues

    161+25

    Compared with peers in Web3

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    yjs/yjs compared with Web3 repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    yjs/yjs23.0K—6422 days ago
    owncast/owncast11.6K—6167 days ago
    datahaven-xyz/datahaven7.9K—18238 days ago
    freenet/freenet-core3.1K—602 days ago
    MetaMask/metamask-mobile3.1K—45today
    stacks-network/stacks-core3.1K—6419 days ago
    Category median3.1K—60—

    Discover Repositories

    Search across tracked repositories by name or description