awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
loro-dev avatar

loro-dev/loro

0
View on GitHub↗
5,374 Stars·127 Forks·Rust·mit·8 Aufrufeloro.dev↗

Loro

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 capabilities, including time-travel navigation to historical states and the ability to redact sensitive information from the operation history.

The framework covers a broad capability surface including rich text management with stable cursor tracking, presence data sharing for real-time user indicators, and offline-first synchronization. Performance is managed through binary-delta state encoding, shallow snapshot generation for history pruning, and lazy loading of document data.

Features

  • Distributed State Synchronization - Keeps data consistent across multiple clients or servers using conflict-free replicated data types and binary updates.
  • Conflict-Free Replicated Data Types - Provides a framework of conflict-free replicated data types to ensure synchronized state across distributed clients.
  • Shared Collaborative Data Types - Provides conflict-free replicated data structures such as maps and arrays designed for automatic convergence across distributed clients.
  • Collaborative Lists - Provides a conflict-free replicated list that supports concurrent insertions and deletions across distributed clients.
  • Collaborative Maps - Implements a collaborative map that resolves concurrent edits to key-value pairs using logical timestamps.
  • Collaborative Trees - Maintains a replicated tree where nodes can be moved between parents with automatic conflict resolution.
  • Concurrent Update Resolution - Replays historical operations using an event graph to deterministically merge simultaneous edits.
  • Binary Delta Encodings - Serializes operations from a specific version to the latest state using binary deltas for efficient collaborator synchronization.
  • Offline-First Persistence - Enables users to make changes while disconnected and automatically merges updates once connectivity is restored.
  • Operation-Graph Resolution - Replays historical operations using a directed acyclic graph to merge concurrent edits without a central coordinator.
  • Causal Branching and Merging - Tracks edits in a directed acyclic graph to enable branching, forking, and merging without manual conflict resolution.
  • Binary Data Encoding - Utilizes compact binary data encoding to minimize network overhead for incremental state updates.
  • Collaborative Versioned Stores - Implements a versioned data store that tracks operation history to enable time travel and undo for distributed documents.
  • Conflict-Free Replicated Data Types - Implements data structures that enable the synchronization of distributed state by merging concurrent updates without conflicts.
  • Local Update Streaming - Emits binary updates in real-time as they are produced locally to enable immediate synchronization across peers.
  • Peer-to-Peer Networking - Provides peer-to-peer networking capabilities for direct client-to-client data exchange without requiring a central server.
  • State Synchronization - Exchanges binary updates and snapshots between peers to converge on a shared state with automatic conflict resolution.
  • State Vector Synchronization - Uses state vector synchronization to identify and transmit only the incremental updates missing from a peer.
  • Hierarchical State Composition - Implements nested maps, lists, and trees to create hierarchical state models that maintain consistency across distributed clients.
  • Causal Dependency Tracking - Monitors operation dependencies to ensure changes are applied in the correct logical order across decentralized peers.
  • Causal Ordering Timestamps - Records dependencies between operations in a directed acyclic graph to maintain a partial order of changes.
  • Causal - Monitors applied updates and identifies pending operations awaiting causal dependencies to ensure distributed data consistency.
  • Offline-First Synchronization - Stores changes locally while disconnected and automatically merges them with remote updates upon restoring connectivity.
  • Shared State Management - Initializes mergeable child containers under specific keys so multiple peers can collaborate on the same sub-document.
  • Document Versioning - Tracks a full history of changes via a causal graph to enable time-travel, undo, and branching.
  • Real-Time Collaborative Editing - Provides the framework for multiple users to edit shared documents and rich text simultaneously with automatic conflict resolution.
  • Conflict-Free Text Synchronization - Synchronizes plain and rich text across clients with automatic conflict resolution using efficient data operations.
  • Stable Cursor Tracking - Provides a stable cursor that automatically adjusts its position to remain logically correct during concurrent collaborative edits.
  • Delta Synchronization - Implements delta synchronization to efficiently update document content and formatting across distributed editor interfaces.
  • State Export - Produces binary snapshots and incremental updates for persistent storage or synchronization across the network.
  • Collaborative Text Indexing - Calculates character offsets using multiple measurement modes to accurately locate content regardless of embedded metadata.
  • Change Set Compression - Computes compact diffs between document versions by removing canceling operations to optimize network data transfer.
  • State Snapshots - Encodes the full current state and historical operations to enable rapid recovery and startup acceleration.
  • List Element Reordering - Supports reordering elements within a sequence while preserving user intent during concurrent edits to prevent duplication.
  • Snapshot-Based State Restoration - Restores current state immediately using snapshots while fetching operation history in the background to reduce initial load times.
  • State Pruning - Provides state pruning to remove obsolete historical operations and reduce memory usage while preserving the current state.
  • Bulk Update Processing - Processes groups of remote changes in a single operation to reduce overhead and accelerate the merging process.
  • Anchor-Based Tracking - Tracks caret locations using unique operation IDs to maintain stable cursor positioning during concurrent edits.
  • Incremental State Persistence - Saves the complete document state or incremental delta updates as binary payloads for efficient storage.
  • Collaboration History Management - Tracks a history of local operations to enable undo and redo without affecting other concurrent collaborators.
  • Operation History Pruning - Prunes synchronized operations and applies indices to keep total document size proportional to active content.
  • Atomic Transaction Grouping - Groups multiple discrete changes into a single atomic unit to optimize network overhead and synchronization.
  • Collaborative Container Merging - Ensures child containers created by different peers resolve to the same identifier using stable logical paths.
  • Data Container Identification - Assigns unique identifiers to document sections based on logical paths to track state across distributed clients.
  • Distributed Counters - Implements distributed counters that sum integer and floating point values across clients with automatic conflict resolution.
  • State Version Restoration - Provides the ability to reconstruct and render specific historical versions of a document by filtering the operation log.
  • Document State Replay - Enables checking out a document at a specific historical version to review or debug previous states.
  • Fractional Indexing - Assigns sortable values to nodes to maintain a consistent order across distributed clients during concurrent insertions.
  • Last-Write-Wins Semantics - Resolves concurrent edits to key-value pairs using logical timestamps to determine the final converged state.
  • Fractional Indexing - Assigns sortable fractional indices to sibling nodes to synchronize custom sequences across collaborators.
  • Materialized State Optimizations - Loads operation logs without materialized state to synchronize data across servers without processing the entire document.
  • Version Diffing - Calculates the delta between two historical versions to identify exactly what changed in the document.
  • Undo-Redo Management - Implements a system for managing the local editing timeline to support reverting and reapplying changes.
  • Collaborative Presence States - Tracks and broadcasts ephemeral user activity including stable cursor positions and online status.
  • Collaborative Rich Text Binding - Provides a synchronization layer that binds shared CRDT data types to rich text editor models.
  • Rich Text Formatting Extensions - Provides rich text formatting capabilities to assign and manage attributes across text ranges in a collaborative environment.
  • Conflict Resolution - Implements conflict resolution for rich text styles using anchors and timestamps to maintain consistent formatting across clients.
  • Presence Tracking - Tracks temporary non-persisted state such as mouse positions, typing indicators, and user status.

