-
-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
joravar edited this page Aug 17, 2026
·
2 revisions
Bapu Studio is built on a modern, decoupled Electron + React architecture designed for fast cold boots and minimal idle memory footprint.
┌────────────────────────────────────────────────────────────────────────┐ │ RENDERER PROCESS (React 18) │ │ • Vite Compiler • HSL Vanilla CSS • UI State │ └───────────────────────────────────┬────────────────────────────────────┘ │ Preload Bridge (IPC Channels) ▼ ┌────────────────────────────────────────────────────────────────────────┐ │ MAIN PROCESS (Electron CJS) │ │ • Node.js Engine • Secure IPC Dispatcher • Local Disk Storage │ │ • Bundled DB Drivers: pg | mysql2 | mongodb | sql.js │ └────────────────────────────────────────────────────────────────────────┘
-
Context Isolation: Enabled (
contextIsolation: true). Renderer has no direct access to Node.jsrequire()or file system APIs. -
Preload Bridge: Exposes sanitized, specific IPC functions via
window.electronAPI. - Zero Telemetry Guarantee: All network calls originate strictly from explicit user actions (sending an API request or connecting to a database).