Skip to content

Example of an implementation using Automerge and realtime collaboration through websockets

Notifications You must be signed in to change notification settings

wecraftapps/automerge-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

This repository is an example of an implementation using Automerge.

The code is based on the tutorial given by the docs of Automerge.

Realtime collaboration is achieved using websockets.

What you will find in this repo

You'll find a client (under front/ folder) which consists in a todo list.

And you'll find a server (under back/ folder) which consists in a websocket server.

The Sync Protocol is used to share changes.

How to

You'll find setup details in each folder.

Once front and back initialized and started, you can open several pages http://localhost:8080/ and see the same todo list being shared across all clients. If one client makes changes, every other client is informed.

You also can trigger the network status of each client, if you want to test the offline mode.

Demo

About

Example of an implementation using Automerge and realtime collaboration through websockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published