[Request] Enable "One-Shot" Sharing: Auto-Start, Sync, and Exit

Feature description

Add a setting to enable a “one-shot” sharing mode that automates the synchronization process for individual files.

The workflow would be:

  1. A user shares a file with the Syncthing app from any other application.

  2. Syncthing automatically starts if it is not currently running.

  3. The shared file is synchronized to the designated device(s).

  4. Once the transfer is complete, the Syncthing service automatically stops to conserve battery.

Problem or use case

Users who disable background sync to save battery must manually start the Syncthing app after sharing a file to initiate the transfer. They must then remember to close the app afterward to prevent significant battery drain. This feature automates the entire process, allowing a user to simply share a file and trust that it will be transferred efficiently without requiring further manual intervention or causing unnecessary power consumption.

Alternatives or workarounds

The current workaround is a cumbersome, multi-step process: share the file, manually open the Syncthing app to start the sync, and then manually exit the app after the transfer is complete. This process is easy to forget, often resulting in unintended battery drain.

2 Likes

These tools may be more suitable:

Thanks, but I use many features of syncthing between several computers, so I prefer to stay with syncthing for my phone as well.

1 Like