Installation, operations, and mobile sharing guides for youtube-dl-nas
Mobile sharing sends a URL directly from your phone to the youtube-dl-nas instance running on your NAS. GitHub Pages only hosts this guide and the import files; it never receives your NAS address, ID, password, token, or shared URL.
youtube-dl-nas address in Chrome.The installed PWA receives the shared URL. In dashboard Options, choose Best, Compatible MP4, 1080p, 720p, MP3, M4A, Opus, or Ask every time as this device’s mobile share default. Ask mode opens the composer with the URL filled in; the other profiles queue it immediately. If your login expired, sign in and the same flow continues without exposing the shared URL in the redirect.
Playlist and channel shares always open the composer so Playlist Guard can require an explicit First 10 or All items scope.
Use the open-source HTTP Shortcuts app because Android cannot install a local HTTP site as a PWA.
http://192.168.0.20:8080 and best.The REST API token is optional. The default template uses the same ID and password as the dashboard.
The shortcut accepts Best, Compatible MP4, 1080p, 720p, MP3, M4A, or Opus as a saved default. It checks both the Android share title and text. If the device omits the URL from that data, it opens a URL input as a fallback. Incomplete configuration stops before any network request is made.
The signed Smart Share v2 Shortcut uses the normal dashboard ID and password. Download Download to NAS.shortcut and open it in Shortcuts.
http://192.168.0.20:8080.best, compatible-mp4, 1080p, 720p, audio-mp3, audio-m4a, audio-opus, or ask as the default profile.Routine shares use the saved profile without another prompt. ask opens a compact profile menu. Pure playlists and channels ask for First 10 or All items, and YouTube links with a timestamp ask whether to download the full video or start from that position. Running the Shortcut manually opens a URL field when no Share Sheet input exists.
The Shortcut first asks your NAS to inspect the shared text, then sends the resolved request directly to the NAS:
{
"url": "First URL in Shortcut Input",
"resolution": "best",
"playlist_mode": "single",
"section_mode": "full",
"id": "YOUR_ID",
"pw": "YOUR_PASSWORD",
"client": "ios-shortcut",
"client_version": "2.1"
}
The result states whether the item was added, was already queued, or already exists on the NAS, and includes its queue position when available. The file is exported for installation by anyone and signed through Apple’s Shortcuts tooling. It contains placeholders only; no real NAS address or credentials are included.
Do not expose the plain HTTP port directly to the internet. Connect through a VPN such as Tailscale, or use an HTTPS reverse proxy on the NAS. Set COOKIE_SECURE=true when the dashboard is served exclusively through HTTPS.