peerflix

Streaming torrent client for node.js

  • 所有者: mafintosh/peerflix
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

peerflix

Streaming torrent client for Node.js

npm install -g peerflix

build status

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.

peerflix

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 bittorent 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

主要指标

概览
名称与所有者mafintosh/peerflix
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2013-03-14 17:15:43
推送于2022-06-19 23:29:59
最后一次提交2020-11-27 09:14:37
发布数109
最新版本名称v0.39.0 (发布于 2018-06-09 22:30:38)
第一版名称v0.1.3 (发布于 2013-08-27 21:45:51)
用户参与
星数6.2k
关注者数154
派生数670
提交数513
已启用问题?
问题数258
打开的问题数118
拉请求数89
打开的拉请求数21
关闭的拉请求数19
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?