How giantpinkrobots/varia works
Varia is a desktop download manager whose main workflow accepts downloads, hands them to aria2 or yt-dlp, and tracks their progress in the GTK interface. Torrent selection, scheduling, preferences, notifications, tray controls, update handling, and browser integration are additional product capabilities. The graph uses README statements and the shown excerpts/SOURCE INDEX for relationships; where extension wiring or unsampled subsystem details are not evidenced, it avoids claiming specific connections.
Main entry points: variamain.py Application runtime · thread.py Download execution · listen.py Download listener · preferences.py Preferences UI
Components 21
Desktop app
- Application runtime
src/variamain.py - Download entry
src/window/sidebar.py - Preferences UI
src/window/preferences.py - Main content
src/window/content.py
Download workflow
- Download listener
src/download/listen.py - Download rows
src/download/actionrow.py - Download execution
src/download/thread.py - Torrent selection
src/download/torrent_select_files.py - Video and audio
src/download/videos.py - Download details
src/download/details.py - Download scheduler
src/download/scheduler.py - Download management
src/download/manage_downloads.py
App services
- Local instance server
src/server.py - System tray
src/tray/start_tray_process.py - Notifications
src/notification_handler.py - Update handling
src/window/updater.py - Localization
src/stringstorage.py
External integrations
- aria2 integration
src/download/aria2_instance.py - Browser extension
browser_extension/background.js - yt-dlp
Other components
- User
Connections 26
- User → Download entry: starts downloads
src/window/sidebar.py - Download entry → Download execution: starts download
- Application runtime → Download entry: initializes
src/variamain.py - Application runtime → Download listener: starts listener
src/variamain.py - Application runtime → aria2 integration: initializes
src/variamain.py - Download listener → Download rows: creates rows
src/download/listen.py - Download listener → Download execution: starts thread
src/download/listen.py - Download listener → Video and audio: routes video
src/download/listen.py - Download rows → Download execution: retries with
src/download/actionrow.py - Download rows → Download details: opens details
src/download/actionrow.py - Download execution → Torrent selection: uses selection
src/download/thread.py - Video and audio → Download execution: creates download
src/download/videos.py - Download execution → aria2 integration: submits URIs
- Download execution → yt-dlp: downloads media
README.md - User → Preferences UI: configures
- Preferences UI → Download scheduler: edits schedule
src/window/preferences.py - Application runtime → Download scheduler: initializes
src/variamain.py - Application runtime → Download management: initializes
src/variamain.py - Application runtime → Local instance server: initializes
src/variamain.py - Local instance server → Application runtime: adds downloads
src/server.py - Application runtime → System tray: starts tray
src/variamain.py - Application runtime → Notifications: shows notifications
src/variamain.py - Application runtime → Update handling: uses updater
src/variamain.py - Preferences UI → Update handling: configures updates
src/window/preferences.py - Browser extension → Application runtime: submits downloads
- User → Browser extension: sends media link