How stremio/stremio-service works
Stremio Service is a desktop companion that starts the Stremio server runtime, exposes tray and protocol-link controls, and checks for application updates. The principal workflow is CLI startup → configuration → optional update → server launch → tray-driven operation. The graph also includes update delivery and bundled runtime tools. Some application and updater source was excerpted only partially, so unshown internal details and links are omitted.
Main entry points: main.rs CLI entry · app.rs Application lifecycle · updater.rs Update checks · server.rs Server process manager
Components 14
Startup and configuration
- CLI entry
src/main.rs - CLI arguments
src/args.rs - Service configuration
src/config.rs
Desktop controls
- Application lifecycle
src/app.rs - System tray
src/app.rs - Protocol links
src/app.rs
Runtime and updates
- Update checks
src/updater.rs - Server process manager
src/server.rs
Other components
- User
- Stremio Web
- Update service
- Platform installer
- Stremio server runtime
resources/bin - FFmpeg tools
resources/bin
Connections 18
- User → CLI entry: starts
README.md - CLI entry → CLI arguments: parses
src/main.rs - CLI entry → Service configuration: builds
src/main.rs - CLI entry → Application lifecycle: runs
src/main.rs - CLI arguments → Service configuration: configures
src/config.rs - Service configuration → Server process manager: configures
src/config.rs - Application lifecycle → Update checks: checks updates
src/app.rs - Application lifecycle → Server process manager: starts
src/app.rs - Application lifecycle → System tray: creates
src/app.rs - User → System tray: selects actions
- System tray → Stremio Web: opens
- User → Protocol links: provides link
- Protocol links → Stremio Web: opens
src/app.rs - Update checks → Update service: requests updates
src/updater.rs - Update service → Update checks: returns descriptor
src/updater.rs - Update checks → Platform installer: downloads and launches
src/updater.rs - Server process manager → Stremio server runtime: launches
src/server.rs - Server process manager → FFmpeg tools: sets binary paths
src/server.rs