Flowgrab
Cross-platform desktop media application.
A cross-platform desktop media application combining a native Rust backend with a modern web interface.
Core Decisions
Why Tauri and Rust?
Traditional desktop media utilities often rely on heavy frameworks that consume hundreds of megabytes of memory simply to display an input field and a progress list.
Why Tauri?
Tauri utilizes the operating system's native webview instead of bundling an entire browser engine. This significantly reduces application size and keeps resident memory minimal.
Why Rust?
Rust handles process spawning, stream parsing, and asynchronous worker tasks with memory safety and zero runtime overhead.
Technical Architecture
Frontend & Backend Boundary
Clean separation of responsibilities between the user interface and native process tasks:
Next.js UI & TypeScript
Secure bridge & events
Tokio async process runtime
yt-dlp & FFmpeg engine
Local disk storage
Frontend & Backend Boundary
The interface is built with Next.js and TypeScript, communicating with the Rust backend through Tauri IPC commands and typed event streams.
Media Processing Queue & Engine
Manages simultaneous and sequential tasks in an asynchronous queue, updating progress, speed, and status without UI freezes.
Process Management
Supervises underlying CLI tools with proper child process termination, ensuring canceled jobs do not leave lingering background processes.
Metadata Handling
Parses audio and video metadata cleanly, automatically tagging titles, artist names, and cover art into final media containers.
Desktop Integration
Supports native OS file dialogs, direct "Show in folder" navigation, and persistent user configuration across restarts.
Browser & Deep-Link Integration
Supports native flowgrab:// deep links and browser bookmarklet shortcuts for one-click URL forwarding.