2.6.0 • Published 3 years ago

@eankeen/cliflix v2.6.0

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

cliflix

Watch any media instantaneously.

Cliflix searches for torrent and streams the resulting magent using WebTorrent to your favorite app. Inspired from Fabio Spampinato's CLIFlix

Warning: If you don't know what a torrent is, or are unsure about the legality of the torrents you're downloading you shouldn't use cliflix.

Install

$ npm install -g @eankeen/cliflix

Usage

Wizard

Execute cliflix to run a wizard, and prompt for movie, torrent, subtitles, and app you wish to open

To skip past repetitive prompts, add options:

cliflix --torrentProvider 1337x --moviePlayer VLC --subtitleLanguage English

Alternatively, add them to the config located at "${XDG_CONFIG_HOME:-$HOME/.config}"/cliflix/cliflix.json file. All keys within ./src/config.ts are configurable

{
	"torrentProvider": "1337x",
	"moviePlayer": "VLC",
	"subtitleLanguage": "English",
	"saveMedia": true,
	"skipNoSubtitles": true,
	"torrentListLength": 30,
	"downloadDir": "~/Dls",
	"webtorrentOptions": ["--no-quit"]
}

Possible Improvements

  • Clean up error / warning messages
  • print errors in debug / dev mode
  • Bug: sigint during webtorrent stream prints messy error
  • choose which torrent to get in doWizard mode
  • share code to validate output after any 'prompt' selection (empty object)
2.6.0

3 years ago

2.5.2

3 years ago

2.5.1

3 years ago

2.5.0

3 years ago

2.4.0

3 years ago

2.3.0

3 years ago

2.2.0

3 years ago

2.0.0

3 years ago

1.12.0

3 years ago