btreader

Simple bittorrent reader written on D


Keywords
library, encoding
License
MIT
Install
dub fetch btreader --version 0.2.0

Documentation

btreader

Simple bittorrent reader written on D Program decoded files to json. If you have error (in format), check return code - it will non zero.

How to use

btreader < some.torrent           read torrent from stdinput (max 10M)
--file    [-f] <path>             read torrent file from given path
--pretty  [-p]                    pretty print for json encoded data file
--without [-r] <path/to/key>      this key will be removed from output
                                  ignored, if `only` option is used
--only    [-o] <path/to/key>      return data of ONLY this key
--help    [-h]                    this help

Example

./btreader -f some.torrent -p --without=info/pieces

License

Licensed MIT