# Hocuspocus: 7.8 out of 10

A strong pick. 3rd of 10 in [Realtime and collaboration](https://elestia.ai/opensource/realtime/index.md).

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.

## Scores

- **Overall: 7.8** (likely 6.8 to 8.6)
  - Claude Opus 5.5 (7.5): 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): 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 many: 3.9** (likely 2.8 to 5.0)
  - Claude Opus 5.5 (3.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): 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 lot: 8.2** (likely 7.1 to 8.9)
  - Claude Opus 5.5 (8.0): 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): 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 time: 8.0** (likely 6.9 to 9.1)
  - Claude Opus 5.5 (8.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.
  - GPT-6.2 Sol (8.0): 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 widely: 5.0** (likely 3.8 to 6.3)
  - Claude Opus 5.5 (5.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.
  - GPT-6.2 Sol (4.5): 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.
- **Vouched for: 6.3** (likely 5.1 to 7.4)
  - Claude Opus 5.5 (5.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): 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.
- **Safe: 7.6** (likely 6.5 to 8.7)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (7.7): 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

- Downloads, 4 weeks: 8.1M
- In a year: ×11
- GitHub stars: 2.7k
- Commits, 12 months: 202
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/ueberdosis/hocuspocus
- npm: https://www.npmjs.com/package/@hocuspocus/server

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
