awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
ueberdosis avatar

ueberdosis/hocuspocus

0
View on GitHub↗
2,455 stars·206 forks·TypeScript·MIT·16 viewstiptap.dev/docs/hocuspocus/introduction↗

Hocuspocus

Hocuspocus is a backend framework designed to facilitate real-time collaborative editing and state synchronization in web applications. It functions as a server-side infrastructure that manages persistent WebSocket connections, enabling multiple users to edit shared documents simultaneously while maintaining data consistency through a conflict-free replicated data type engine.

The platform distinguishes itself through a modular, middleware-driven architecture that allows developers to intercept document lifecycle events, enforce custom access control policies, and integrate external services. By utilizing a flexible adapter pattern for state persistence, it decouples the synchronization engine from specific database backends, supporting self-hosted deployments that prioritize data privacy and infrastructure control.

Beyond core synchronization, the framework provides comprehensive tools for managing collaborative sessions, including user presence tracking, automatic conflict resolution, and offline-first resilience. It also supports advanced workflows such as streaming document updates to AI editing agents and broadcasting system events via webhooks, ensuring that collaborative environments remain extensible and responsive to complex application requirements.

Features

  • Collaborative Data Structure Synchronization - Synchronizes complex data structures across clients in real time using conflict-resolution logic to maintain a consistent shared state.
  • Collaborative Editing Frameworks - Provides a backend framework for synchronizing real-time collaborative editing sessions in web applications.
  • Session-Surviving Document Persistence - Automatically persists document state to durable storage to ensure data survives client disconnections and server restarts.
  • Collaborative Editing Middleware - Intercepts document lifecycle events and enforces custom logic within real-time synchronization workflows.
  • Bidirectional WebSocket Streaming - Establishes persistent full-duplex communication channels to stream incremental document updates between clients and the server in real time.
  • Websocket Connection Managers - Manages persistent bidirectional communication channels between clients and the server to facilitate low-latency data exchange.
  • Real-Time Connections - Establishes persistent bidirectional WebSocket connections to manage document state updates for multi-user interaction.
  • Conflict-Free Replicated Data Types - Maintains consistent document state across distributed clients by merging concurrent edits using conflict-free replicated data types.
  • CRDT State Synchronization Engines - Uses conflict-free replicated data types to ensure consistent state across distributed clients without a central coordinator.
  • Real-Time Collaborative Editing - Coordinates document state across multiple users by displaying live cursors and merging content changes for a seamless shared editing experience.
  • Collaborative Editing Conflict Resolution - Merges concurrent edits from multiple users automatically using conflict-free data structures to maintain a consistent document state.
  • Collaborative Document Infrastructures - Manages the lifecycle and persistence of collaborative documents through configurable backend infrastructure.
  • AI-Assisted Co-Editing - Supports automated assistants that perform proofreading or multi-document workflows by streaming content updates in real time.
  • Middleware Logic Extensions - Intercepts messages and authenticates users by applying custom middleware to document processing workflows during the active editing lifecycle.
  • Collaborative Session Scalers - Distributes synchronization traffic across multiple server instances using a shared cache to support high-concurrency environments.
  • Storage Backend Adapters - Decouples the core synchronization engine from storage backends to enable flexible document saving and retrieval across various database systems.
  • Collaborative Session Multiplexers - Routes multiple collaborative document streams over shared network connections by embedding unique identifiers within the communication protocol.
  • Private Infrastructure Hosting - Enables deployment within private internal environments to maintain full control over data privacy and security.
  • Self-Hosted Collaboration Servers - Provides deployable server-side runtimes for collaboration synchronization engines on private hardware.
  • Security and Access Control - Validates authentication tokens and enforces granular permissions to ensure secure access to shared content.
  • State Change Broadcasting - Notifies external services of document updates in real time by triggering webhooks whenever content changes occur.
  • Lifecycle Event Hooks - Executes custom logic during specific stages of a collaborative session such as when a user connects to or disconnects from the server.
  • Middleware Lifecycle Hooks - Intercepts document events and connection states to allow custom logic execution for authentication, persistence, and session management.
  • Offline-First Synchronization - Provides architectural support for local-first editing with automatic merging of changes after network reconnection.
  • Collaborative Presence States - Broadcasts live activity including cursor positions and profile information to all connected participants to provide visibility into shared session interactions.
  • System Event Webhooks - Triggers external service notifications by broadcasting document changes and system events via HTTP callbacks.
  • Offline Data Synchronization Frameworks - Buffers local changes during network interruptions and automatically synchronizes them with the remote backend upon reconnection.
  • Yjs Document Synchronizations - Provides server infrastructure specifically for synchronizing Yjs CRDT documents across multiple clients.

