How pupariaa/lumirail works
Lumirail Studio is a desktop-oriented workspace for organizing projects and editing module lighting scenes, with serial access to LMS modules and a gateway-monitoring/storage view. The main workflow is to edit a project timeline, generate and encode scene data, then communicate with connected hardware. The tree also includes a separate API-Bridge service. Connections below are limited to sampled source references and explicit README statements; gateway capabilities described only as architecture direction are not treated as implemented behavior.
Main entry points: App.tsx App shell and routes · SceneTimeline.tsx Scene timeline · GatewayPage.tsx Gateway dashboard · serialConnection.ts Serial connection
Components 21
Studio application
- App shell and routes
Software/Application/Lumirail Studio/src/App.tsx - Authentication
Software/Application/Lumirail Studio/src/auth/login.ts
Project and scene editing
- Scene timeline
Software/Application/Lumirail Studio/src/components/SceneTimeline.tsx - Intention editor
Software/Application/Lumirail Studio/src/components/IntentionPickerDialog.tsx - Intention definitions
Software/Application/Lumirail Studio/src/components/intention-definitions.tsx - Timeline viewport
Software/Application/Lumirail Studio/src/components/timeline-viewport.ts - Scene generation
Software/Application/Lumirail Studio/src/sceneGenerator.ts - LFP encoding
Software/Application/Lumirail Studio/src/lfpEncoder.ts
Gateway and device I/O
- Gateway dashboard
Software/Application/Lumirail Studio/src/pages/GatewayPage.tsx - Gateway telemetry
Software/Application/Lumirail Studio/src/data/gatewayTelemetry.ts - Serial connection
Software/Application/Lumirail Studio/src/serial/serialConnection.ts - LFP transport
Software/Application/Lumirail Studio/src/serial/lfpTransport.ts - Electron serial bridge
Software/Application/Lumirail Studio/electron/serialBridge.mjs - Electron main process
Software/Application/Lumirail Studio/electron/main.mjs
Data and persistence
- Project data provider
Software/Application/Lumirail Studio/src/context/DataProvider.tsx - Project persistence
Software/Application/Lumirail Studio/src/data/persistence.ts - Storage adapters
Software/Application/Lumirail Studio/src/storage/index.ts
API Bridge
- API Bridge server
Software/Application/API-Bridge/src/server.py - Driver wrapper
Software/Application/API-Bridge/src/driver_wrapper.py
Other components
- Studio user
- Lumirail gateway
Connections 21
- Studio user → App shell and routes: uses
Software/Application/Lumirail Studio/src/App.tsx - App shell and routes → Scene timeline: renders
Software/Application/Lumirail Studio/src/App.tsx - App shell and routes → Gateway dashboard: routes to
Software/Application/Lumirail Studio/src/App.tsx - App shell and routes → Scene generation: generates frames
Software/Application/Lumirail Studio/src/App.tsx - App shell and routes → LFP encoding: encodes scene
Software/Application/Lumirail Studio/src/App.tsx - Scene timeline → Intention editor: opens
Software/Application/Lumirail Studio/src/components/SceneTimeline.tsx - Scene timeline → Intention definitions: maps intentions
Software/Application/Lumirail Studio/src/components/SceneTimeline.tsx - Scene timeline → Timeline viewport: converts time
Software/Application/Lumirail Studio/src/components/SceneTimeline.tsx - Scene timeline → Project data provider: reads project state
Software/Application/Lumirail Studio/src/components/SceneTimeline.tsx - Gateway dashboard → Serial connection: subscribes telemetry
Software/Application/Lumirail Studio/src/pages/GatewayPage.tsx - Gateway dashboard → Gateway telemetry: formats readings
Software/Application/Lumirail Studio/src/pages/GatewayPage.tsx - Serial connection → LFP transport: uses transport
Software/Application/Lumirail Studio/src/serial/serialConnection.ts - Serial connection → Gateway telemetry: uses telemetry
Software/Application/Lumirail Studio/src/serial/serialConnection.ts - Electron main process → Electron serial bridge: loads bridge
Software/Application/Lumirail Studio/electron/main.mjs - App shell and routes → Project data provider: provides data
Software/Application/Lumirail Studio/src/App.tsx - Project data provider → Project persistence: loads and saves
- Project persistence → Storage adapters: uses adapters
Software/Application/Lumirail Studio/src/data/persistence.ts - Gateway dashboard → Lumirail gateway: monitors gateway
Software/Application/Lumirail Studio/src/pages/GatewayPage.tsx - Serial connection → Lumirail gateway: communicates with
- API Bridge server → Driver wrapper: calls wrapper
Software/Application/API-Bridge/src/server.py - Studio user → Authentication: signs in