examples/live-notes Public
Architecture
From .rebasely/architecture/system.yaml at d21dfdd: 3 components, 2 connections in this view.
What takes part in an edit, from the browser to the room and back.
Select a component to see what it talks to.
client
LibraryClear
The editor page and its script, compiled by tsc into public/js.
- Owns
- client/**, public/index.html
- Talks to
- ops (import)
Components
- note-room Durable Object
One per note, picked by name. Orders every edit, keeps the note and its op log in SQLite, and holds the editors' WebSockets.
- Owns
- src/note-room.ts, src/room.ts
- Binding
- NOTES
- Talks to
- ops (import)
- ops Library
Insert and delete operations, their transform, and the messages on the socket. The same code runs in the room and in the browser.
- Owns
- src/ops.ts, src/protocol.ts
- Used by
- note-room (import), client (import)
- client Library
The editor page and its script, compiled by tsc into public/js.
- Owns
- client/**, public/index.html
- Talks to
- ops (import)