Elestia Open Source Ratings
7.8

Hocuspocus

A strong pick. 3rd of 10 realtime and collaboration.

Hocuspocus is Tiptap's MIT-licensed WebSocket server for Yjs documents. It handles auth hooks, storage and Redis scaling, and runs on Node, Bun, Deno or Workers. Today it is the most complete and most actively maintained way to self-host a Yjs collaboration backend, but it covers only the Yjs document-sync part of realtime work.

Best for: Teams building collaborative editors on Yjs, especially with Tiptap or ProseMirror, who want to host their own sync server.

WebsiteGitHubnpm

Scores

Overall7.8

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.5, likely 6.5 to 8.0

For a self-hosted Yjs backend it is the strongest pick today: feature-rich, actively maintained by a funded company and growing fast. It is not a general realtime tool, and memory and Redis-cluster edges remain, which keeps it below the top of the category. Teams that need plain messaging should use Socket.IO or ws, and teams that want a managed service may prefer Liveblocks.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.1

Hocuspocus is a strong starting point for self-hosted Yjs editing because it handles synchronization and presence and gives teams hooks for access control and storage. Socket.IO is a better fit for apps that mainly exchange live events. The open Redis persistence report and limited independent evidence at scale keep Hocuspocus below the top tier.

Needed by many3.9

How many developers need a tool for this job?

Claude Opus 5.5: 3.5, likely 2.5 to 4.5

Many apps need live updates, but only a clear niche needs a Yjs document-sync server for multi-user editing. Hocuspocus fits rich-text editors, whiteboards and similar document apps. It does not cover chat, notifications or general pub/sub. Running on several runtimes widens it a little.

GPT-6.2 Sol: 4.2, likely 3.1 to 5.4

WebSocket use is widespread in the State of JavaScript survey. Hocuspocus serves the smaller group that needs concurrent editing of shared Yjs state, including documents, forms, and diagrams. It supports several runtimes and editors, but the survey gives no direct estimate of demand for this kind of editing.

Helps a lot8.2

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

It is the most complete self-hosted Yjs server, with auth hooks, persistence extensions, Redis scaling, typed hook contexts and multi-runtime support. One user on Hacker News called it very reliable and reported about 3,000 users on 1 vCPU and 1 GB RAM. Its limits are memory handling with many loaded documents, a Redis extension that still gets many fixes, and Workers support that one user found weak.

GPT-6.2 Sol: 8.3, likely 7.1 to 9.2

Version 4.9.0 brings document sync, presence, storage hooks, and reconnect handling together in one typed backend. The docs give coding agents examples for common integrations, and Lydie’s developer found authentication and persistence straightforward. An open Redis report describes lost writes after a lock failure, and independent throughput measurements cover limited workloads.

Holds up over time8.0

Will it still be a good choice in two years?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Tiptap, a funded company, maintains it and uses it under its own paid cloud product. There were 202 commits and 17 releases in the last year, with a release the day before this review. The issue backlog is small: 21 open against 393 closed. The main risk is that it depends on one company's priorities, plus behaviour changes between minor versions.

  • github commitsLastYear / releasesLastYear: 202 commits and 17 releases in 12 months, latest v4.9.0 on 2026-11-20.
  • github openIssues / closedIssues: 21 open vs 393 closed issues.
  • tiptap.dev/docs/hocuspocus: Maintained by Tiptap alongside the hosted Tiptap Collab.

GPT-6.2 Sol: 8.0, likely 6.8 to 9.1

Tiptap uses Hocuspocus in its cloud service, and the project logged 202 commits and 17 releases in the past year. Recent fixes came from several contributors, though recent release tags are signed by the same maintainer. The v4 protocol supports staged upgrades, while changes to server hooks and the Node.js minimum still create migration work.

Used widely5.0

How many use it, and is that growing?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

Downloads rose from 0.75M to 8.07M per 4 weeks, a ratio of about 10.8 against a median of 4.1. That is a strong relative gain. But only 404 dependent repos and 10 packages show, so much of the jump likely comes from a few heavy installers or CI. Direct choices are probably in the tens of thousands, well below Socket.IO but leading among Yjs servers.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 8.07M vs 0.75M, about 10.8x against a 4.1x median.
  • dependents: 404 repos and 10 packages, far above Automerge and Loro but far below Yjs itself.
  • github stars: 2,665 stars.

