cross-posted from: https://lemmy.ml/post/49015971
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=...).- 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
videosfolder. The torrent file is saved in thetorrentsfolder.Add the torrent to your torrent app, such as qbittorrent.



Could one integrate this with apps like NextTube or PipePipe? I.e., When I search for a video on those apps, they search the torrent index first, then search Frama Tube / PeerTube second, then search YouTube-proper last. While I’m streaming a video from any of these sources, I am then also downloading and seeding it to the torrent network and I keep seeding the last videos I watched on a rolling basis until an allocated memory space on my disk is full and the oldest or least requested video in that local buffer is deleted to make space for new; while I’m on Wifi to save mobile data? I think providing such seamless integration is the best way to get this space densely populated enough to be useful.
I like your logic here. Torrent index -> alternative platforms -> YT proper.
Assuming the torrent index becomes decentralized, there are really two categories where it makes sense to build this in:
The YouTube frontends, as you mention
The self-hosted downloaders that already exist, like Tube Archivist
I think the second category is where you get all the seeding traction. Sure, it would be great if the Android frontends also participate, but there are thousands of NAS devices that are already downloading YouTube videos for a single user. If there was an addon that allowed all of these users to share content automatically, I think there would be a lot of buy in / seeding.
Yes, this could potentially be used in youtube front-ends. IE show the magnet link of a given video if it exists, so that it could be torrented.