Everyone has different programs and tools that they particularly appreciate. One of these programs is syncthing for me, so I will briefly discuss how it works and how it is set up in this article. Syncthing is used to synchronize files between different devices and also supports versioning of these files. Syncthing is available for Windows, Android and as cross-platform wrapper. I personally use it on Windows 10,  Arch Linux and Android (via Playstore or FDroid). It is completely open source and available on GitHub. For general problems, I recommend reading their FAQ.

Syncthing transfers files over the internet, but if you use it for local transfers only, it will be restricted to LAN and won’t use the internet. However, you can also host your own relay server and contribute to the network, which is organized decentrally.

In the following, I’ll be setting up a shared folder to synchronize my playlist I use for running, since my main smartphone is a Xiaomi Redmi Note 4, but since my nexus 5 is more practical by weight and size, I use this to run. My setup can be summarized as follows:

  • Xiaomi Redmi Note 4 (Android)
  • Google Nexus 5 (Android)
  • MacBook Air (Arch Linux)
  • Desktop-PC (Windows 10)

Setting up and Connecting Devices

On windows and linux, the graphical user interface of syncthing is started via browser (localhost, default port is 8384). You can set a name for your device, which is used as default on connecting devices later. Each device is uniquely addressable by an id which can be accessed via Actions - Show ID. You can add a device by clicking Add Remote Device in the lower right corner. Devices that are located in the same network are recognized automatically, otherwise they can be added by entering their id.

Syncthing PC GUI

When adding devices, there are multiple options available. One of these is to mark a device as Introducer. This allows to forward all devices that are available on the remote device to the current one, which is great for using Syncthing on a NAS-like server.

Sharing Folders

After networking the devices with each other, directories can be created which will then be synchronized. To do this, simply click Add Folder on the web interface. On Android, this can be done by clicking the plus-button:

Syncthing Android GUI

You’ll want to specify the path of the folder, as well as the label, which will be displayed on all devices later. Since I’ll be using this folder for mp3-files, I won’t enable versioning for it, but you can select one of multiple options at this point. Finally it is specified for which of the available devices the directory should be available. After completing the setup, the devices that were selected will automatically receive a request to accept the shared folder. By doing this, a local folder needs to be set again. I’ve encountered minor problems here, where the shares won’t be recognized automatically on Android devices. I’ve solved this problem by switching to the Web GUI via settings. By using the web interface, you have the additional option of specifying the scanning interval and more (see advanced settings).

Syncthing Android Settings

After setting up everything correctly, synchronization should begin automatically. And that’s basically it! You can set up multiple folders for different devices and multiple filetypes to fit your individual needs.

Syncthing Synchronization