webxdc/corkboard
15
2
Fork
You've already forked corkboard
1
Sharing lists with a group
  • JavaScript 90.5%
  • CSS 3.6%
  • HTML 3.1%
  • Shell 2.8%
Find a file
2023年07月07日 20:02:59 +02:00
.gitignore realize a build routine 2023年07月07日 16:50:25 +02:00
create-xdc.sh realize a build routine 2023年07月07日 16:50:25 +02:00
icon.jpg Reduce icon size 2022年05月12日 09:21:36 +02:00
index.html Spec required 2022年06月14日 17:24:32 +02:00
LICENSE Add LICENSE 2022年06月14日 17:45:42 +02:00
manifest.toml manifest: add description, update source_code_url 2023年07月07日 14:41:54 +02:00
README.md typo 2023年07月07日 20:02:59 +02:00
ui-behaviour-tests.js Spec AppPayloadIsUpdated 2022年05月11日 13:52:22 +02:00
ui-behaviour.js Spec required 2022年06月14日 17:24:32 +02:00
ui-style.css Replace prompt with form elements 2022年05月12日 09:12:08 +02:00
ui-test-_access.js Tidy tests 2022年05月12日 13:36:32 +02:00
ui-test-_misc.js Spec required 2022年06月14日 17:24:32 +02:00
ui-test-order.js Tidy tests 2022年05月12日 13:36:32 +02:00
ui-test-permission.js Tidy tests 2022年05月12日 13:36:32 +02:00
webxdc.js realize a build routine 2023年07月07日 16:50:25 +02:00

Corkboard

Sample app demonstrating CRUD (create, read, update, delete) operations.

Each participant can modify items in their own 'board' or list; this is a simple hack to avoid overwriting conflicts when used in groups. Each update brings the respective board to the top so that other participants know what changed.

For CRUD operations with Automerge, see Checklist.

Demo

Online-Demo

Building

To create a .xdc file that can be attached to a group, execute:

./create-xdc.sh

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.)