How to Install YT-Web-UI on Your Synology NAS

How to Install YT-Web-UI on Your Synology NAS

With YT-Web-UI you can watch or download videos/audios from different sources/servers and save them on your NAS. You can easily download videos/audios from more than 300 websites, with low impact on NAS resources. In this step by step guide I will show you how to install YT-Web-UI on your Synology NAS using Docker and Portainer.

💡Note: This guide works perfectly with the latest YT-Web-UI v3.2.3 release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Text Editor via Synology “Package Center”. (Mandatory STEP.) If you already have Text Editor installed on your Synology NAS, skip this STEP.

Synology Install Text Editor 2023

  • STEP 3

Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.

  • STEP 4

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it ytwebui. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

YT-Web-UI Synology NAS Set up 1

  • STEP 5

Now create two new folders inside the ytwebui folder that you created at STEP 4 and name them config and downloads. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

YT-Web-UI Synology NAS Set up 2

  • STEP 6

Download (click on the blue link below) and upload the config.yml file below in the config folder that you have previously created at STEP 5. Follow the instructions in the image below. 🔒Note: Support my work to unlock the password. You can use this password to download any file on mariushosting forever!

👉🏻config.yml

YT-Web-UI Synology NAS Set up 3

  • STEP 7

  • Open the config.yml file that you have previously uploaded at STEP 6. Follow the instructions in the image below.
  • Type in your own username. marius is an example for a username.
  • Type in your own password. mariushosting is an example for a password.
  • Save the file.

YT-Web-UI Synology NAS Set up 4

  • STEP 8

Log into Portainer using your username and password. On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.

1 Synology Portainer Add Stack

  • STEP 9

In the Name field type in ytwebui. Follow the instructions in the image below.

Note: Copy Paste the code below in the Portainer Stacks Web editor.

services:
  yt-dlp-web-ui:
    container_name: YT-Web-UI
    image: marcobaobao/yt-dlp-webui
    healthcheck:
      test: ["CMD-SHELL", "nc -z 127.0.0.1 3033 || exit 1"]
      interval: 10s
      timeout: 5s
      retries: 3
      start_period: 90s
    environment:
     JWT_SECRET: dOxZYTTZgXKMHkqLBIQVImayQXAVWdzGBPuFJKggzcgvgPJPXpWzqzKaUOIOGGIr
    volumes:
      - /volume1/docker/ytwebui/downloads:/downloads:rw
      - /volume1/docker/ytwebui/config:/config:rw
    ports:
      - 3033:3033
    restart: on-failure:5 

Note: Before you paste the code above in the Web editor area below, change the value for JWT_SECRET. (Generate your own Random 64 length JWT_SECRET.)

YT-Web-UI Synology NAS Set up 5

  • STEP 10

Scroll down on the page until you see a button named Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.

YT-Web-UI Synology NAS Set up 6

  • STEP 11

If everything goes right, you will see the following message at the top right of your screen: “Success Stack successfully deployed“.

YT-Web-UI Synology NAS Set up 7

  • STEP 12

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:3033/#/login Type in your own Username and your own Password that you have previously added at STEP 7, then click SUBMIT. Follow the instructions in the image below.

YT-Web-UI Synology NAS Set up 8A

  • STEP 13

On the left sidebar, change the theme to Dark. Click the home icon. Click the +icon. Follow the instructions in the image below.

YT-Web-UI Synology NAS Set up 8B

  • STEP 14

In the VIDEO URL area, type in the URL link of the video that you want to download. Click START. Follow the instructions in the image below.

YT-Web-UI Synology NAS Set up 9

  • STEP 15

Your downloaded video at a glance!

YT-Web-UI Synology NAS Set up 10

Enjoy YT-Web-UI!

🆘TROUBLESHOOTING

If you encounter issues by using this container, make sure to check out the Common Docker issues article.

Note: If you want to run the YT-Web-UI container over HTTPS, check How to Run Docker Containers Over HTTPS. In order to make YT-Web-UI work via HTTPS, it’s mandatory to activate WebSocket.

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Find out how to update the YT-Web-UI container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.

This post was updated on Sunday / January 5th, 2025 at 11:12 PM