@fabiospampinato/watch
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

Watch

Watch anything instantaneously, just write its name.

It searches a magnet for you and streams it using WebTorrent to your favorite app.

Install

$ npm install -g @fabiospampinato/watch

Usage

Wizard

Execute watch to run a wizard, it'll ask you everything it needs: a search query, which title to stream, and which app to use.

Wizard

I'm Feeling Lucky

If you're feeling lucky, just run something like this to automatically pick the first result:

watch Star Wreck

Manual

You can also directly pass any of the valid torrent identifiers supported by parse-torrent to stream it:

watch "magnet:?xt=urn:btih:a2c1adc668fc25bdcb137d43060b76cd043a7fdb&dn=Tears+of+Steel+%282012%29+1080p+mkv&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Fzer0day.ch%3A1337&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fexodus.desync.com%3A6969"

WebTorrent Options

You can pass arbitrary options to WebTorrent, read more about them here. Just write them after the special -- argument:

watch -- --vlc --port 1234
watch Star Wreck -- --vlc --port 1234

License

MIT © Fabio Spampinato

Readme

Keywords

Package Sidebar

Install

npm i @fabiospampinato/watch

Weekly Downloads

0

Version

1.4.0

License

MIT

Last publish

Collaborators

  • fabiospampinato