peerflix-headless

Streaming torrent client for Node.js

Usage no npm install needed!

<script type="module">
  import peerflixHeadless from 'https://cdn.skypack.dev/peerflix-headless';
</script>

README

peerflix

Streaming torrent client for Node.js

npm install -g peerflix

Note

Peerflix is an experimental streaming video client using bittorrent through torrent-stream.

It is not under active development, so instead check out webtorrent by @feross.

Usage

To try out peerflix start it with a magnet link or torrent file

peerflix magnet:?xt=urn:btih:ef330b39f4801d25b4245212e75a38634bfc856e --vlc

peerflix will print a terminal interface. this first line contains a address to a http server. Using --vlc will open the file in vlc when it's ready to stream.

peerflix

Simply open this address in vlc or similar to start viewing the file. If the torrent contains multiple files peerflix will choose the biggest one.

To get a full list of available options run

peerflix --help

Programmatic usage

If you want to build your own app using streaming bittorent in Node you should checkout torrent-stream

License

MIT