How sarveshwaran20/orbit-matrix works
Orbit is a browser-based spatial workspace for arranging and connecting Google Workspace files on an infinite canvas. Users create or import cards, organize them visually, and can present or focus on them; workspace layouts can be saved, revisited, shared, and rewound through history. The README describes Google authentication, Drive/Calendar utilities, guest mode, and AI-generated research and canvas commands. The excerpts show canvas, state, and AI behavior, but do not establish how every documented integration is wired. server.js is included as a substantial source file; its excerpt shows browser DOM and storage code, not a backend service.
Main entry points: script.js Canvas & Nodes · orbit-ai.js AI Intent & Commands · index.html Browser App · server.js Client Runtime
Components 17
Spatial Workspace
- Canvas & Nodes
script.js - Visual Threads
script.js - Presentation & Focus
script.js - Viewport & Minimap
script.js - Browser App
index.html
Workspace State
- Workspace History
script.js - Layout Sharing
script.js - Local Workspace Storage
script.js - Client Runtime
server.js
Google Integrations
- Google Sign-in
script.js - Google Drive & Picker
script.js - Calendar & Side Panel
script.js
Orbit AI
- AI Intent & Commands
orbit-ai.js - Research Decks
orbit-ai.js
Other components
- Workspace User
- Google Workspace APIs
- Public Research APIs
Connections 19
- Workspace User → Browser App: uses
README.md - Browser App → Canvas & Nodes: hosts
README.md - Workspace User → Canvas & Nodes: arranges
README.md - Canvas & Nodes → Visual Threads: connects nodes
script.js - Canvas & Nodes → Viewport & Minimap: updates view
script.js - Workspace User → Presentation & Focus: presents
README.md - Workspace User → Workspace History: scrubs history
script.js - Workspace History → Local Workspace Storage: persists locally
README.md - Workspace User → Layout Sharing: shares layout
script.js - Layout Sharing → Workspace History: encodes layout
script.js - Workspace User → Google Sign-in: signs in
README.md - Google Sign-in → Google Workspace APIs: authenticates with
README.md - Google Drive & Picker → Google Workspace APIs: reads and creates files
script.js - Calendar & Side Panel → Google Workspace APIs: accesses services
README.md - Workspace User → AI Intent & Commands: prompts
orbit-ai.js - AI Intent & Commands → Canvas & Nodes: orchestrates
orbit-ai.js - AI Intent & Commands → Research Decks: generates content
orbit-ai.js - Research Decks → Public Research APIs: fetches research
orbit-ai.js - Client Runtime → Local Workspace Storage: uses local state
server.js