mafintosh/peerflix
mafintosh/peerflix has 6,268 GitHub stars and 665 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-06 13:59 UTC. Last push 2022-06-19.
Streaming torrent client for node.js
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalpeerflix
Streaming torrent client for Node.js
npm install -g peerflix
Usage
Peerflix can be used with a magnet link or a torrent file. To stream a video with its magnet link use the following command.
peerflix "magnet:?xt=urn:btih:ef330b39f4801d25b4245212e75a38634bfc856e" --vlc
Remember to put " around your magnet link since they usually contain &.
peerflix will print a terminal interface. The first line contains an address to a http server. The --vlc flag ensures vlc is opened when the torrent is ready to stream.

To stream music with a torrent file use the following command.
peerflix "http://some-torrent/music.torrent" -a --vlc
The -a flag ensures that all files in the music repository are played with vlc.
Otherwise if the torrent contains multiple files, peerflix will choose the biggest one.
To get a full list of available options run peerflix with the help flag.
peerflix --help
Examples of usage of could be
peerflix magnet-link --list # Select from a list of files to download
peerflix magnet-link --vlc -- --fullscreen # will pass --fullscreen to vlc
peerflix magnet-link --mplayer --subtitles subtitle-file.srt # play in mplayer with subtitles
peerflix magnet-link --connection 200 # set max connection to 200
Programmatic usage
If you want to build your own app using streaming bittorrent in Node you should checkout torrent-stream
Chromebook users
Chromebooks are set to refuse all incoming connections by default - to change this:
sudo iptables -P INPUT ACCEPT
Chromecast
If you wanna use peerflix on your chromecast checkout peercast or castnow
License
MIT
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,341 starspublic-apis/public-apis
A collective list of free APIs
496,634 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
436,996 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,044 stars