Download the PHP package popstas/transmission-cli without Composer

On this page you can find all versions of the php package popstas/transmission-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package transmission-cli

Transmission CLI Build Status Coverage Status Scrutinizer Code Quality

transmission-cli is console php application for automate torrent download/upload from weburg.net

Blog post: http://blog.popstas.ru/blog/2016/01/17/torrent-transmission-client-for-weburg/

Based on:

Features

Graphics

Available commands:

Global command options

HTTP server for add torrents

Then you can add torrents via open urls like http://localhost:10293/?url=http%3A%2F%2Fbt.weburg.net%2Fgettorrent.php%3Fsecuritykey%3D70c3fcb98000761e78ea2b9c8bedd69e%26user_id%3D151954%26info_hash%3D9f67aa271026be1ca2d7c6b4a88f9417455d64f5

You can also add userscript to your browser, scripts/weburg-torrent-add.user.js

Install

PHAR automatic (Recommended)

PHAR manually

Download latest transmission-cli.phar here, make it executable and put it to bin directory.

Composer global

If you cannot execute transmission-cli after that, probably you should add ~/.config/composer/vendor/bin to your PATH environment variable as described here.

Composer from source:

Configure

Default config placement: ~/.transmission-cli.yml. It creates on first run. You can change some parameters here.

Also, you can pass config to command: transmission-cli --config /path/to/config.yml

Commands weburg-download, weburg-series-add, interacts only with weburg.net and not requests to Transmission or InfluxDb.

You can use download-filename-whitelist and download-filename-blacklist lists for filter torrents before download.

About torrent duplicates

By default, transmission-cli prevents send stats to InfluxDB when you have torrents with same names in your Transmission, because it make stats about these torrents wrong. If it not matters for you, you can use allow-duplicates option in config. When allow-duplicates: true defined in config, transmission-cli will allow to stats-send with duplicates and don't ask to remove duplicates after torrent-add command.

Transmission

If you want to make commands torrent-* working, you should enable remote access in Transmission and add host, port, username, password if it not defaults.

By default, transmission-cli request to Transmission on localhost:9091 without user and password. You can change it in ~/.transmission-cli.yml.

You can override default config: --transmission-host, --transmission-port, --transmission-user, --transmission-password

Also, maybe you want to automatically download movies, not only torrent files. To do that, enable autodownload in Transmission and point to same directory in --dest= option.

InfluxDB and Grafana

You need to install it for drawing torrent graphics.

InfluxDB

Simplest way to install InfluxDB - Docker:

And if you don't want to see detailed stats about your torrents, you may not install InfluxDB, commands stats-* will not working.

Grafana

  1. Run Grafana with Docker

  2. Add InfluxDB as data source "influxdb" to Grafana, choose database "transmission".
  3. Import dashboard - grafana-torrents.json

If you don't want to see graphs, Grafana not necessary.

autocompletion for bash/zsh:

Cron

Then, add to cron tasks like this:

Don't forget add to cron PATH your ~/.config/composer/vendor/bin if you installed transmission-cli with composer global!

Usage

See commands --help.

Contributing

See CONTRIBUTING.md.


All versions of transmission-cli with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
symfony/console Version ^3.4.0
symfony/yaml Version ^3.4.0
martial/transmission-api Version ^2.0.0
influxdb/influxdb-php Version ^1.0.0
stecman/symfony-console-completion Version ^0.7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package popstas/transmission-cli contains the following files

Loading the files please wait ....