Extraction Protocol
Migrating from Google Workspace to the Omni-Engine
Extract your Sheets, Docs, and Slides data from Google Workspace into a unified Y.js CRDT document with full offline-first execution and WebRTC multiplayer sync.
Prerequisite: Active Google Workspace account with Takeout access enabled.
Export via Google Takeout (CSV/XLSX)
Navigate to takeout.google.com. Select Google Sheets and Google Docs. Export as CSV/XLSX for structured data and HTML for document content.
Mechanical Detail
Takeout exports Sheets as XLSX with multi-tab support. Each tab maps 1:1 to a Canvas Sheet Engine tab. Document HTML is parsed by the Tiptap editor import pipeline.
Bulk Import to Canvas Sheet Engine
Open your daWorld organization. Create a new Sheets File. Use the Import menu (CSV/XLSX) to bulk-load all exported spreadsheets.
Mechanical Detail
The XLSX import pipeline (lib/import/xlsx-import.ts) parses workbook tabs using SheetJS, maps columns to the Dual-Model UUID identity system, and writes cell data to Y.Map shared types. IndexedDB persistence activates immediately.
Formula Translation (GSHEET → daML DAG)
Review imported formulas. Google Sheets functions map to daML expression syntax. SUM, VLOOKUP, IF, and COUNTIF are supported natively. Custom Apps Script macros translate to Logic Board DAG nodes.
Mechanical Detail
The formula parser (FormulaGraph in @daworld/shared) evaluates a topologically-sorted DAG client-side via mathjs. Cross-Sheet references use the format SheetName!CellRef. No server-side evaluation.
Collaborative Workspace Activation
Invite team members to your organization. Y.js CRDT sync activates automatically via WebRTC P2P mesh. No server compute for conflict resolution.
Mechanical Detail
WebRTC signaling uses Supabase Broadcast channels. State vectors merge deterministically. Awareness protocol provides live cursors and presence indicators.
Non-destructive. Your source data remains intact until DNS cutover.