putcallback is a program which handles callback from Put.io.
It will move files from Put.io to any other storage supported by rclone.
- Please ensure
rcloneis installed (version >= 1.52.0) - Please ensure both
srcanddestare configured as valid rclone remotes, andsrcshould be a remote whose type isputio.
Download from Releases, or build by yourself:
env CGO_ENABLED=0 go install -trimpath -ldflags="-s -w" github.com/RoyXiang/putcallback@latest- Setup environment variables
REMOTE_SRCandREMOTE_DEST(default:src:anddest:)- If something like
rclone move putio: drive:Downloads/is wanted, setREMOTE_SRCtoputio:andREMOTE_DESTtodrive:Downloads/
- If something like
MAX_TRANSFERS(default: the maximum number of simultaneous tasks allowed by your Put.io subscription)DELAY_BEFORE_TRANSFER(default:0s)- Delay before moving files to the destination so that you can manipulate files on Put.io first
EXCLUDE_FILETYPES(e.g.exe,log)- Certain file types may be excluded from transferring
RENAMING_STYLE:tvoranime(default:none)- If this is set, all files downloaded by single-file transfers would be renamed so to be identified by media systems like Plex, Emby, Jellyfin, etc.
PUSHOVER_APP_TOKENandPUSHOVER_USER_TOKEN- If these two are set, a notification would be sent through Pushover after files transferred to
dest.
- If these two are set, a notification would be sent through Pushover after files transferred to
TELEGRAM_BOT_TOKENandTELEGRAM_CHAT_ID- If these two are set, a notification would be sent through Telegram bot after files transferred to
dest.
- If these two are set, a notification would be sent through Telegram bot after files transferred to
- Run the program. Set it up as a service by any means, e.g. systemd, nohup, supervisor, etc.
- Make it accessible from outside. The program listens on
:1880by default, set up a proxy to that port. - Set up callback URL on Settings page,
e.g.
http://[your ip]:1880/