Skip to main content

Drive

Research, not an audit
These pages are research and development and may not match the live app. Do not treat this as an audit. Shared for testing and demo only. Please use responsibly.

Glitr keeps a Drive vault in your mailbox — personal files, plus isolated trees per contact and group. Paths and names live inside sealed JSON; the git tree only shows UUIDs. Document editors open and save Drive bytes in-process through Office. Drive is not part of the recipient crypto cascade or the live WebRTC path. Sending a file to a peer still goes through the normal chat or live attachment flow.

This page is the mailbox vault and how whatsup hosts /drive. Editor engines, Calendar/Tasks, and the Office launcher are on Office. Record shapes stay on Data structures. How the shell sits on the rest of the stack is the Architecture product map.

Product wiring​

whatsup mounts Drive on the GUI feature:

PieceRole
glitr-client driveList / upsert / delete / conflict / import over /resources/drive-*
whatsup drive/Volume adapter + DrivePage at /drive
whatsup-uiExplorer chrome (VolumeExplorer, new-file dialog, open-with, NavTarget::Drive, contact/chat files routes) — no link to office engines
office-uiOpens prepared Drive bytes into document hosts (see Office)
Host moduleRole
drive/volume.rsVolumeHandle over glitr-client::drive for the current scope
drive/page.rsScope sidebar, explorer, open/save, conflict UI, send-from-Drive
gui.rsRoute /drive; NavTarget::Drive

Cargo: the gui feature enables optional office and office-ui so Drive can open files. Desktop and browser GUI builds get Drive. TUI and stub platforms do not mount the office hosts.

whatsup registers the mailbox-backed volume, opens files through office-ui, and writes bytes through glitr-client. UI details: UI/UX. User how-to: Drive.

Open prepares bytes (or a blank seed), mounts a host, and on save upserts a DriveEntry (and blob or CAS file). Listing never loads file bytes.

Drive vault​

Drive is mailbox persistence (schema messaging v11+; current app schema is v13). Paths and names live inside sealed JSON; the git tree only shows UUIDs under drive/ and drive-blobs/.

ConcernBehavior
Scopespersonal, contact, or group (scopeId empty for personal)
Storageinline (bytes in DriveBlob) or cas (password-sealed under .drive-cas/)
Syncsync (may leave with the repo) or local (.drive-local/ — never leave this device)
Soft deletedeletedAt; trash views filter in the host
ImportChat attachments can copy into a contact/group tree (importedFromMessageId for idempotency)
ConflictsHost can keep local, take remote, or keep both as a sibling entry

Large or local-only files stay out of git staging via .gitignore. Field-level shapes: Data structures. How sealing and git layout work: Persistence.

Document formats are file payloads inside Drive. Calendar and tasks are separate sealed collections — see Office.

Privacy and network​

ClaimMeaning
Sealed at restDrive rows use the connect-password envelope (Argon2id then AES-GCM), same as other sealed mailbox types
Not recipient cryptoOpening a file does not cascade to a peer; send is an explicit chat action
Scoped treesContact and group Drives are isolated; personal Drive is not auto-shared
Git host seesUUID filenames and sizes for synced rows; paths and names stay inside sealed JSON
Local-onlysyncPolicy: local and .drive-local/ stay on this device
ResidualA clone of your repo without the password sees envelopes; with the password, Drive contents are readable like other sealed docs

Runtime and limits​

  • Browser and desktop GUI: Drive hosts on the gui feature (with office-ui for open/save).
  • TUI / stub: no office mount; Drive is a graphical path.
  • License: product Drive path is closed-source; office engines used to open files are AGPL-3.0-only (see Office).

Next: Office for editors, Calendar/Tasks, and the gallery. Record fields: Data structures. User guide: Drive.