A CLI tool to manipulate torrent files.
Install for local user with composer:
composer global require arokettu/torrent-file-cli
Install globally by downloading prebuilt phar:
sudo wget https://github.com/arokettu/torrent-file-cli/releases/latest/download/torrent-file.phar -O /usr/local/bin/torrent-file
sudo chmod +x /usr/local/bin/torrent-file
Create file:
torrent-file create ~/build/myapptoupload -o ~/build/myapptoupload.torrent
Modify torrent fields:
torrent-file modify ~/build/myapptoupload.torrent --announce http://tracker
Inspect torrent file:
torrent-file show ~/build/myapptoupload.torrent
Dump raw torrent file structure:
torrent-file dump ~/build/myapptoupload.torrent
Sign torrent file:
torrent-file sign torrent.torrent key.pem cert.pem
Read full documentation here: https://sandfox.dev/php/torrent-file-cli.html
Also on Read the Docs: https://torrent-file-cli.readthedocs.io/
Please file issues on our main repo at GitLab: https://gitlab.com/sandfox/torrent-file/-/issues
Feel free to ask any questions in our room on Gitter: https://gitter.im/arokettu/community
The library is available as open source under the terms of the MIT License.