Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Syncthing 20: Cloudless File Sync Explained

· 6 min read · Home Tech

In this article
  1. What is Syncthing?
  2. How Syncthing Works
  3. Key Features and Benefits
  4. Setting Up Syncthing
  5. Common Issues and Troubleshooting
  6. Syncthing vs. Cloud Services
  7. Frequently Asked Questions

Yes, Syncthing 20 is here, and it continues to be a powerful, open-source tool for cloudless file synchronization. Instead of relying on a central server or cloud provider, Syncthing connects your devices directly, allowing you to sync folders securely and privately.

What is Syncthing?

Syncthing is a free, open-source, peer-to-peer file synchronization application. It was created to provide a secure and decentralized alternative to cloud-based services like Dropbox or Google Drive. The core idea is that your files are synced directly between your own devices—laptops, desktops, phones, and even servers—without passing through a third-party cloud. This ensures that your data remains under your control, and no one else can access it.

The "20" in Syncthing 20 likely refers to a specific version or a major milestone in the project's development. The project has been actively maintained for years, with regular releases that add features and fix bugs. The exact versioning can vary, but the fundamental principles and functionality have remained consistent.

How Syncthing Works

Syncthing uses a unique protocol to synchronize files. Here’s a simplified breakdown:

  • Device Identification: Each device running Syncthing is assigned a unique, cryptographically secure device ID. This ID is used to authenticate and connect to other devices.
  • Peer-to-Peer Connection: Syncthing establishes direct connections between devices using a variety of methods, including local network discovery and relay servers when direct connections are not possible (e.g., due to NAT or firewall restrictions).
  • Folder Sharing: You share specific folders with other devices by adding their device IDs. Each folder can have different settings, such as read-only access or specific sync behaviors.
  • Synchronization: When a file is added, modified, or deleted in a shared folder, Syncthing detects the change and propagates it to all connected devices. It uses a block-based algorithm to efficiently transfer only the changed parts of files, saving bandwidth and time.
  • Encryption: All data transmitted between devices is encrypted using TLS (Transport Layer Security). This ensures that even if the data is intercepted, it cannot be read by unauthorized parties.
  • Versioning: Syncthing can keep old versions of files, allowing you to recover from accidental deletions or edits. You can configure how many versions to keep and for how long.

Key Features and Benefits

Syncthing offers a range of features that make it a compelling choice for privacy-conscious users and those who want full control over their data.

  • Privacy and Security: Since there is no central server, your files are never stored on someone else's infrastructure. All communication is encrypted, and you control who can access your data.
  • No File Size Limits: Unlike many cloud services that impose storage or file size limits, Syncthing can handle files of any size, as long as your devices have enough storage space.
  • Cross-Platform: Syncthing runs on Windows, macOS, Linux, Android, and even some NAS devices. This makes it easy to sync between a wide range of devices.
  • Open Source: Being open source, Syncthing's code is publicly available for review, which means security vulnerabilities can be identified and fixed quickly by the community.
  • Local Network Sync: Syncthing is particularly efficient on local networks, where it can achieve very high transfer speeds without using internet bandwidth.
  • Selective Sync: You can choose to sync only certain subfolders or files, which is useful for large folders where you only need a portion of the data on a particular device.

Setting Up Syncthing

Getting started with Syncthing is relatively straightforward. Here's a general guide:

  1. Install Syncthing: Download the appropriate version for your operating system from the official website or your package manager. For Android, you can install it from the F-Droid store or Google Play.
  2. Start Syncthing: Once installed, launch Syncthing. It typically runs in the background and provides a web-based user interface (usually at localhost:8384).
  3. Add Devices: In the web UI, go to "Actions" > "Show ID" to see your device ID. On another device, add this ID to connect them. You'll need to do this on both devices to establish a trusted connection.
  4. Add Folders: On one device, click "Add Folder" and specify the folder path you want to share. Then, select the devices you want to sync with. On the other device, you'll be prompted to accept the shared folder.
  5. Configure Settings: You can adjust settings like file versioning, sync intervals, and network limits to suit your needs.

Common Issues and Troubleshooting

While Syncthing is generally reliable, users may encounter a few common issues:

  • Connection Problems: If devices can't connect, it's often due to firewall settings or NAT. Syncthing uses relay servers as a fallback, but you can also configure port forwarding for better performance.
  • Sync Conflicts: When a file is modified on two devices simultaneously, Syncthing creates a conflict file (e.g., file (conflicted copy)). You'll need to manually resolve these by choosing which version to keep.
  • High Resource Usage: On large folders, Syncthing may consume significant CPU and memory. This is usually temporary during the initial sync or when scanning for changes.
  • Folder Not Syncing: If a folder isn't syncing, check that it's shared with the correct devices and that the folder path is valid on all devices.

Syncthing vs. Cloud Services

When comparing Syncthing to traditional cloud services, several key differences stand out:

  • Control: With Syncthing, you own your data. There's no risk of a cloud provider accessing, selling, or losing your files.
  • Cost: Syncthing is free and doesn't require a subscription. You only pay for the storage on your own devices.
  • Convenience: Cloud services offer features like web access, file sharing links, and automatic backups. Syncthing lacks these built-in features, though you can achieve similar functionality with additional tools.
  • Performance: On a local network, Syncthing is often faster than cloud services because data doesn't need to travel to a remote server and back.

Frequently Asked Questions

Is Syncthing safe to use?

Yes, Syncthing is considered safe. It uses strong encryption (TLS) for all data in transit, and since it's open source, its security has been reviewed by many experts. However, you should always download Syncthing from official sources to avoid tampered versions.

Can I use Syncthing to sync files with someone else?

Yes, you can share folders with anyone, as long as you add their device ID. This is useful for collaborating on projects or sharing files with family members. You can also set folders to read-only to prevent others from modifying the original files.

Does Syncthing work on iOS?

There is an official Syncthing app for iOS, but it has limitations due to Apple's restrictions on background processes. It may not sync in real-time when the app is not open. For this reason, many users prefer using Syncthing on Android, where it runs more reliably in the background.

How do I update Syncthing?

On most platforms, Syncthing can update itself automatically if you enable the "Auto Upgrade" option in the settings. Alternatively, you can manually download the latest version from the official website and replace the old executable.

Can I sync a folder between a computer and a phone?

Yes, Syncthing supports syncing between computers and Android phones. The process is the same as between two computers: install Syncthing on both devices, connect them, and share a folder. For iOS, the process is possible but less seamless due to background limitations.