Skip to content

sam-morin/DownTheTube-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logo

DownTheTube | Docker Compose

A simple YouTube download web GUI | Frontend Repo | Backend Repo

Report Bug · Request Feature . Build


A basic YouTube viderooo downloader web GUI that runs in a docker container

Background:

There aren't really any self-hosted YouTube video downloader web applications that I was able to find on Github. I only searched for a few minutes though, so I'm sure there are some out there, maybe.

Objectives:

  • Query: Query a video via a YouTube URL and return information about the video.
  • Download: Download a video to either the server or the server and the browser. Allow choosing the quality.

Implemented:

  • Query: Query a video via a YouTube URL and return information about the video.
  • Download: Download a video to either the server or the server and the browser. Allows for choosing the quality. None of the available stream resolutions were progressive except for 360p. Bummer.
    1. Download video stream at the requested resolution
    2. Download the highest quality audio stream
    3. Stitch these friends together using ffmpeg
    4. Leave the video on the server in the ./DownTheTube-backend-python/downloaded-videos folder
    5. Pass it back to the browser if requested

Running

Production

1. Clone the source and CD

Clone the docker compose repo

git clone https://github.com/sam-morin/DownTheTube-docker-compose.git && cd DownTheTube-docker-compose

Clone the frontend and backend

git clone https://github.com/sam-morin/DownTheTube.git && git clone https://github.com/sam-morin/DownTheTube-backend-python.git

2. Modify IP/port

IMPORTANT! - Be sure to set your server IP to access on other devices in your network

If you plan to access DownTheTube from any other machine on your network you must set the server IP!

Modify the variable in ./DownTheTube/.env to reflect the IP of the machine that this all will be running on:

VITE_BACKEND_URL=http://localhost:5001
# Change this to the IP of your server! Leave :5001

Changing the web GUI port

Modify this part in ./docker-compose.yml file:

...
  frontend:
    build: ./DownTheTube
    ports:
      - "8001:80"
...

Replace 8001 with the port you'd like to run it on

(but leave port 80 on the right side of the colon, and don't modify the backend ports)

3. Build and run frontend and backend

docker compose up -d

4. Access the web portal

Unless you changed it, the web GUI will run on http://localhost:8001

About

A simple YouTube video download web GUI - Docker Compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors