d18ada4ee7
Docker Publish / docker (web, apps/web/Dockerfile, web) (push) Failing after 0s
Docker Publish / docker (api, apps/api/Dockerfile, api) (push) Failing after 1s
Publish Extension / detect-version (push) Has been skipped
Publish Extension / submit (push) Has been cancelled
Resources Directory
This directory contains bundled resources for the application.
yt-dlp Binaries
To bundle yt-dlp with the application, place the appropriate binaries in this directory:
Required Files
- Windows:
yt-dlp.exe - macOS:
yt-dlp_macos - Linux:
yt-dlp_linux
How to Download
You can download the latest yt-dlp binaries from the official GitHub releases:
Option 1: Manual Download
- Visit: https://github.com/yt-dlp/yt-dlp/releases/latest
- Download the appropriate version for each platform:
- Windows:
yt-dlp.exe - macOS:
yt-dlp_macos - Linux:
yt-dlp(rename toyt-dlp_linux)
- Windows:
Option 2: Using curl/wget (Linux/macOS)
# For Windows binary
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe -o resources/yt-dlp.exe
# For macOS binary
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_macos -o resources/yt-dlp_macos
chmod +x resources/yt-dlp_macos
# For Linux binary
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o resources/yt-dlp_linux
chmod +x resources/yt-dlp_linux
Option 3: Using PowerShell (Windows)
# Download all three binaries
Invoke-WebRequest -Uri "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe" -OutFile "resources/yt-dlp.exe"
Invoke-WebRequest -Uri "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_macos" -OutFile "resources/yt-dlp_macos"
Invoke-WebRequest -Uri "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp" -OutFile "resources/yt-dlp_linux"
ffmpeg/ffprobe Binaries
ffmpeg is required for merging audio/video streams and audio extraction. ffprobe is required for post-processing metadata. Bundle both binaries under resources/ffmpeg/.
Required Files
- Windows:
resources/ffmpeg/ffmpeg.exeandresources/ffmpeg/ffprobe.exe - macOS:
resources/ffmpeg/ffmpegandresources/ffmpeg/ffprobe - Linux:
resources/ffmpeg/ffmpegandresources/ffmpeg/ffprobe
How to Download
- Windows / Linux: Grab static builds from https://ffmpeg.org/download.html (or https://github.com/yt-dlp/FFmpeg-Builds/releases) and copy
ffmpegandffprobeintoresources/ffmpeg/. - macOS: Download the
ffmpeg-*.zipasset from https://github.com/eko5624/mpv-mac/releases/latest, then copyffmpegandffprobefrom the archive intoresources/ffmpeg/. - On macOS/Linux ensure both binaries are executable:
chmod +x resources/ffmpeg/ffmpeg resources/ffmpeg/ffprobe.
Note
- Bundled binaries are required for Windows builds. On macOS/Linux the app can also use ffmpeg/ffprobe from the system PATH.
- You can override the lookup path via
FFMPEG_PATH. It must point to a directory containing bothffmpegandffprobe. - File sizes: ~40-80 MB per ffmpeg build (ffmpeg + ffprobe)
JS Runtime (Deno)
yt-dlp uses an external JS runtime (Deno by default) for some extractors. Bundle a Deno binary so the app can run without system dependencies.
Required Files
- Windows:
deno.exe - macOS:
deno - Linux:
deno
How to Download
- Visit: https://github.com/denoland/deno/releases/latest
- Download the matching platform archive and extract the
deno(ordeno.exe) binary intoresources/. - On macOS/Linux ensure the file is executable:
chmod +x resources/deno
Note
- You can override the runtime path via
YTDLP_JS_RUNTIME_PATHif needed.