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
J

josephg/sharejs

0
View on GitHub↗
4,988 stars·453 forks·JavaScript·11 views

Sharejs

ShareJS is a collaborative document database and synchronization engine designed for real-time shared state management. It provides an operational transform sync engine to enable simultaneous editing of plain-text and JSON data, and a RESTful synchronization API for managing document states via HTTP.

The system features an offline-first data sync layer that queues local modifications while disconnected and automatically pushes edits upon reconnection. It also includes a middleware access control layer that intercepts database requests to enforce security policies and perform request rewriting.

The platform covers a broad range of capabilities including live query subscriptions, real-time change notifications, and concurrent content synchronization. These components allow for the creation of data feeds where clients are instantly notified when backend documents matching specific queries are updated.

Features

  • Operational Transformation Engines - Implements a synchronization engine that manages document state through atomic modification operations using operational transform.
  • Operational Transformation - Implements operational transform algorithms to resolve concurrent editing conflicts and maintain consistent document states across distributed clients.
  • Client-Server State Synchronization - Maintains coherence between remote server state and local client state using a real-time synchronization engine.
  • Live Query Engines - Implements a live query engine that returns auto-updating result sets reflecting the latest backend document state.
  • Document Databases - Provides a document-oriented database designed for shared documents with live-bound queries and real-time updates.
  • Event-Driven Subscription Systems - Pushes real-time document updates to clients via persistent connections to ensure immediate synchronization of remote edits.
  • Client-Side Buffers - Implements a persistent client-side buffer that queues document modifications during network interruptions for automatic synchronization upon reconnection.
  • Offline-First Persistence - Implements offline-first persistence allowing users to edit documents while disconnected and sync upon reconnection.
  • Real-time Data Subscriptions - Provides a real-time data feed for clients to subscribe to live database updates via persistent streams.
  • Collaborative Document Management - Provides lifecycle management for shared documents, including creation, retrieval, and deletion with state synchronization.
  • REST-Based Database Synchronization - Provides a REST-based interface for triggering synchronization actions and managing shared document states via HTTP.
  • Resource Access Control Layers - Implements a resource access control layer that intercepts database requests to enforce security policies and rewrite queries.
  • Data Sync Conflict Resolution - Uses operational transform as a conflict resolution strategy to synchronize concurrent edits of plain-text and JSON data.
  • Offline-First Synchronization - Provides architectural support for offline-first synchronization, queuing local modifications and merging them after reconnection.
  • Request Interception Middleware - Uses request interception middleware to validate permissions and rewrite database queries before execution for secure data access.
  • Offline Request Queues - Queues document modifications in local storage during offline periods for automatic retry upon reconnection.
  • Real-Time Collaborative Editing - Supports real-time collaborative editing of JSON and plain-text documents with automatic conflict resolution.
  • REST API Interfaces - Provides server-side RESTful endpoints to manage document states and trigger synchronization engine actions via standard HTTP methods.
  • Database Request Rewriting - Ships a middleware layer that intercepts and rewrites database requests to enforce granular security and access policies.
  • Engine-to-API Mappings - Translates standard HTTP methods into internal synchronization engine actions to expose document state as a web interface.
  • Collaborative Editing - Library for concurrent content editing using operational transforms.

Star history

Star history chart for josephg/sharejsStar history chart for josephg/sharejs

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. 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

Open-source alternatives to Sharejs

Similar open-source projects, ranked by how many features they share with Sharejs.
  • derbyjs/derbyderbyjs avatar

    derbyjs/derby

    4,706View on GitHub↗

    Derby is an isomorphic MVC framework and real-time data synchronization engine designed for building collaborative applications. It functions as a bi-directional data binding library and template engine that shares a single codebase between Node.js and the browser to synchronize state across clients and servers. The framework distinguishes itself through the use of operational transformation to resolve data conflicts automatically, enabling real-time shared editing and multi-user collaboration. It employs a differential state mutation model to minimize updates by performing deep equality chec

    TypeScript
    View on GitHub↗4,706
  • loro-dev/loroloro-dev avatar

    loro-dev/loro

    5,374View on GitHub↗

    Loro is a conflict-free replicated data type (CRDT) framework and collaborative state engine designed for building real-time collaborative applications. It provides a distributed data synchronizer that enables multiple users to edit shared documents and complex nested structures—such as maps, lists, trees, and counters—with automatic state convergence without requiring a central server. The project distinguishes itself through a versioned document store that supports branching, forking, and merging via a directed acyclic graph of causal operation history. It enables advanced version control c

    Rustcollaborative-editingcrdtlocal-first
    View on GitHub↗5,374
  • vlcn-io/cr-sqlitevlcn-io avatar

    vlcn-io/cr-sqlite

    3,640View on GitHub↗

    cr-sqlite is a multi-master database replication system that uses conflict-free replicated data types to ensure eventual consistency across distributed nodes. It provides the core capabilities for offline-first data synchronization, allowing multiple database instances to merge concurrent updates and reach a consistent state. The project distinguishes itself through a combination of CRDT-based data replication and a WASM-based database engine, enabling full SQL execution and state persistence within web browsers. It supports peer-to-peer replication and cross-tab synchronization, utilizing ca

    Rustcrdtdatabasesqlite
    View on GitHub↗3,640
  • firebaseextended/firepadF

    FirebaseExtended/firepad

    3,875View on GitHub↗

    Firepad is a Firebase collaborative text editor and rich text editor component. It functions as a real-time collaborative framework and operational transformation engine designed to synchronize document editing across multiple concurrent users. The project provides tools for shared document synchronization and collaborative presence tracking, allowing users to see live cursor positions and identifiers. It supports rich text authoring integration for both formatted content and code editing. The system manages document consistency through shared document synchronization and provides capabiliti

    JavaScript
    View on GitHub↗3,875
See all 30 alternatives to Sharejs→

Frequently asked questions

What does josephg/sharejs do?

ShareJS is a collaborative document database and synchronization engine designed for real-time shared state management. It provides an operational transform sync engine to enable simultaneous editing of plain-text and JSON data, and a RESTful synchronization API for managing document states via HTTP.

What are the main features of josephg/sharejs?

The main features of josephg/sharejs are: Operational Transformation Engines, Operational Transformation, Client-Server State Synchronization, Live Query Engines, Document Databases, Event-Driven Subscription Systems, Client-Side Buffers, Offline-First Persistence.

What are some open-source alternatives to josephg/sharejs?

Open-source alternatives to josephg/sharejs include: derbyjs/derby — Derby is an isomorphic MVC framework and real-time data synchronization engine designed for building collaborative… loro-dev/loro — Loro is a conflict-free replicated data type (CRDT) framework and collaborative state engine designed for building… vlcn-io/cr-sqlite — cr-sqlite is a multi-master database replication system that uses conflict-free replicated data types to ensure… firebaseextended/firepad — Firepad is a Firebase collaborative text editor and rich text editor component. It functions as a real-time… rethinkdb/rethinkdb — RethinkDB is a distributed, document-oriented database designed to store and manage JSON-formatted data across… collaboraonline/online — This project is a cloud-based office suite and self-hosted document server that enables the creation and editing of…