AI Personal Learning
and practical guidance

TubeTube: Self-Deploying YouTube Video Download Tool

General Introduction

TubeTube is an open source YouTube video download tool developed by MattBlackOnly. The tool uses yt-dlp as the core download engine , supports multi-threaded downloads , can quickly download multiple videos at the same time . Users can customize the download location and format via YAML files, supporting both audio and video options. In addition, TubeTube optimizes the experience of using mobile devices and supports the download of multiple live streams. The tool provides Docker Compose configuration, which is convenient for users to quickly deploy and use in different environments.

TubeTube: self-deploying YouTube video download tool-1


 

Function List

  • Multi-threaded download: Support downloading multiple videos at the same time to increase the download speed.
  • Customize location and format: Set the download path and file format via YAML file.
  • Mobile-optimized: designed for use on small-screen devices.
  • Download option: You can choose to download audio or video.
  • Live Video Support: Supports download of multiple live streams.
  • Docker Configuration: Provides Docker Compose configuration files for easy deployment.

 

Using Help

Installation process

  1. Installing Docker: Ensure that Docker is installed on your system. you can install Docker with the following command:
   sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
  1. cloning project: Use git to clone the TubeTube project locally:
   git clone https://github.com/MattBlackOnly/TubeTube.git
cd TubeTube
  1. Creating a Docker Compose file: Create thedocker-compose.ymlfile with the following contents:
   services.
tubetube.
image: ghcr.io/mattblackonly/tubetube:latest
container_name: tubetube
ports: 6543:6543
- 6543:6543
volumes.
- /path/to/general:/data/General
- /path/to/music:/data/Music
- /path/to/podcasts:/data/Podcast
- /path/to/videos:/data/Video
- /path/to/config:/config
- /path/to/temp:/temp
environment.
- PUID=1000
- PGID=1000
restart: unless-stopped
  1. Creating Configuration Files: in/path/to/configdirectory to create thesettings.yamlfile with the following contents:
   General.
audio_ext: m4a
audio_format_id: '140'
video_ext: mp4
video_format_id: '625'
Music: audio_ext: mp3
audio_ext: mp3
audio_format_id: '140'
Podcast.
audio_ext: m4a
audio_format_id: '140'
Podcast: audio_ext: m4a audio_format_id: '140' Podcast.
video_ext: mp4
video_format_id: '625'
  1. Starting services: Start the service by running the following command in the project root directory:
   docker-compose up -d

Usage Process

  1. Accessing the Web Interface: Open in browserhttp://localhost:6543, enter TubeTube's web interface.
  2. Download Video: Enter the YouTube video link in the search bar, select the download option (audio or video) and click the download button.
  3. Manage Downloads: View download progress and manage downloaded video files on the download management page.

Featured Function Operation

  • Multi-threaded downloads: Enable the Multi-threaded download option on the Settings page to set the number of threads for simultaneous downloads.
  • Custom Formatting: insettings.yamlModify the format settings for audio and video in the file to support multiple format choices.
  • Live Video Download: Enter the live video link in the search bar, select the download option, and TubeTube will automatically handle the download of the live stream.
May not be reproduced without permission:Chief AI Sharing Circle " TubeTube: Self-Deploying YouTube Video Download Tool

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish