Migrated from GitHub
Go to file
Jeff Emmett 06aa537e32 fix: restore working Automerge sync from pre-Cloudflare version
Reverted to the proven approach from commit 4dd8b2f where each client
creates its own Automerge document with repo.create(). The Automerge
binary sync protocol handles synchronization between clients through
the WebSocket network adapter, without requiring shared document IDs.

Key changes:
- Each client calls repo.create() to get a unique document
- Initial content loaded from server via HTTP/R2
- Binary sync messages broadcast between clients keep documents in sync
- No need for shared document ID storage/retrieval

This fixes the "Document unavailable" errors and enables real-time
collaboration across multiple board instances.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 21:59:59 -07:00
.github/workflows switch from github action to cloudflare native worker deployment 2025-11-10 19:05:11 -08:00
.wrangler/tmp multiboard 2024-08-30 12:31:52 +02:00
docs refactor: remove OddJS dependency and fix Automerge sync 2025-11-16 20:19:02 -07:00
src fix: restore working Automerge sync from pre-Cloudflare version 2025-11-16 21:59:59 -07:00
worker fix: implement real-time Automerge sync across clients 2025-11-16 19:45:36 -07:00
.cfignore fix: move wrangler.dev.toml to worker/ directory to fix Pages deployment 2025-11-16 18:43:34 -07:00
.env.example Revert "Update Daily API key in production env" 2025-04-16 13:05:55 -07:00
.gitattributes oriomimicry 2024-08-09 23:14:58 -04:00
.gitignore working video calls 2025-02-13 20:38:01 +01:00
.npmrc npm 2024-12-07 22:48:02 -05:00
.prettierrc.json prettify and cleanup 2024-12-07 22:01:02 -05:00
CLOUDFLARE_PAGES_MIGRATION.md update package.json, remove cloudflare worker deployment 2025-11-10 12:46:49 -08:00
CLOUDFLARE_PAGES_SETUP.md latest update to fix cloudflare 2025-11-10 11:51:57 -08:00
CLOUDFLARE_WORKER_SETUP.md switch from github action to cloudflare native worker deployment 2025-11-10 19:05:11 -08:00
DATA_CONVERSION_GUIDE.md pin object, fix fathom, and a bunch of other things 2025-11-11 22:32:36 -08:00
DATA_CONVERSION_SUMMARY.md everything working in dev 2025-11-10 11:06:13 -08:00
DATA_SAFETY_VERIFICATION.md updates to worker 2025-11-10 13:50:31 -08:00
DEPLOYMENT_GUIDE.md switch from github action to cloudflare native worker deployment 2025-11-10 19:05:11 -08:00
DEPLOYMENT_SUMMARY.md switch from github action to cloudflare native worker deployment 2025-11-10 19:05:11 -08:00
FATHOM_INTEGRATION.md final updates to Automerge conversion 2025-11-10 13:34:55 -08:00
GESTURES.md add in gestures and ctrl+space command tool (TBD add global LLM) 2025-07-29 16:02:51 -04:00
MIGRATION_CHECKLIST.md update package.json, remove cloudflare worker deployment 2025-11-10 12:46:49 -08:00
QUARTZ_SYNC_SETUP.md automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
README.md Revert "update website main page and repo readme, add scroll bar to markdown tool" 2025-04-16 13:05:50 -07:00
SANITIZATION_EXPLANATION.md everything working in dev 2025-11-10 11:06:13 -08:00
TLDRW_INTERACTIVE_ELEMENTS.md automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
TRANSCRIPTION_SETUP.md everything working in dev 2025-11-10 11:06:13 -08:00
WORKER_ENV_GUIDE.md final updates to Automerge conversion 2025-11-10 13:34:55 -08:00
_redirects update package.json, remove cloudflare worker deployment 2025-11-10 12:46:49 -08:00
github-integration-setup.md automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
index.html fixed shared piano 2025-09-04 17:54:39 +02:00
package-lock.json refactor: remove OddJS dependency and fix Automerge sync 2025-11-16 20:19:02 -07:00
package.json refactor: remove OddJS dependency and fix Automerge sync 2025-11-16 20:19:02 -07:00
quartz-sync.env.example automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
start-network-dev.sh automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
switch-worker-env.sh final updates to Automerge conversion 2025-11-10 13:34:55 -08:00
switch-worker.sh automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
test-change-detection.js automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
test-data-conversion.ts everything working in dev 2025-11-10 11:06:13 -08:00
test-holon-data.js everything working in dev 2025-11-10 11:06:13 -08:00
test-r2-conversion.md everything working in dev 2025-11-10 11:06:13 -08:00
test-video-chat-network.js automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
tsconfig.json fix stuff 2024-08-31 15:00:06 +02:00
tsconfig.node.json oriomimicry 2024-08-09 23:14:58 -04:00
tsconfig.worker.json multiplayer 2024-08-29 21:15:13 +02:00
vite.config.ts everything working in dev 2025-11-10 11:06:13 -08:00
wrangler.dev.toml refactor: move wrangler config files to root directory 2025-11-16 19:17:54 -07:00
wrangler.toml refactor: move wrangler config files to root directory 2025-11-16 19:17:54 -07:00

README.md

A website.

Do npm i and npm run dev