Add opt-in Telegram notifications for copy
Before you start
- I have searched the forum and the existing issues and this hasn't already been requested.
- I have checked the latest beta and this feature doesn't already exist.
Associated forum post URL
No response
rclone version
rclone v1.76.0-beta.10425.9dc8b71ae
- os/version: Microsoft Windows 11 Pro 25H2 25H2 (64 bit)
- os/kernel: 10.0.26200.9457 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.27.1
- go/linking: static
- go/tags: cmount
What problem are you trying to solve?
For long-running or unattended rclone copy operations, it would be useful to receive progress and completion updates in Telegram without keeping a terminal open or maintaining a separate notification script.
How do you think rclone should be changed to solve that?
Add optional Telegram notifications for rclone copy, enabled with a saved notification profile:
rclone copy source:path destination:path --notify telegram-me
The proposed scope is:
- Configure a Telegram bot token and chat ID through
rclone config. - Report the start, progress and final result of a copy operation.
- Update one Telegram message with progress and the final result.
- Keep notifications disabled unless explicitly requested.
- Log notification failures without changing the copy operation’s result or exit status.
This initial proposal covers only copy.
I have prepared an initial implementation with tests and documentation: https://github.com/Shooroop93/rclone/tree/notifications
I am willing to adapt the implementation based on feedback. Would this functionality be suitable for inclusion in rclone? I would appreciate feedback on the scope and configuration approach before opening a pull request.
Example screenshots
The screenshots below show the start, progress and successful completion of a copy operation.
Two notification profiles are selected in this example, so two messages are shown. Each profile’s message is updated throughout the operation.
Getting involved
- I'm willing to help implement, test or fund this feature.
Source: rclone/rclone