Go to file
Anton Smirnov 7b33c34b5b Fix bitbucket link 2023-08-26 08:11:37 +03:00
bin bin file should only load composer and app files 2023-02-24 10:26:44 +02:00
docs Fix bitbucket link 2023-08-26 08:11:37 +03:00
src Improve display a bit 2023-08-26 07:45:33 +03:00
.gitattributes Update git things 2023-08-26 02:42:08 +03:00
.gitignore Docs 2023-08-26 06:55:49 +03:00
.readthedocs.yaml Docs 2023-08-26 06:55:49 +03:00
CHANGELOG.md Changelog for 1.0.0 2023-08-26 08:03:56 +03:00
LICENSE.md License 2023-08-26 01:26:05 +03:00
README.md Fix doc link 2023-08-26 08:09:18 +03:00
box.json Box config 2023-08-26 01:28:26 +03:00
composer.json Update readme 2023-08-26 07:59:04 +03:00
composer.lock Psalm 2023-08-26 01:27:27 +03:00
phpcs.xml Code style 2023-02-24 10:27:13 +02:00
psalm.xml Psalm config 2023-08-26 02:35:21 +03:00

README.md

Torrent File CLI

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

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.