arokettu/torrent-file-cli

CLI tool to manipulate torrent files

1.1.2 2024-04-03 22:02 UTC

This package is auto-updated.

Last update: 2024-05-03 22:17:07 UTC


README

Packagist PHP License

A CLI tool to manipulate torrent files.

Examples

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

Installation

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

Documentation

Read full documentation here: https://sandfox.dev/php/torrent-file-cli.html

Also on Read the Docs: https://torrent-file-cli.readthedocs.io/

Support

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

License

The library is available as open source under the terms of the MIT License.