Proxy that allows put.io to be used as a download client for Sonarr/Radarr. The proxy uses the Transmission protocol.
Make sure you have a proper rust installation
cargo install putioarr
putioarr get-token
putioarr run
The proxy will upload torrents or magnet links to put.io. It will then continue to monitor transfers. When a transfer is completed, all files belonging to the transfer will be downloaded to the specified download directory. The proxy will remove the files after Sonarr/Radarr has imported them and put.io is done seeding.
A configuration file can be specified using -c
, but the default configuration file location is:
- Linux: ~/.config/putioarr/config.toml
- MacOS: ~/Library/Application Support/nl.evenflow.putioarr
TOML is used as the configuration format: ``` username = "myusername" password = "mypassword" download_directory = "/path/to/downloads"
bind_address = "0.0.0.0"
port = 9091
loglevel = "info"
uid = 1000
polling_interval = 10
[putio] api_key = "MYPUTIOKEY"
[sonarr] url = "http://mysonarrhost:8989/sonarr"
api_key = "MYSONARRAPIKEY"
[radarr] url = "http://myradarrhost:7878/radarr"
api_key = "MYRADARRAPIKEY" ```
Thanks to davidchalifoux for borrowed code from kaput-cli.