Star-Verlauf

Star-Verlauf für loro-dev/loroStar-Verlauf für loro-dev/loro

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht loro-dev/loro?

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.

Was sind die Hauptfunktionen von loro-dev/loro?

Die Hauptfunktionen von loro-dev/loro sind: Distributed State Synchronization, Conflict-Free Replicated Data Types, Shared Collaborative Data Types, Collaborative Lists, Collaborative Maps, Collaborative Trees, Concurrent Update Resolution, Binary Delta Encodings.

Welche Open-Source-Alternativen gibt es zu loro-dev/loro?

Open-Source-Alternativen zu loro-dev/loro sind unter anderem: yjs/yjs — Yjs is a CRDT framework and real-time state synchronization engine providing shared data types for collaborative… automerge/automerge — Automerge is a distributed state synchronization engine and library for conflict-free replicated data types. It… y-crdt/y-crdt — This project is a memory-safe library implemented in Rust that provides a high-performance engine for managing shared,… toeverything/blocksuite — BlockSuite is a collaborative block editor framework built on a hierarchical block tree data model with CRDT-based… liveblocks/liveblocks — Liveblocks is a realtime collaboration infrastructure platform that synchronizes application state, documents, and… pubkey/rxdb — This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a…

Open-Source-Alternativen zu Loro

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Loro.
  • yjs/yjsAvatar von yjs

    yjs/yjs

    22,069Auf GitHub ansehen↗

    Yjs is a CRDT framework and real-time state synchronization engine providing shared data types for collaborative software. It functions as a shared data type library of collaborative maps, arrays, and text structures that converge automatically across distributed clients, serving as a local-first data store and a collaborative editor backend. The system distinguishes itself through a synchronization engine that encodes document changes into commutative binary updates. It employs state-vector based differencing to transmit only missing incremental updates between peers and uses relative-positi

    JavaScriptcollaborationcollaborative-editingcrdt
    Auf GitHub ansehen↗22,069
  • automerge/automergeAvatar von automerge

    automerge/automerge

    6,373Auf GitHub ansehen↗

    Automerge is a distributed state synchronization engine and library for conflict-free replicated data types. It enables multiple nodes to perform concurrent updates to a shared dataset while guaranteeing that all replicas eventually converge to the same state. The project provides a high-performance implementation written in Rust to manage state merging and synchronization. It employs a byte-compressed synchronization protocol to transmit minimal delta updates between peers, facilitating data consistency in peer-to-peer and real-time collaborative environments. The system covers broad capabi

    JavaScript
    Auf GitHub ansehen↗6,373
  • y-crdt/y-crdtAvatar von y-crdt

    y-crdt/y-crdt

    2,090Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗2,090
  • toeverything/blocksuiteAvatar von toeverything

    toeverything/blocksuite

    5,544Auf GitHub ansehen↗

    BlockSuite is a collaborative block editor framework built on a hierarchical block tree data model with CRDT-based state synchronization for real-time multi-user editing. It provides an extensible block component system, allowing developers to define custom block types through declarative schemas, services, and rendering components. The editor is packaged as cross-framework web components, making it embeddable in any JavaScript environment. The framework distinguishes itself with a command-driven editing pipeline that composes type-safe editing actions with dynamic context sharing and control

    TypeScriptblockblock-editorcollaboration
    Auf GitHub ansehen↗5,544
Alle 30 Alternativen zu Loro anzeigen→