YouTube is still one of the major points of centralization on the internet, so I’ve been brainstorming ways around the problem.
From the readme:
Torrent-Tube is a set of tools to help decentralize YouTube videos, by moving them to torrents, which can be shared by many people. It includes:
- A Torrent-Tube search site which searches the Torrents-csv search engine to see if the given YouTube video already exists, and is being seeded.
- It does this by extracting the YouTube [VIDEO_ID] from a link, which you can also do manually if you like (IE, the text after
watch?v=...).
- It does this by extracting the YouTube [VIDEO_ID] from a link, which you can also do manually if you like (IE, the text after
- A script to download, and create torrent files from YouTube videos, with a uniform naming style and format, taken from TheFrenchGhosty’s YouTube-DL-Scripts.
- You will need to upload these torrent files yourself to a service (details below), and seed them.
In the future, it may be possible to create a browser plugin that checks a video link that you’re currently watching for existing torrents.
Create torrent script
Requirements
Instructions
Copy a YouTube video URL.
# Clone this repo
git clone https://github.com/dessalines/torrent-tube
# Run the script
./create_torrent.sh [YOUTUBE_URL]
The video will download, and is saved in the videos folder. The torrent file is saved in the torrents folder.
Add the torrent to your torrent app, such as qbittorrent.
For a moment I thought this would be a streaming app that allows people to watch videos by downloading from a swarm. I think a P2P video backend would be the only viable way to build a collective YouTube alternative. PeerTube is great but it still requires spending the video hosting costs.
There are already-created, user-friendly streaming apps that can use torrents, like stremio, or popcorntime. The layer that’s missing, that I’m trying to solve, is how to get people to convert youtube videos into torrents.
The user interface side of it is already handled well by lemmy communities IMO, which has a lot of apps, with which ppl can post torrent links as the post URL.
Yeah, and that’s needed too. We’re doing private backups with yt-dlp and its various front-ends but that would only work for as long as YouTube allows relatively unrestricted access. Would be great to have a torrent catalogue of the valuable YouTube content.
True, that’s a scary thing that youtube could eventually shut down all of yt-dlp’s methods. This project is built on top of it, like pretty much every other archiving project.
I’d still really like to see people creating and seeding torrents from their favorite channels like I’m doing. If a video even has 2 seeders, we’re already doing better than youtube.


