How aidv/super_ytdl works
Super YTDL is a browser-based YouTube audio downloader. Users add video URLs, optionally validate them, monitor queue progress, and choose an output directory; the backend downloads audio, converts it to MP3, and saves queue state. The graph includes the documented UI/backend framework and the README’s multi-URL capability. Several action implementations are unsampled, so their links to the queue manager are marked unverified rather than asserted as observed calls.
Main entry points: queue_manager.js Queue manager · sk_ui_navbar.js Action navbar · sk_ui_queue_list.js Queue display · app.js App bootstrap
Components 21
Application runtime
- App bootstrap
app.js - Superkraft engine
- Localization
modules/l10n/l10n.js
Browser interface
- Index view
sk_project/views/index/main.js - View assembly
sk_project/views/index/frontend/view.js - Action navbar
sk_project/views/index/frontend/sk_ui/sk_ui_navbar/sk_ui_navbar.js - Queue display
sk_project/views/index/frontend/sk_ui/sk_ui_queue_list/sk_ui_queue_list.js - Add URLs
sk_project/views/index/actions/addLinksToQueue.js - Validate URL
sk_project/views/index/actions/validateURL.js - Queue statuses
sk_project/views/index/actions/getQueueItemsStatuses.js - Output path
sk_project/views/index/actions/outputPath.js - Retry failed
sk_project/views/index/actions/retryFailedLinks.js - Clear completed
sk_project/views/index/actions/clearCompleted.js - Start ripping
sk_project/views/index/actions/startRipping.js
Queue and downloads
- Queue manager
modules/queue_manager.js - Download and convert
modules/queue_manager.js
Storage and tools
- Queue state file
- Output filesystem
- yt-dlp
- FFmpeg
Other components
- Browser user
Connections 30
- Browser user → Index view: opens
README.md - App bootstrap → Superkraft engine: initializes
app.js - App bootstrap → Queue manager: creates
app.js - App bootstrap → Localization: creates
app.js - App bootstrap → Index view: configures project
app.js - Superkraft engine → Index view: serves
- Index view → View assembly: displays
- View assembly → Action navbar: renders
sk_project/views/index/frontend/view.js - View assembly → Queue display: renders
sk_project/views/index/frontend/view.js - Action navbar → Validate URL: validates URLs
sk_project/views/index/frontend/sk_ui/sk_ui_navbar/sk_ui_navbar.js - Action navbar → Queue display: adds URLs
sk_project/views/index/frontend/sk_ui/sk_ui_navbar/sk_ui_navbar.js - Action navbar → Retry failed: dispatches
sk_project/views/index/frontend/sk_ui/sk_ui_navbar/sk_ui_navbar.js - Action navbar → Clear completed: dispatches
sk_project/views/index/frontend/sk_ui/sk_ui_navbar/sk_ui_navbar.js - Action navbar → Start ripping: dispatches
sk_project/views/index/frontend/sk_ui/sk_ui_navbar/sk_ui_navbar.js - Queue display → Add URLs: submits URLs
sk_project/views/index/frontend/sk_ui/sk_ui_queue_list/sk_ui_queue_list.js - Queue display → Queue statuses: polls statuses
sk_project/views/index/frontend/sk_ui/sk_ui_queue_list/sk_ui_queue_list.js - Queue display → Output path: reads and sets path
sk_project/views/index/frontend/sk_ui/sk_ui_queue_list/sk_ui_queue_list.js - Validate URL → Queue manager: checks URL
sk_project/views/index/actions/validateURL.js - Add URLs → Queue manager: adds links
- Queue statuses → Queue manager: reads statuses
- Output path → Queue manager: configures paths
- Retry failed → Queue manager: resets failures
- Clear completed → Queue manager: clears completed
- Start ripping → Queue manager: starts queue
- Queue manager → Download and convert: starts download
modules/queue_manager.js - Queue manager → Queue state file: loads and saves
modules/queue_manager.js - Queue manager → Output filesystem: creates directories
modules/queue_manager.js - Download and convert → yt-dlp: downloads audio
modules/queue_manager.js - Download and convert → FFmpeg: converts to MP3
modules/queue_manager.js - Download and convert → Output filesystem: writes output
modules/queue_manager.js