Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save SantoshSrinivas79/c1fb4235fff5c2a31f03 to your computer and use it in GitHub Desktop.
Save SantoshSrinivas79/c1fb4235fff5c2a31f03 to your computer and use it in GitHub Desktop.
Downloading Torrents from the Ubuntu command-line

Downloading Torrents from the Ubuntu command-line

This is WIP!

Let us look at the options available to torrent from the ubuntu command line.

I tried out multiple options and my favorite is Transmission - A fast, easy and free BitTorrent Client

Lets say you wan't to download MacTeX - TeX Users Group using the torrent link.

You can search for node modules on npm better using Better search for Node.js modules

Working with Torrents on Ubuntu using NodeJS

sudo apt-get install libfuse-dev
sudo npm install fuse-bindings -g
sudo npm install -g torrent-mount

Run following script in a folder of choice for lazy loading of a torrent on the file system!!

torrent-mount -l "magnet:?xt=urn:btih:3EF219838A5533A616DFFB3ABE8FD79ABE2437C3&dn=billboard+hot+100+singles+chart+27th+jun+2015+aryan+l33t+glodls&tr=u
dp%3A%2F%2Ftracker.publicbt.com%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.com%3A1337"
sudo npm install webtorrent --save

feross/parse-torrent

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment