crdt-woot
Matrix-CRDT
crdt-woot | Matrix-CRDT | |
---|---|---|
2 | 10 | |
16 | 712 | |
- | - | |
0.0 | 1.0 | |
about 2 years ago | about 1 month ago | |
TypeScript | TypeScript | |
- | Mozilla Public License 2.0 |
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-woot
-
Collaborative Editing Using CRDT WOOT
Hi, I would like to share this collaborative editor I have created using the CRDT WOOT algorithm as described in the paper Data Consistency for P2P Collaborative Editing. You can try it here. (I added some visualisation of what happens in the algorithm, which is the array of value above.
https://crdt-woot.herokuapp.com/
It's more of a proof of concept, which would need some more improvements in order to be production ready.
- Implementation of CRDT WOOT, a collaborative editing algorithm
Matrix-CRDT
- Help - chat server
-
Feature request: online collaboration
Another interesting and peculiar approach would be to use Matrix, which is chat and collaboration framework that is completely decentralised. Essentially, in this way Scrivano would translate pen input into chat messages that are sent to other users who receive them in real time. One advantage of this approach is that the collaborative notes will remain accessible even after you go offline and multiple users will be able to collaborate on a single note just like they would in a group chat. There are already apps that make use of this idea (e.g. see Matrix-CRDT or TheBoard), but when I tried this it last time didn't work very well and I'm not sure whether this is a limitation of the service or of the specific implementation I tried.
-
Libli, tiny matrix client for building public libraries
1. This is complicated. There is a notion of power_level, which you can set to different events. So you can set "send message" to power level 30, and any user with a "power level" of 30 or more will be able to send messages. Those power levels (and the required level to send an event) are granted by the room creator.
There is, however, no power_level associated with reading messages. I think you need to be joined to a room to send messages, and to be joined, you need to be able to read messages by design. So the "inbox" model doesn't seem representable to me. But maybe I'm missing something!
2. Yes. Events can refer to prior events to modify them, e.g. you can "edit" a previous message by appending a new message of type "msg.edit" (made up type, not sure what the exact it), specifying the old message id, and the new text. For matrix-based CRDT, see Matrix-CRDT[1], a Yjs backend using Matrix.
[1]: https://github.com/YousefED/Matrix-CRDT
-
E2EE Social Media?
Have you checked out Matrix? It's specifically a protocol (they've used OpenWhisper) but people are using it like a social media platform (specifically like IRC). There's even people doing google docs like services. I'm going to link a HN thread from that last link because others are just talking about Matrix and that'll likely be helpful to you.
- Matrix-CRDT: Use Matrix as a backend for local-first applications with the Matrix-CRDT Yjs provider.
- Show HN: Matrix-CRDT – real-time collaborative apps using Matrix as backend
- Matrix-CRDT – real-time collaborative apps using Matrix as backend
-
Hacker News top posts: Jan 18, 2022
Show HN: Matrix-CRDT – real-time collaborative apps using Matrix as backend\ (2 comments)
What are some alternatives?
yjs - Shared data types for building collaborative software
syncthing-android - Wrapper of syncthing for Android.
teletype-crdt - String-wise sequence CRDT powering peer-to-peer collaborative editing in Teletype for Atom.
y-crdt - Rust port of Yjs
osmosis-js - JS reference implementation of Osmosis, a JSON data store with peer-to-peer background sync
y-webrtc - WebRTC Connector for Yjs
dotted-logootsplit - A delta-state block-wise sequence CRDT
Radicale-DecSync - Radicale storage plugin to add synchronization using DecSync
FluidFramework - Library for building distributed, real-time collaborative web applications
mute - a scalable collaborative document editor with CRDT, P2P and E2EE
matrix-room-element
slate-yjs - Yjs binding for Slate