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.
Copy webxdc.js
from Hello into this folder.
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
- Open http://localhost:3000 in your web browser
- Click 'Add Peer' to open as many peers as you like
- 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.)