Application architecture
Freedom Loader is an Electron desktop app, but its interface is not a page that talks directly to every part of the computer. It is split into a visible interface, a narrow bridge, and a background process that owns system-level work. A small Express server serves the interface locally and carries live download updates back to it.
Download lifecycle
A download is more than starting yt-dlp: Freedom Loader first prepares a request, then keeps the interface informed while a separate process works, and finally reports how that process ended. Following one download through those stages explains why the app uses both IPC and live event streams.
Video and playlist information
When Auto Fetch Info is enabled, entering a URL triggers a metadata lookup. This is a preview only: yt-dlp runs in JSON mode and the application does not start a media download as part of this lookup.
Quality and output formats
The main form offers video and audio modes and six quality choices. These are translated into yt-dlp format selectors in the backend.
Metadata and thumbnails
Metadata and thumbnail processing are controlled independently in Settings โ Advanced Settings.
Theme system
Freedom Loader supports bundled themes and custom themes in ZIP or folder form. Themes are loaded and validated by the Electron application, then the current list can be refreshed from Settings without restarting.
Settings and files
Settings are stored as JSON and exposed to the renderer through the Electron preload API. The application starts with bundled defaults, then uses a per-user configuration file in packaged builds. In development, it reads config/config.dev.json, creating that file from the default configuration when needed.