Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

webxdc/webxdc-checklist

Repository files navigation

Checklist

Simple collaborative checklist with Automerge demonstrating CRUD (create, read, update, delete) operations.

Each participant can modify the list and multiple updates are time throttled to be batched in a single message. Conflicts are hopefully resolved via Automerge.

For CRUD operations without Automerge, see Corkboard.

Demo

Setup

Copy webxdc.js from Hello into this folder.

Run

It's possible to simply open index.html in your web browser, but the collaborative aspect is better accessed over a server.

If your computer has php installed, you can try:

php -S localhost:3000
  1. Open http://localhost:3000 in your web browser
  2. Click 'Add Peer' to open as many peers as you like
  3. Type a message and press 'Send' to see the update in each peer. (For Safari you might need to check the setting under Develop > Disable Local File Restrictions.)