Guerilla Open Tube is a distributed, censorship-resistant cache of YouTube.
Install youtube-dl: http://rg3.github.io/youtube-dl/
Type this in the command line. It will download the video given by the URL:
youtube-dl <video url>
Publish a torrent of the downloaded video file, be the first seeder, and grab the magnet link
Fork this repository
Add the video's magnet link as the first line in a text file named with the video's ID (the last part in the downloaded video's filename; a file ending in
-vXr-2hwTk58.mp4 has an ID of
vXr-2hwTk58, and would have as filename
vXr-2hwTk58.txt) in the
/video-ids directory (the other lines in the text file can be used for commentary or metadataformats for this can emerge organically)
Send a pull request
Find other repositories, merge in stuff from other people, download & keep seeding
Teach 2 other people how to do this
Voil! We have a distributed, censorship-resistant cache of YouTube! \o/
brew install ffmpeg brew install atomicparsley brew install youtube-dl
youtube-dl --embed-subs --all-subs --add-metadata --write-description --write-info-json --write-annotations --write-thumbnail --embed-thumbnail --xattrs --write-auto-sub --restrict-filenames --prefer-free-formats -i <video url>
Bash alias (shorthand command):
Add this line to your
alias yd='youtube-dl --embed-subs --all-subs --add-metadata --write-description --write-info-json --write-annotations --write-thumbnail --embed-thumbnail --xattrs --write-auto-sub --restrict-filenames --prefer-free-formats -i'
source ~/.bash_profile, then, to download a movie, simply use:
yd <video url>
The first thing we need to do is automate the boring parts. Ideally, we would have a single command that, given a video URL (example:
Further down the road, we could make an (atom-shell -based?) app that works as an advanced front-end to YouTube (like a site-specific browser extension).
It could load everything on YouTube.com like a normal web browser would as you're clicking around.
But when you told it to play a video, the app could ask you if you want to download the video from your peers, or directly from YouTube (or both).
In case the video is not in your metadata repository (i.e. your fork of
obvio171/guerilla-open-tube), it would ask if you want to download it and upload it to the cache.
Caches are protected under the DMCA: http://digital-law-online.info/lpdi1.0/treatise36.html
Furthermore, this repository does not store itself any copyrighted content.
I am not a lawyer, use or contribute at your own risk, but please do.