Skip to content

JudeBass/PirateTV

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pirateflix

Stream piratebay movies directly from CLI

Install from npm package

$ npm install PirateTV

Install from git repo

# the output of "node -v" is referred as $NODE_VERSION
$ node -v
$ git clone https://github.com/Lisheng2016/pirateflix.git

# brew node is installed @ /usr/local/Cellar/node/$NODE_VERSION
# if you install node by itself, change node path accordingly
# to install pirateflix locally
$ npm install  

# run pirateflix manually as testing
$ cd /path/to/pirateflix
$ node bin/cli.js

# enable pirateflix globally by creating symlink /usr/local/Cellar/node/$NODE_VERSION/bin/pirateflix => /usr/local/Cellar/node/$NODE_VERSION/node_modules/pirateflix/bin/cli.js
$ npm install -g

# make sure pirateflix is correctly placed and reachable via $PATH
$ which pirateflix
  /usr/local/Cellar/node/$NODE_VERSION/bin/pirateflix

Options

$ PirateTV --help
  Follow the steps by the wizard and
  make sure you have VLC installed.

  Options:
    --search Optional value to start the query.
    --history Starts with the history of watched torrents.
    --clear Clears history of watched torrents.

  Usage:
    Pirateflix [options]

Usage

$ PirateTV # will open movie wizard
$ PirateTV --search="Interstellar" # will perform a search

Overview

Make sure you have VLC installed, it might take a while until the movie starts depeding on the number of seeders/leechers. The movie will start streaming at http://localhost:8888 you can always manually access and check it out.

Related

License

MIT © 2016 Weslley Araujo
MIT © 2018 Jim Li

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%