VuIO is designed as a modular, high-concurrency media server built entirely in Rust. It utilizes an asynchronous runtime (Tokio), a fast HTTP layer (Axum), and an embedded SQLite database.
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Web Server │ │ SSDP Service │ │ File Watcher │
│ (Axum/HTTP) │ │ (Discovery) │ │ (Real-time) │
└────────┬────────┘ └────────┬────────┘ └────────┬────────┘
│ │ │
└──────────────────────┼──────────────────────┘
│
┌──────────────────────┴──────────────────────┐
│ Application Core │
│ ┌─────────┐ ┌─────────┐ ┌─────────────┐ │
│ │ Config │ │ Database│ │ Platform │ │
│ │ Manager │ │ (SQLite)│ │ Abstraction │ │
│ └─────────┘ └─────────┘ └─────────────┘ │
└──────────────────────┬──────────────────────┘
│
┌──────────────────────┴──────────────────────┐
│ Platform Layer │
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
│ │ Windows │ │ macOS │ │ Linux │ │
│ └─────────┘ └─────────┘ └─────────┘ │
└─────────────────────────────────────────────┘
- Built on Axum and Tower.
- Serves HTTP Range requests with byte-accurate seeking for large 4K/UHD video and lossless audio.
- Direct static file serving for the bundled Svelte application (
crates/vuio-web). - Supports zero-restart dynamic port and interface binding.
- Implements the UPnP Device Architecture 1.0/2.0 discovery specification.
- Periodically multicasts
ssdp:aliveandssdp:byebyepackets over UDP239.255.255.250:1900. - Concurrent mDNS (Bonjour / DNS-SD) advertiser for zero-configuration discovery on Apple and local devices.
- Cross-platform recursive filesystem notification engine based on
notify. - Debounced event batches to handle mass copying and moving without thrashing disk I/O.
- Automatic metadata extractor parsing ID3, FLAC Vorbis comments, MP4 atoms, and image EXIF data.
- Embedded ACID-compliant SQLite engine with WAL (Write-Ahead Logging) mode.
- Memory-mapped index caching configurable via
database.cache_mb. - Thread-safe SOAP Browse response cache storing pre-rendered XML signatures for instant directory listings on DLNA renderers.
- Async Google Cast (Chromecast) protocol client with
aws-lc-rsTLS (post-quantum key exchange). - DLNA / UPnP AVTransport and RenderingControl client.
- Compatible AirPlay video streaming.
- JSON-RPC 2.0 endpoint implementing MCP version
2026-07-28. - Exposes tools for library exploration, metadata inspection, playlist curation, and remote renderer playback.