About

Peerspire is a streaming torrent client for streaming application development and Node.js.

Programmatic usage

You can use Peerspire to build your own streaming applications and platforms.

Tour

Peerspire can be used with a magnet link or a torrent file. To stream a video with its magnet link use the following command:

peerspire "magnet:?xt=urn:btih:ef330b39f4801d25b4245212e75a38634bfc856e" --vlc

Remember to put " around your magnet link since they usually contain &. peerspire 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:

peerspire "http://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, peerspire will choose the biggest one. To get a full list of available options run peerflix with the help flag:
peerspire --help

Examples of Usage

peerspire magnet-link --list – Select from a list of files to download

peerspire magnet-link --vlc --fullscreen – Will pass --fullscreen to vlc

peerspire magnet-link --connection 200 – Set max connection to 200

peerspire magnet-link --mplayer --subtitles subtitle-file.srt – Play in mplayer with subtitles


Chromebooks

Chromebooks are set to refuse all incoming connections by default - to change this:
sudo iptables -P INPUT ACCEPT

Peerspire 1.0.0

Peerspire is a streaming torrent client for streaming application development and Node.js. You can use it to stream video, music and build streaming applications and platforms.

Download