Star history

Star history chart for ueberdosis/hocuspocusStar history chart for ueberdosis/hocuspocus

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Hocuspocus

These projects share indexed features with Hocuspocus. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • partykit/partykitpartykit avatar

    partykit/partykit

    5,644View on GitHub↗

    PartyKit is a serverless WebSocket backend platform for building real-time multiplayer applications. It provides a globally distributed edge computing runtime that runs stateful server code close to users, with automatic scaling and hibernation for idle rooms. The platform handles WebSocket connections, HTTP requests, and durable storage without requiring infrastructure management, and includes a client and server SDK with hooks, storage, and Yjs integration for building collaborative features. The platform distinguishes itself through per-room isolation using Durable Objects, where each uniq

    TypeScriptbackendscollaborationcrdts
    View on GitHub↗5,644
  • liveblocks/liveblocksliveblocks avatar

    liveblocks/liveblocks

    4,438View on GitHub↗

    Liveblocks is a realtime collaboration infrastructure platform that synchronizes application state, documents, and user presence across multiple participants using conflict-free replicated data types. It provides a managed backend for collaborative text editors, threaded commenting and annotation systems, in-app notifications, and AI copilot deployment, all built on a WebSocket transport layer with server-side room management APIs. The platform distinguishes itself through a headless component primitive system that exposes unstyled React hooks and composable building blocks, allowing develope

    TypeScriptai-agentsai-copilotcollaboration
    View on GitHub↗4,438
  • y-crdt/y-crdty-crdt avatar

    y-crdt/y-crdt

    2,090View on GitHub↗

    This project is a memory-safe library implemented in Rust that provides a high-performance engine for managing shared, distributed data states. It functions as a conflict-free replicated data type implementation, enabling real-time collaborative editing and state synchronization across distributed systems without the need for a central server or manual conflict resolution. The library distinguishes itself through a cross-language binding framework that allows native applications in environments like Python, Swift, and WebAssembly to interact with the same shared data protocol. It utilizes a c

    Rustcrdtrustyjs
    View on GitHub↗2,090
  • streamich/json-joystreamich avatar

    streamich/json-joy

    1,079View on GitHub↗

    json-joy is a comprehensive library for building real-time collaborative applications and distributed systems. It provides a robust framework for managing shared JSON-like data structures that automatically merge concurrent edits from multiple users, ensuring consistent state across all replicas without requiring a central coordination server. The project distinguishes itself through a high-performance approach to data handling, utilizing conflict-free replicated data types and logical clock-based synchronization to maintain data integrity. It includes a specialized engine for navigating and

    TypeScriptcborcollaborationcollaborative
    View on GitHub↗1,079
Compare all 30 related projects→

Frequently asked questions

What does ueberdosis/hocuspocus do?

Hocuspocus is a backend framework designed to facilitate real-time collaborative editing and state synchronization in web applications. It functions as a server-side infrastructure that manages persistent WebSocket connections, enabling multiple users to edit shared documents simultaneously while maintaining data consistency through a conflict-free replicated data type engine.

What are the main features of ueberdosis/hocuspocus?

The main features of ueberdosis/hocuspocus are: Collaborative Data Structure Synchronization, Collaborative Editing Frameworks, Session-Surviving Document Persistence, Collaborative Editing Middleware, Bidirectional WebSocket Streaming, Websocket Connection Managers, Real-Time Connections, Conflict-Free Replicated Data Types.

Which projects share features with ueberdosis/hocuspocus?

Projects with overlapping indexed features include: partykit/partykit — PartyKit is a serverless WebSocket backend platform for building real-time multiplayer applications. It provides a… liveblocks/liveblocks — Liveblocks is a realtime collaboration infrastructure platform that synchronizes application state, documents, and… y-crdt/y-crdt — This project is a memory-safe library implemented in Rust that provides a high-performance engine for managing shared,… streamich/json-joy — json-joy is a comprehensive library for building real-time collaborative applications and distributed systems. It… xi-editor/xi-editor — xi-editor is a high-performance text editor core written in Rust. It employs a client-server architecture that… microsoft/fluidframework — FluidFramework is a real-time collaboration framework and distributed state synchronization engine. It provides a…

Curated searches featuring Hocuspocus

Hand-picked collections where Hocuspocus appears.
  • CRDT implementation