automerge VS yjs

Compare automerge vs yjs and see what are their differences.

automerge

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically. (by automerge)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
automerge yjs
51 72
6,321 21,973
1.7% 1.1%
9.2 9.2
6 days ago 10 days ago
JavaScript JavaScript
MIT License MIT
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

automerge

Posts with mentions or reviews of automerge. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-08-08.

yjs

Posts with mentions or reviews of yjs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-05-28.
  • Centralized vs. Decentralized: Why Modern Collaborative Tools choose CRDTs
    2 projects | dev.to | 28 May 2026
    In the architecture of my Collaborative-Code-Editor, choosing CRDTs over OT gives me the advantage of not depending on a server for my data conflicts. Using Yjs as my CRDT library, not only fixes the problems OT arises but comes with additional features. A unique identifier keeps track of the characters' identity, and relative addressing that points to the character position in my code editor. The relative position matters because when working with other real-time data types that use indices, you will encounter stale data when inserting. In other words, when two users add character at the same time it will be inserted relative to the left and right parents rather than its place in the document.
  • Quack: The DuckDB Client-Server Protocol
    9 projects | news.ycombinator.com | 12 May 2026
  • Show HN: Opensidian: Local-first notes in the browser with POSIX shell and sync
    2 projects | news.ycombinator.com | 7 Apr 2026
    ```

    Those commands create and move real files that immediately appear in the editor's file tree. The best part is that all of this works in both browser and server-side contexts, since yjs (https://github.com/yjs/yjs) is isomorphic.

    Under the hood, metadata (name, parent, timestamps) lives in a versioned CRDT table. Document content lives in a separate Y.Doc per file, so the directory index syncs without pulling every document body. Sync uses the Yjs protocol over WebSocket, with Cloudflare Durable Objects persisting an append-only SQLite update log. Everything is encrypted end-to-end with XChaCha20-Poly1305. Keys derived via HKDF-SHA256; the sync server sees only the ciphertext.

    Also: CodeMirror 6 with Yjs collaboration binding, `[[` internal links that store file IDs (renames don't break them), SQLite FTS5 search, AI chat with tool-call approval UI, and Vim mode.

    Opensidian itself is a demo. For the last six months, I've been working on the infrastructure underneath: `@epicenter/workspace` (typed CRDT tables with versioning, migrations, encryption, and sync) and `@epicenter/filesystem` (a POSIX filesystem layer over Yjs). I'll be writing more about those APIs separately and integrating them into more apps in the ecosystem (including Whispering). The idea is that anyone can build local-first apps on the same foundation: notes, task managers, knowledge bases, etc., while solving the most difficult problems of local-first sync.

    The UI is rough, and the feature set is thin compared to Obsidian; this isn't trying to replace it today. But I'm excited for what the future of personal computing tools could look like!

    MIT licensed. Would love feedback, ideas, and roasts.

    Source: https://github.com/EpicenterHQ/epicenter/tree/main/apps/open...

  • Local-First Software: Why the Future of Apps Doesn't Need the Cloud
    1 project | dev.to | 31 Mar 2026
    Libraries like Automerge and Yjs have gone from academic curiosities to production-ready tools. They handle edge cases that would have made local-first apps unreliable five years ago.
  • Building Real-Time Collaborative Apps with CRDTs and Y.js
    2 projects | dev.to | 23 Mar 2026
    Start with the Y.js documentation, the TipTap collaboration guide, and the y-websocket server for a production-ready signaling layer. The ecosystem is mature, the performance is proven, and the developer experience is excellent.
  • Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies
    7 projects | news.ycombinator.com | 7 Mar 2026
    I really like these sorts of frameworks from an architectural perspective, but what's the use-case? Maybe I'm too SPA-pilled, because to me all the fun of Web development is in providing really fluid, skeuomorphic experiences like those enabled by, eg pragmatic-drag-and-drop[0] or yjs[1].

    I just struggle to envision what application benefits from the efficiency that this or htmx offer, but from neither the ultra-interactive, nor the ultra-collaborative. Maybe updating stock ticker prices? Fast-service back-of-house ticketing displays?

    I would love to feel called to reach for this library.

    0. https://github.com/atlassian/pragmatic-drag-and-drop

    1. https://github.com/yjs/yjs

  • JupyterGIS breaks through to the next level
    1 project | news.ycombinator.com | 24 Oct 2025
  • Building a Real-Time Collaborative Text Editor: WebSockets Implementation with CRDT Data Structures
    2 projects | dev.to | 10 Oct 2025
    Yjs Documentation - Production-ready CRDT framework
  • Building Collaborative Interfaces: Operational Transforms vs. CRDTs
    3 projects | dev.to | 8 Aug 2025
    Yjs
  • Building a Web-Based Excel Editor: A Comprehensive Guide
    16 projects | dev.to | 23 Jun 2025
    Yjs - CRDT-based collaborative editing framework

What are some alternatives?

When comparing automerge and yjs you can also consider the following projects:

y-crdt - Rust port of Yjs

hocuspocus - The Yjs CRDT WebSocket backend for conflict-free real-time collaboration in your app.

crdt-benchmarks - A collection of CRDT benchmarks

liveblocks - Realtime infrastructure for multiplayer apps and agents

y-websocket - Websocket Connector for Yjs

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that JavaScript is
the 5th most popular programming language
based on number of references?