arokettu / torrent-file-cli
CLI tool to manipulate torrent files
1.0.2
2023-10-21 22:14 UTC
Requires
- php: ^8.1
- composer-runtime-api: ^2.2
- arokettu/bencode: ^4.0
- arokettu/kilo-mega: ^1.0
- arokettu/torrent-file: ^5.0
- symfony/console: ^6.2 | ^7.0
- symfony/polyfill-intl-icu: ^1.28
- symfony/var-dumper: ^6.2 | ^7.0
Requires (Dev)
- sandfox.dev/code-standard: ^1.2022.06.29
- squizlabs/php_codesniffer: *
- vimeo/psalm: ^5.15
This package is auto-updated.
Last update: 2023-11-28 02:26:29 UTC
README
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
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.