rnotes-online/src
Jeff Emmett e7e921665d Add Y.js real-time collaboration to rNotes editor
- Add yjs, y-websocket, @tiptap/extension-collaboration,
  @tiptap/extension-collaboration-caret dependencies
- Create collab-provider.ts: WebsocketProvider wrapper
- Create CollabStatus.tsx: connection/sync state indicator
- NoteEditor.tsx: add collaborative mode with Y.js document,
  awareness cursors, and auto-disable built-in history
- docker-compose.yml: add y-websocket sidecar (rnotes-yws)
  at collab-ws.rnotes.online, add NEXT_PUBLIC_COLLAB_WS_URL

Enable by passing collaborative={true} noteId="..." user={...}
to NoteEditor. Non-collaborative mode unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 19:22:18 -07:00
..
app feat: integrate encrypted IPFS file storage 2026-03-31 17:21:53 -07:00
components Add Y.js real-time collaboration to rNotes editor 2026-03-31 19:22:18 -07:00
lib Add Y.js real-time collaboration to rNotes editor 2026-03-31 19:22:18 -07:00
middleware.ts feat: add username-based personal subdomains (<username>.rnotes.online) 2026-02-24 20:46:24 -08:00