Proxy that allows put.io to be used as a download client for Sonarr/Radarr. The proxy uses the Transmission protocol.
cargo install putioarr
putioarr get-token
putioarr run -s <file state is kept> -a <putio API key> -d <sonarr/radarr download dir>
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. If a file is determined to be imported if it has more than one hardlink pointed to it.
Thanks to davidchalifoux for borrowed code from kaput-cli.