Syncthing

Peer-to-peer folder sync between your own devices

syncthing Web and transfer MPL-2.0

About

Syncthing keeps folders in step between devices directly, with no central server holding your data. Use it to mirror photos or notes between a phone and a laptop. Devices are paired by exchanging identifiers, and transfers are encrypted end to end.

Install it

pkg install syncthing

Run this inside Termux. If the package is already present, pkg will say so and do nothing.

Commands worth knowing

6 of the invocations you will actually reach for. Tap the copy button to put one on your clipboard.

syncthing serve Start the background service. It keeps folders in step with your other devices.
syncthing generate Create the initial configuration and device identity on first run.
syncthing cli show system Print the running service status, including its device identifier and version.
syncthing cli show connections List the connected peer devices and each link speed.
syncthing cli device id Show the identifier of this device. Use it to pair with another.
syncthing --gui-address=0.0.0.0:8384 serve Expose the web control panel on all interfaces. Manage it from a browser on the same network.

Worked example

Run syncthing serve and this is what you should see.

termux
$ syncthing serve
[monitor] 10:00:00 INFO: My ID: ABCD123-EFGH456
[monitor] 10:00:00 INFO: Ready to synchronise
[monitor] 10:00:01 INFO: Completed initial scan of folder default
[monitor] 10:00:02 INFO: Established secure connection to peer

Developed by

The Syncthing Foundation · released under MPL-2.0.