locorda_core 0.5.2 copy "locorda_core: ^0.5.2" to clipboard
locorda_core: ^0.5.2 copied to clipboard

Platform-agnostic CRDT sync engine for Locorda. Runtime for offline-first conflict resolution, sharded index management, and BYOB backend sync (Google Drive, Solid Pods, and more).

locorda_core #

pub package license

Platform-agnostic CRDT sync engine — the runtime that drives offline-first conflict resolution, sharded index management, and sync state across BYOB backends (Google Drive, Solid Pods, local directory, and more).

This is an internal implementation package. Most applications should depend on locorda or locorda_flutter, which re-export the public surface of this package. Add locorda_core directly only when building a custom integration (e.g. a new storage backend) without Flutter.

What it contains #

Area Key types
Sync engine SyncEngine, EngineParams
CRDT merge Property-level merge algorithms (LWW, OR-Set, Immutable, G-Register)
Hybrid Logical Clocks Causality-aware timestamps combining logical and physical time
Index management Full and Group index sync — sharded, with O(1) change detection
Vocabularies Generated Dart constants for algo:, crdt:, idx:, sync: vocabularies
Layout types FilePerResource, ShardDataset, SingleFile, RemoteStorageLayout

Dependency #

dart pub add locorda_core

Only needed for custom backend integrations. For typical app development:

flutter pub add locorda          # Flutter app
dart pub add locorda             # Pure-Dart app

Further reading #

0
likes
140
points
264
downloads

Documentation

Documentation
API reference

Publisher

verified publisherlocorda.dev

Weekly Downloads

Platform-agnostic CRDT sync engine for Locorda. Runtime for offline-first conflict resolution, sharded index management, and BYOB backend sync (Google Drive, Solid Pods, and more).

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#rdf #crdt #offline-first #sync

License

MIT (license)

Dependencies

collection, crypto, http, locorda_rdf_core, locorda_rdf_jelly, locorda_rdf_terms_core, logging, rxdart, uuid

More

Packages that depend on locorda_core