I'd like some feedback on a YouTube decentralization project I'm working on: Torrent-Tube

a day ago by Dessalines to c/degoogle

A set of tools to help decentralize youtube videos. - dessalines/torrent-tube

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.

Torrent-Tube Search

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.

load all comments
yogthos 10 points 10 hours ago

That's a really good idea given all the problems with youtube and that they can just take down videos or channels without notice. One thing to explore would be having discovery without necessitating tracker sites. Stuff like dht-spider might be worth a look.

It might also be interesting to take an existing GUI like Freetube and try swapping out the backend with a torrent based one.

path: 0 24384849, hotness: undefined, score: 10, children: 3
dessalines 3 points 10 hours ago

Torrents-csv does use a crawler I believe to add new torrents. torsniff is one of those spiders that works really well.

It might also be interesting to take an existing GUI like Freetube and try swapping out the backend with a torrent based one.

Ya I'm not sure how to handle the UI side of things yet, especially for content discovery.

path: 0 24384849 24384983, hotness: undefined, score: 3, children: 2
yogthos 2 points 7 hours ago

Dream might be a good starting point actually. It's been last updated a year ago, but it does have a solid core for decentralized streaming on top of bittorrent and kademlia DHT. It handles upload, search, and stream videos without central servers.

path: 0 24384849 24384983 24387617, hotness: undefined, score: 2, children: 1
degoogle
degoogle

@lemmy.ml

login for more options
17106
673
2488

A community for those that would like to get away from Google.

Here you may post anything related to DeGoogling, why we should do it or good software alternatives!

Rules

  1. Be respectful even in disagreement

  2. No advertising unless it is very relevent and justified. Do not do this excessively.

  3. No low value posts / memes. We or you need to learn, or discuss something.

Related communities

!privacyguides@lemmy.one !privacy@lemmy.ml !privatelife@lemmy.ml !linuxphones@lemmy.ml !fossdroid@social.fossware.space !fdroid@lemmy.ml

go to feed...