Simple Torrent Streaming in Linux

By | January 26, 2015

This is a solution how to enable single-click Torrent streaming (view without download) in Linux.

First, install Node.js and Peerflix:


sudo add-apt-repository -y ppa:chris-lea/node.js

sudo apt-get update

sudo apt-get install -y nodejs

sudo npm install -g peerflix

 

Then, create a helper script, let’s call it ~/stream.sh:


#!/bin/bash
peerflix $1 --vlc

 

Add executable permission:


chmod +x ~/stream.sh

 

Right-click a .torrent file in a file browser. Do Open With and choose the stream.sh script. Next time, the option will be available in the context menu

Leave a Reply

Your email address will not be published.