crdt-richtext
text-diff
crdt-richtext | text-diff | |
---|---|---|
2 | 2 | |
262 | 6 | |
0.8% | - | |
7.7 | 10.0 | |
12 months ago | over 1 year ago | |
Rust | Python | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
crdt-richtext
text-diff
-
CRDT-richtext: Rust implementation of Peritext and Fugue
https://github.com/samsquire/multiversion-concurrency-contro...
And I implemented a 3 way text diff with myers algorithm based on https://blog.jcoglan.com/2017/02/12/the-myers-diff-algorithm...
https://github.com/samsquire/text-diff
I implemented an eventually consistent mesh protocol that uses timestamps to provide last write wins
-
Visualizing Diffs The Myers difference algorithm
I implemented a three direction diff at https://github.com/samsquire/text-diff
Conflict detection is fairly hard to get right, I can detect overlapping ranges to colour the output green or red.
Using this guide https://blog.jcoglan.com/2017/02/12/the-myers-diff-algorithm...
What are some alternatives?
y-sweet - A standalone yjs server with persistence to S3 or filesystem.
electric - Local-first sync layer for web and mobile apps. Build reactive, realtime, local-first apps directly on Postgres.
pg_crdt - POC CRDT support in Postgres
fugue-bench - Fugue list CRDT implementations and benchmarks
crdt-benchmarks - Real world text editing traces for benchmarking CRDT and Rope data structures [Moved to: https://github.com/josephg/editing-traces]
electric_dart - A Dart implementation for Electric (electric-sql.com).
yjs-sqlite-test - Test combining yjs and sqlite wasm
yjs-pg-test - Test combining yjs and PostgreSQL using plv8 and plv8ify