Skip to content

Latest commit

 

History

History
74 lines (53 loc) · 1.77 KB

README.md

File metadata and controls

74 lines (53 loc) · 1.77 KB

pirateflix

Stream piratebay movies directly from CLI

Install from npm package

$ npm install -g [email protected]

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

$ pirateflix --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

$ pirateflix # will open movie wizard
$ pirateflix --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