{"repo":"cachapa/crdt","free":true,"listed":false,"github":"https://github.com/cachapa/crdt","clone":"git clone https://github.com/cachapa/crdt.git","description":"Dart implementation of Conflict-free Replicated Data Types (CRDTs)","language":"Dart","stars":190,"topics":["crdt","dart","flutter"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Dart implementation of Conflict-free Replicated Data Types (CRDTs). This project is heavily influenced by James Long's talk CRTDs for Mortals and includes a Dart-native implementation of Hybrid Local Clocks (HLC) based on the paper Logical Physical Clocks and Consistent Snapshots in Globally Distributed Databases (pdf). It has minimal external dependencies, so it should run anywhere where Dart runs, which is pretty much everywhere. The Crdt class implements CRDT conflict resolution and serves as a storage-agnostic interface for specific implementations. Als included with this package is MapCrdt , an ephemeral implementation using Dart HashMaps. Other implementations include (so far): - hive crdt, a no-sql implementation using Hive as persistent storage. - sql crdt, an abstract implementation for using relational databases as a data storage backend. - sqlite crdt, an implementation using Sqlite for storage, useful for mobile or small projects. - postgres crdt, a sql crdt that benefits from PostgreSQL's performance and scalability intended for backend applications. See also crdt sync, a turnkey approach for real-time network synchronization of Crdt nodes. Usage The simplest way to experiment with this package is to use the provided MapCrdt implementation: Implementations crdt is currently helping build local-first experiences for: - Libra a weigh management app with 1M+ installs. - tudo an open-source simple to-do app + backend. Are you using this package in your project? Let m","default_branch":null,"files":null,"tree":[],"storefront":"/r/cachapa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cachapa/crdt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}