What I set out to build.
OrbitSlide is a Windows desktop display player built with Electron, React, and TypeScript. It rotates configured websites for dashboard wallboards and kiosk-style displays, while keeping slide configuration in a local SQLite database. Each slide carries its URL, timing, order, active state, and session profile, allowing the player to coordinate several sites without treating them as one shared browser session.
The problem
A display that cycles through several dashboards needs more than a timer. Sites may require different accounts, an operator may need to interact with a page, and a slow or failed navigation needs a visible state. The application also needs to distinguish a deliberate pause from a temporary pause caused by interaction, otherwise rotation can resume at the wrong moment.
The approach
Electron’s main process owns the database, scheduler, persistent session partitions, and WebContentsView instances. A preload IPC bridge exposes player actions to the React interface. The scheduler tracks the current slide and pause states, while the view manager handles loaded website content separately from the application controls. Settings and slide records are persisted through sql.js.
What it does
- Create, edit, enable, disable, and reorder website slides with configurable durations.
- Persistent session profiles for keeping the cookies and sign-in context assigned to a site.
- Automatic rotation, previous/next navigation, direct slide selection, and manual play/pause.
- Interaction-based pausing with an idle timeout, distinct from an explicit user pause.
- Runtime loading, ready, error, and crashed states, with active-slide reload controls.
- Fullscreen controls, keyboard shortcuts, Indonesian/English UI, themes, and local standby wallpaper management.
Loaded websites still need their own network access and authentication. Persistent sessions do not bypass session expiry, SSO, or MFA.
How it works.
From slide configuration to playback
The operator saves a website with its URL, duration, ordering, and session profile. Starting rotation gives the scheduler the active slides, and the view manager displays each site in its assigned browser context. Player controls and scheduler events update the React interface through the preload bridge.
Separating the player from the websites
Application controls run in the React renderer, while loaded sites use Electron WebContentsView instances managed by the main process. This separates player state from website navigation and lets the application manage session partitions, popup state, reload behavior, and per-slide runtime status.
Persistent profiles preserve site cookies, but websites still control authentication expiry, SSO, and MFA. The player cannot guarantee that every dashboard remains signed in indefinitely.
Interaction and local state
The scheduler records manual and interaction-based pauses separately. An idle timeout can resume an interaction pause, while an explicit user pause requires a resume action. Shortcuts also account for whether focus is in the player or inside a website.
Slide records and application settings are stored locally in orbitslide.db through sql.js. Website cookies live in Electron session storage rather than in the slide table. Loaded pages still depend on their own servers and network connections.
What each layer does.
Interface
- React and TypeScript for player controls and settings
- Tailwind CSS for interface styling
- Typed preload IPC bridge for application actions
Desktop runtime
- Electron main process and WebContentsView management
- sql.js SQLite persistence for slides and settings
- Persistent Electron session partitions for website cookies
- Vite and electron-builder for builds and packaging
Data structure.
The local SQLite database stores slide configuration and application preferences. Website cookies and authentication state belong to Electron session partitions.
websites11 fields
idnameurldurationsort_orderis_activekeep_alivereload_intervalsession_profilecreated_atupdated_at
settings2 fields
keyvalue
