https://github.com/ldarren/crdt_example
Conflict-free replicated data type example with codemirror and automerge
https://github.com/ldarren/crdt_example
Last synced: 5 months ago
JSON representation
Conflict-free replicated data type example with codemirror and automerge
- Host: GitHub
- URL: https://github.com/ldarren/crdt_example
- Owner: ldarren
- Created: 2021-11-02T23:42:45.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-11T18:51:23.000Z (about 4 years ago)
- Last Synced: 2025-03-23T18:14:22.151Z (10 months ago)
- Language: JavaScript
- Size: 674 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# CRDT With CodeMirror and Automerge
## Setup
- npm ci
- npm start
### Setup Automerge
At the time of creating this example, automerge 1.0 is not stable yet. hence build from source is the best to get latest bug fix
Automerge build steps
- git clone https://github.com/automerge/automerge.git automerge && cd automerge
- npm ci
- npm run build
- cp ./dist/\* {your}/{path}/dist/
## Test
```sh
npm test
```
## Run
open `index.html` in browser
## Test
[Sample](https://ldarren.github.io/crdt_example/)