A simple torrent streamer written in python.
A simple torrent streamer written in Python 3.
TorrFlix uses Webtorrent-CLI as stream handler. For that we need to setup nodejs and npm.
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
This should install node.js and npm on your PC
Quickly check the installed version through this command. If this gave you an error you have to figure out how to install npm on your pc. Do a quick google search for a solution.
nodejs -v
We're all set to install webtorrent-cli now.
sudo npm install webtorrent-cli -g
Make sure you have Python3 and pip installed on your pc, if not run this:
sudo apt-get install python3-pip
Install all requirements at once using the command:
pip3 install -r requirements.txt
TorrFlix suggests VLC for streaming. Make sure it is installed in your PC. Read install instructions here
Let's start the script now! Run the script using the command
python3 play.py
Don't forget to star the repo if you like the work :)
All rights reserved.