btcat is a small program written in Python. The latest version is available to download. It works in linux, and should work in other platforms without changes. I would appreciate reports about successful runs in platforms other than linux. It's released under a GPL licence, which means that it's free software. Please read the documentation below for installation notes and usage.


       btcat - download a torrent file from the network and output its contents to the standard output.


       btcat is a command line tool that downloads a file using the bittorrent protocol and outputs its contents
       to the standard output. btcat streams the data sequentially, which allows processing the file in a
       pipeline before the whole transfer has been completed. It is possible, for instance, to reproduce a media
       file while it's still downloading.




       if no FILEID is specified, a list of file names and file ids will be provided for torrents containing more
       than one file. If FILEID is specified, the program will initiate the download of the file and the contents
       will be dumped to the standard output.


              display a list of files and file ids on the torrent

       btcat ''

              download the contents of the torrent flow and save it into a file

       btcat '' 0 > download.avi

              reproduce a media file on the fly (audio or video)

       btcat '' 0 | mplayer -


       Written by Jordi Colomer. May 2011.

       Report ls bugs to

       License GPLv3+: GNU GPL version 3 or later
       This is free software: you are free to change and redistribute it.
       There is NO WARRANTY, to the extent permitted by law.


       (in debian, ubuntu and derivates)
       sudo apt-get install python-libtorrent mplayer
       sudo wget -O /usr/local/bin/btcat
       sudo chmod +x /usr/local/bin/btcat