Skip to main content

A self-hosted web dashboard to search, play, and download video or audio from hundreds of sites using yt-dlp.

Project description

TubeZ Logo

TubeZ

A powerful, self-hosted web dashboard to search, play, and download video or audio from hundreds of sites using yt-dlp.

PyPI License

TubeZ Demo GIF


Table of Contents


✨ Features in Depth

  • Modern & Responsive UI: Clean, beautiful, and mobile-friendly interface built with Bootstrap. It includes a dark mode theme and a fully responsive layout that works on any device.

  • Universal Support:

    • YouTube Search: Find any video on YouTube directly from the app.
    • Direct URL Support: Paste a video, playlist, or channel URL from hundreds of websites supported by yt-dlp.
  • Direct Streaming: Why wait? Play videos and audio directly in your browser with a multi-stage loading animation that provides clear feedback. It intelligently handles sites that don't support direct streaming.

  • Advanced Downloads:

    • Format Selection: Choose the exact video quality, audio quality, or file format you need.
    • Playlist & Channel Downloading: Paste a playlist or channel URL, select the videos you want, and download them all in one go.
    • One-Click Audio: A dedicated "Get Audio" button streamlines downloading music and podcasts.
    • Subtitle Support: Automatically fetches available subtitle languages and allows you to embed them directly into your downloaded video file.
  • Robust Download Management:

    • Background Queue: Add multiple items to a download queue that processes sequentially in the background, so you can keep browsing.
    • Live Progress: The UI dynamically updates to show real-time download progress, speed, and ETA without needing a page refresh.
    • File Management: View, download, and delete your completed files directly from the web interface.
  • Secure & Maintainable:

    • Self-Hosted: You control your data. Run it on your own machine, home server, or in the cloud.
    • Password Protection: An optional password can be set to protect access to the dashboard.
    • Auto-Update Notifications: The app automatically checks for new versions on PyPI and will prompt for an update, ensuring you're always on the latest stable release.

🛠️ Technology Stack

  • Backend: Python with Flask
  • Core Engine: yt-dlp for all media downloading and metadata extraction.
  • Frontend: Bootstrap 5, HTML5, CSS3, and modern JavaScript (no framework).
  • WSGI Server: Waitress for a lightweight production-ready server.
  • Packaging: PyPI for distribution and GitHub Actions for automated publishing.

🚀 Installation

Make sure you have Python 3.8+ and ffmpeg installed on your system.

On Linux (Debian/Ubuntu)

sudo apt update && sudo apt install python3 python3-pip ffmpeg -y

On Termux (Android)

pkg update && pkg install python ffmpeg -y

Install with pip (Recommended)

(Note: You may need to use pip3 instead of pip on some systems).


▶️ How to Run

After a successful installation, you can start the web server from anywhere in your terminal.

  1. Install using pip:

    pip install TubeZ
    
  2. Start the Server:

    tubez
    
  3. Open the Web Dashboard: Open your web browser and go to: http://127.0.0.1:8089

  4. Find Your Files: Your downloaded videos and audio will be saved in a folder named TubeZ inside your main Downloads directory. This can be changed in the Settings page.

Running in Debug Mode

To see detailed logs and enable auto-reloading for development, run:

tubez --debug

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tubez-1.0.4.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tubez-1.0.4-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

Details for the file tubez-1.0.4.tar.gz.

File metadata

  • Download URL: tubez-1.0.4.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for tubez-1.0.4.tar.gz
Algorithm Hash digest
SHA256 8a55d30f2dff3a2df55a3897538e17507dbdea5de47a6f3357afcb10e2579ed5
MD5 46953652a28470e710ae80ac8619fe79
BLAKE2b-256 4c34cd2912509366744338f6a1972f3ad7e1c28024ee34f976040a92f367ab65

See more details on using hashes here.

File details

Details for the file tubez-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: tubez-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for tubez-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 72f55c3d3f9f4bc73dcc2c31933b9c1ea5ffa6c6a9e7a46f818c230eed507326
MD5 ed8a115d6622e41a4559d8bc3358251b
BLAKE2b-256 e0126fb47928866ee5eec3bce53c9a71b778c1d5b17d1fddcf192efd8b16fac7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page