GPT-6.2 Sol: 4.5, likely 3.0 to 6.0

Four-week downloads rose from 750,391 to 8.1 million, about 10.8 times the prior year and above the catalog median of 4.1 times. Ecosyste.ms found 404 repositories and 10 packages, below Yjs and far below Socket.IO. The download trend suggests Hocuspocus is gaining ground, but repeated installs, partial repository coverage, and modest social activity leave direct adoption uncertain.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Download growth of about 10.8× against the 4.1× catalog baseline.
  • dependents, peers dependentRepos: 404 observed repositories versus 3,035 for Yjs and about 1.35 million for Socket.IO.
  • github stars, bluesky posts, hackerNews stories: 2,665 stars, seven Bluesky posts, and one relevant Hacker News thread.
Vouched for6.3

Who stands behind it being good?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

Tiptap runs it in production and builds its paid service on it. The Yjs community lists it among the main servers, and Railway offers community templates for it. Independent production write-ups are few: one Hacker News user report, and comparison pages that are partly vendor content. No survey data covers it.

GPT-6.2 Sol: 7.0, likely 5.7 to 8.3

Walla reports reliable production use for its form editor, and Synergy Codes recommends Hocuspocus after working with several Yjs servers. Outline still pins v1.1.3, and France’s La Suite Docs moved to yhub in its 6.0 release. Those deployments establish a track record, while direct evidence for current v4 deployments and developer satisfaction remains limited.

Safe7.6

How safe is it to depend on?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

It has no known advisories, only 5 dependencies and an MIT licence. Recent releases add pre-auth resource limits, an authentication timeout, a SECURITY.md and webhook signature fixes. No OpenSSF Scorecard exists, and as a network-facing server it carries more inherent risk than a library, so the range stays moderate.

  • advisories total: 0 advisories recorded.
  • npm dependencies: 5 direct dependencies.
  • scorecard: No Scorecard data.
  • github.com/ueberdosis/hocuspocus/releases: Security hardening in 4.3 to 4.9: pre-auth limits, auth timeout, SECURITY.md.

GPT-6.2 Sol: 7.7, likely 6.4 to 8.8

The server has an MIT license, five direct dependencies, and a signed v4.9.0 tag with automated npm publishing. GitHub lists two high-severity advisories missing from the supplied OSV snapshot, an authorization bypass and a denial-of-service issue. Fixes shipped in 4.1.1 and 4.3.0 before public disclosure in September, although GitHub’s denial-of-service entry still leaves the patched version blank. The missing OpenSSF Scorecard and unverified npm publisher count limit confidence.

Good

  • It has hooks for auth, loading, storing and messages, plus ready extensions for database, SQLite, Redis, webhooks and throttling.
  • Since v4 it runs on Node, Bun, Deno and Cloudflare Workers through crossws.
  • Tiptap builds and sells products on it and ships a release roughly every month, each with many fixes.
  • It is MIT licensed, ships its own types, pulls in only 5 dependencies and has no known advisories.

Bad

  • It only syncs Yjs documents. It is not a general pub/sub or messaging layer, and it has no built-in comments or notifications.
  • Users report memory and GC trouble when many documents or large key-value docs stay loaded, and memory-leak fixes keep appearing in releases.
  • Many recent fixes are in the Redis extension, so multi-instance setups have been the least settled part.
  • Minor releases have changed runtime behaviour, such as pre-auth limits and update batching, so upgrades need testing.

The numbers

npm downloads, 4 weeks
8.1M ×11 in a year
GitHub stars
2.7k
Commits, 12 months
202
npm version
4.9.0 Nov 2026
Versions, 12 months
16
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (ueberdosis/hocuspocus), npm (@hocuspocus/server), OSV and the OpenSSF Scorecard.

Realtime and collaboration

  1. 8.2Yjs
  2. 7.9Socket.IO
  3. 7.8Hocuspocus
  4. 7.8ws
  5. 7.5Liveblocks
  6. 7.1Ably SDK
  7. 7.1Automerge
  8. 7.0Loro
  9. 6.6PartyServer
  10. 6.6Pusher SDK
Compare all 10 on six scores