Git Product home page Git Product logo

torrflix's Introduction

TorrFlix 🎥

A simple torrent streamer written in Python 3.

Tested on Linux 64bit system with Python 3.8.2

How to use

TorrFlix uses Webtorrent-CLI as stream handler. For that we need to setup nodejs and npm.

Windows users can install nodejs from here.

Linux users just fire up the terminal and run these commands.

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.

Linux users run this command.

sudo npm install webtorrent-cli -g

Windows users can open Command Prompt and run these commands there. Don't forget to remove 'sudo' at the starting of the command.

Make sure you have Python3 and pip installed on your pc, if not run this:

Linux users do this

sudo apt-get install python3-pip

Windows users head over here and download Python3 64bit

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 :)

© Copyright Sumanjay

All rights reserved.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.