Ground control station for drone operators
- Result
- Released for macOS, Windows and Linux through an automated pipeline with auto-update.
- My role
- Electron Developer, CI/CD owner
- Team
- 7 developers
- Platforms
- Desktop
Client name left out
A desktop console for drone operators that shows what field hardware reports in real time: positions on a map, telemetry and live video. The team built it on Electron, talking to hardware over serial ports, UDP and MAVLink. I owned the releases and auto-update, built the Settings app and the emulator configuration, and shipped stream recording, logging and developer mode.
The problem
Drone operators need one desktop console that shows what the connected hardware reports, as it happens. It has to run on macOS, Windows and Linux, talk to real devices over serial ports and UDP, stay testable at a desk without hardware, and update itself in the field.
What we built
- A cross-platform desktop console on Electron 33, React 18, TypeScript and Vite, with two renderer apps: the main operator screen and a separate Settings app.
- A hardware layer in the main process: device services for serial ports, UDP and MAVLink (node-mavlink with generated dialect mappings), connection presets per environment and health checks for every device and video link.
- A live map on Leaflet: current positions, track history, polylines with direction arrows, route waypoints, UTM coordinates and real-time tooltips.
- Video streaming: RTSP streams relayed through a bundled ffmpeg into HLS, MPEG-DASH or JSMpeg over WebSocket, with recordings written to disk.
- A simulation emulator that spawns simulated drones from presets with speed, altitude, angles and 3D random movement, play/pause and expiry timers, so the whole console can be exercised with no hardware.
- Configuration and logging: a typed system config with real-time updates and restart-required fields, hotkeys, file logs per session, packet and console loggers, and a developer mode.
- A release pipeline: every push to develop bumps the version and opens an auto-approved pull request to staging; a push to production builds macOS (universal), Windows (NSIS) and Linux (AppImage) in parallel, publishes a GitHub Release with blockmaps and notifies Slack. The app updates itself through electron-updater.
My part
- Owned CI/CD end to end: the develop → staging → production flow, the automatic version bump and PR, the three-OS release matrix, artifact naming per environment, GitHub Release uploads and Slack notifications.
- Built the auto-update: a private GitHub Releases feed with a token delivered through the build-time config, update channels per environment, and a clean-up of user data on install so a new version starts from a known state.
- Created the Settings app: a second Vite renderer with pages for environment, system config, emulator config and logs; forms on react-hook-form and zod, tooltips, confirmation dialogs, error boundaries and a "requires restart" flow.
- Built the emulator configuration: ID-based target presets, session targets, custom angle and coordinate inputs, running a preset without restarting the app, play/pause and completion states.
- Shipped stream recording with metadata, error handling in the UI, tuned RTSP start-up timing, and deletion of old recordings when disk space runs low.
- Logging and developer mode: the file log service with per-session filtering, outgoing command logs, a DevTools toggle, and DevTools disabled in production builds.
- Smaller pieces: hotkeys, connection-type UI, full state reset on logout, automatic migration of stored data between versions.
The core streaming pipeline, the device protocols and the base movement emulator were built by teammates; my work sat on top of them.
Result
- Every push to develop produced a versioned build, and production releases went to all three operating systems through the pipeline, with auto-update for installed copies.
Tech stack
- Desktop
- Electron 33
- electron-builder 26
- electron-updater
- electron-store
- electron-log
- Worker threads pool
- UI
- React 18
- TypeScript
- Vite 6 (two renderer apps)
- Tailwind CSS
- shadcn/ui (Radix)
- React Router
- react-hook-form + zod
- Zustand
- Immer
- Hardware & protocols
- serialport
- UDP sockets
- MAVLink (node-mavlink)
- Generated MAVLink dialect mappings
- Maps
- Leaflet
- react-leaflet
- Track history and polylines
- UTM coordinates
- Route waypoints
- Video
- ffmpeg (fluent-ffmpeg, ffmpeg-static)
- RTSP relay
- HLS (hls.js)
- MPEG-DASH (dash.js)
- JSMpeg over WebSocket
- Recordings with metadata
- Releases
- GitHub Actions
- Auto version bump + PR to staging
- 3-OS release matrix
- GitHub Releases with blockmaps
- Slack notifications
Shipping a desktop app? Tell me where the release is stuck.
Pick a 30-minute slot to talk about signing, notarization, installers or auto-update, or send a few sentences by email.
Related work
- E-commerce / Marketplace
- Healthcare / MedTech
iOS and Android shopping apps for a pharmacy chain
Go to Checkout went from 20 s to 3 s and the homepage from 7.7 s to 3.7 s, measured by QA.
- Mobile
- Performance
- Payments
- CI/CD
- Release / stores
- Education
Offline-first platform for Irish schools
Desktop builds for direct download, the Microsoft Store and the Mac App Store come out of one pipeline.
- Desktop
- Web
- Offline
- Release / stores
- CI/CD