# Auto Remove Torrents
This unofficial app installation script is provided for your convenience. The script is provided as-is and may not be updated or maintained by Ultra.cc. Customers are welcome to use and customize unofficial app installers for their unique needs and requirements. Unofficial support may be offered via Discord only and at the sole discretion of Ultra.cc staff. Use at your own risk and only proceed if you are comfortable managing the application on your own.
Autoremove Torrents is an open-source Python project that allows the automatic removal of torrents from various torrent clients based on configurable criteria. It can help manage disk space by deleting torrents when they are finished seeding. [Here's](https://github.com/jerrymakesjelly/autoremove-torrents) the GitHub page of the project. ## Features - Remove torrents automatically based on ratio, seeding time, inactivity and more - Monitor disk space and remove torrents if space runs low - Remove oldest, biggest, smallest torrents first - Support for all major torrent clients - Dry run mode to test without removing - Schedule via crontab for hands-off automation ## Supported Clients Autoremove Torrents works with the following torrent clients: - [qBittorrent](https://docs.ultra.cc/books/qbittorrent) - [Transmission](https://docs.ultra.cc/books/transmission) - [Deluge](https://docs.ultra.cc/books/deluge) * It supports connecting to the web UI for qBittorrent, Transmission, and μTorrent (not on Ultra.cc). * For Deluge, it connects directly to the daemon via the RPC protocol. ## Installation * Connect to your Ultra.cc service via [SSH](https://docs.ultra.cc/books/secure-shell-%28ssh%29/page/how-to-connect-to-your-ultracc-slot-via-ssh) * There are two ways to install Autoremove Torrents: ### From PyPI This will install the latest stable release: ``` pip install autoremove-torrents ``` ### From Source This allows installing the development version: ``` git clone https://github.com/jerrymakesjelly/autoremove-torrents.git cd autoremove-torrents python setup.py install --user ``` ## Configuration Autoremove Torrents uses a YAML configuration file to define the torrent clients and removal rules. By default, Autoremove Torrents will look for a configuration file in the shell's current working directory. But, you can store the configuration file somewhere else and point to it while using Autoremove Torrents. See the below [usage instructions](https://docs.ultra.cc/link/403#bkmrk-usage) for more information. ### Client Configuration First, you need to specify connection details for each torrent client: ``` qbittorrent: client: qbittorrent host: https://username.hostname.usbx.me/qbittorrent username: