Reimagine state management with CRDTs. Make your app collaborative effortlessly.
Find a file
Zixuan Chen 51a28129a9
Merge pull request #23 from loro-dev/refactor-content
Refactor: differentiate inner content & remote content
2022-11-22 20:37:59 +08:00
.devcontainer
.github/workflows chore: fix ci 2022-11-21 12:57:56 +08:00
.vscode chore: replace justfile with deno task 2022-11-21 12:50:15 +08:00
crates refactor: remove illegal state 2022-11-21 21:01:59 +08:00
docs docs: add glossary 2022-11-18 21:02:31 +08:00
scripts
supply-chain
.editorconfig
.gitignore
Cargo.lock fix: remove unknown type on content 2022-11-21 20:30:20 +08:00
Cargo.toml
deno.json refactor: add import export to map 2022-11-21 16:02:29 +08:00
deny.toml
README.md
rust-toolchain

Loro 🦜

Loro is a fast CRDT framework with built-in end-to-end encryption ability.

It provides a set of data structures that can automatically sync without any conflict. With end-to-end encryption addon, all data can be encrypted without losing the ability to collaborate with the others. It aims to be the engine for building local-first software.

Why Loro

  • 🚀 It is pretty fast
  • 🔒 [WIP] Security built-in
  • 💻 Syncing data made easy
  • 📜 Preserve all history with low overhead
  • 🪐 [WIP] Time travel the history in milliseconds

Loro supports a variety of data structures and CRDT algorithms.

  • It supports the most used List, Map and Text.
  • [TODO] Peritext for fine-grind rich text operations
  • [TODO] Moveable Tree for directory-like moving operations
  • [WIP] Super fast version checkout and undo/redo

Credits

  • Automerge for its columnar encoding algorithm
  • Yjs for the efficient algorithm of merging blocks
  • Diamond-types for its idea of low-overhead merging algorithm
  • Ink & Switch for Local-first Software and Peritext