![Forrest logo](/images/logo.png)
peerflix
Peerflix is a command line tool that allows users to stream torrents directly in their terminal or command prompt. It uses Node.js and WebTorrent to provide a fast and efficient way of streaming torrent files. The tool can be installed globally using npm and can be used on Windows, Linux, and macOS.
Users can download and stream torrent files by simply providing the magnet link or torrent file as an argument to the peerflix command. Peerflix also supports streaming to media players like VLC by passing the --vlc
flag. Additionally, users can specify the port and IP address for the streaming server.
The tool provides an interactive interface in the terminal, allowing users to control aspects like playback, pause, and seeking. It also displays useful information like the download and upload speed, the number of peers connected, the progress of the download, and more.
Peerflix fetches the torrent data from multiple peers simultaneously, resulting in faster downloads and smoother streaming. It also supports subtitles and allows users to specify a custom subtitle file along with the torrent.
Overall, Peerflix is a powerful command line tool that simplifies streaming torrent files directly in the terminal, offering a range of features and customization options for an enhanced streaming experience.
List of commands for peerflix:
-
peerflix:tldr:5cad8 peerflix: Stream the largest file in a torrent, given as a torrent URL, to VLC.$ peerflix "${http:--example-net-music-torrent}" --vlctry on your machineexplain this command
-
peerflix:tldr:6e554 peerflix: Stream the largest media file in a torrent.$ peerflix "${select}"try on your machineexplain this command
-
peerflix:tldr:7727f peerflix: Stream the largest file in a torrent to MPlayer, with subtitles.$ peerflix "${select}" --mplayer --subtitles ${subtitle-file-srt}try on your machineexplain this command
-
peerflix:tldr:b8e75 peerflix: List all streamable files contained in a torrent (given as a magnet link).$ peerflix "${magnet:?xt=urn:btih:0123456789abcdef0123456789abcdef01234567}" --listtry on your machineexplain this command
-
peerflix:tldr:fdfd0 peerflix: Stream all files from a torrent to Airplay.$ peerflix "${select}" --all --airplaytry on your machineexplain this command