Syncthing

syncthing.net
Syncthing

Continuous file synchronization between 2 or more clients. It is simple, yet powerful, and fully-encrypted and private. Syncthing can be deployed with Docker, and there are native clients for Windows, Mac, Linux, BSD and Android.

Open Source

Syncthing Source Code

Author

syncthing

Description

Open Source Continuous File Synchronization

#go#p2p#peer-to-peer#synchronization

Homepage

https://syncthing.net/

Repository

  • LicenseMPL-2.0
  • Created26 Nov 13
  • Primary languageGo
  • Size127,883 KB
  • Stars90,363
  • Forks5,588
  • Watchers90,363

Language Usage

Language Usage

Project Health

  • Last commit1 day ago
  • Open issues399
  • Latest releasev2.1.7

Recent Commits

  • Syncthing Release Automation(09 Nov 26)

    chore(gui, man, authors): update docs, translations, and contributors

  • Syncthing Release Automation(02 Nov 26)

    chore(gui, man, authors): update docs, translations, and contributors

  • Jakob Borg(27 Oct 26)

    fix: invalid files on remote devices are not "available" (fixes #10943) (#10944) Properly exclude them from the corresponding query. Signed-off-by: Jakob Borg <[email protected]>

  • tbodt(27 Oct 26)

    feat(api): magic token authentication from `syncthing browse` (#10810) Syncthing's authentication options have seemed sort of lacking to me for a while. I can choose between no authentication (and now the admin interface is accessible to theoretically every website I visit), or password authentication (why do I need a password? it's all on one computer!). This PR adds magic tokens with which the `syncthing browse` and `syncthing serve` commands can magically log you in. I hope that adding this and refining it enough will make it eventually possible to change the default from "zero auth" to "token auth only". ### Testing Some unit tests, and manually tested using syncthing browser and syncthing serve, both of which create a token when they open the browser. ### Documentation TODO --------- Signed-off-by: tbodt <[email protected]>

  • Syncthing Release Automation(26 Oct 26)

    chore(gui, man, authors): update docs, translations, and contributors

  • Vandra-Meyer Akos(22 Oct 26)

    fix(model): skip ignored folders when auto-accepting (fixes #10935) Auto-accept ran before the check for ignored folders, so a folder in the device's ignored folders was still accepted when the device announced it. After that, the config cleanup removed the ignore entry, because the folder existed again. The docs say that an ignored folder is always skipped when the device announces it. Skip ignored folders in the auto-accept loop too. Signed-off-by: Vandra-Meyer Akos <[email protected]>

  • Jakob Borg(20 Oct 26)

    fix(model): properly compare blocks when reconciling receive-only (fixes #10928) (#10929) Signed-off-by: Jakob Borg <[email protected]>

  • Syncthing Release Automation(19 Oct 26)

    chore(gui, man, authors): update docs, translations, and contributors

  • Jakob Borg(12 Sept 26)

    fix: cap body sizes for incoming requests to public services Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(18 Oct 26)

    fix(model): ensure parent ownership is copied properly (fixes #8399) (#10926) When creating multiple directories, inherit ownership all the way up (down). Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(18 Oct 26)

    fix(model): verify local change before applying metadata shortcut (fixes #10924) (#10925) Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(18 Oct 26)

    chore(protocol): add protovalidate validation of incoming messages, reasonable limits (#10838) This adds pre-validation directly at the unmarshal step, of annotations added to the protobuf definitions. This seeks to weed out unreasonable situations early, by ensuring offsets are positive, string lengths are limited, etc. Some of the limits are a bit subjective, but I think I've put them above what is expected and reasonable... --------- Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(18 Oct 26)

    fix(protocol): convert panics on bad data to protocol errors (#10923) A couple of "panic: bug: foo" type things, where the bug could be controlled by the supposedly untrusted side. Signed-off-by: Jakob Borg <[email protected]>

  • Syncthing Release Automation(12 Oct 26)

    chore(gui, man, authors): update docs, translations, and contributors

  • Jakob Borg(09 Oct 26)

    fix(discover): skip unnecessary identical global announce updates; obey retry-after (#10918) We might send unnecessary updates because something changed by the actual announcement remains identical; skip those. --------- Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(09 Oct 26)

    build(deps): update dependencies (#10917) Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(07 Oct 26)

    fix(sqlite): do not generate unbounded prepared statements (ref #10913) (#10915) The API can use arbitrary paging parameters, causing arbitrary numbers of prepared statements, which becomes a memory leak. Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(07 Oct 26)

    fix(sqlite): avoid early garbage collection of deleted recv-enc files (#10916) Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(07 Oct 26)

    fix: handle missing max-sequence file entries (#10912) This could happen when a folder has deleted files as the latest entries, and nothing else happened for 180 days (the default tombstone cleanup time). Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(06 Oct 26)

    build: skip defunct loki sending Signed-off-by: Jakob Borg <[email protected]>

  • Syncthing Release Automation(05 Oct 26)

    chore(gui, man, authors): update docs, translations, and contributors

  • Jakob Borg(04 Oct 26)

    fix: remove unnecessary delay in index transmission (#10908) Prior to refactoring, this delay kicked in once all batches were sent. Now, it came between each batch. Fix that. --------- Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(30 Sept 26)

    fix: use global short lived HTTP client with proper HTTP/2 support (#10901) In e7b8efb41 I disabled keepalives in several HTTP clients, which inadvertently also disabled HTTP/2. However, the TLS setup announced h2 as a supported protocol, which caused confusion. This fixes that, and makes sure to use the same client in all relevant places. The old option to do usage reporting posts with InsecureSkipVerify goes away -- nobody should have ever used it. --------- Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(30 Sept 26)

    fix(watchaggregator): properly convert floating-point time duration (fixes #10899) (#10900) Signed-off-by: Jakob Borg <[email protected]>

  • Syncthing Release Automation(28 Sept 26)

    chore(gui, man, authors): update docs, translations, and contributors

  • Giridhar(22 Sept 26)

    fix(gui): improve header and button color contrast (fixes #10488) (#10815) ### Purpose Improve the contrast of semantic request-dialog headers and buttons in the light, dark, and black GUI themes. The light theme keeps its bright semantic colors and uses black text for success, warning, and danger alerts plus success/warning buttons. Danger buttons use the existing darker red with white text. The dark themes use darker success, warning, and danger backgrounds with white text. The lowest enabled-state contrast ratio is 4.509:1, meeting WCAG AA for normal text. ### Testing - `go run build.go assets` - `go run build.go build syncthing` - `git diff --check` - Checked the base and interactive semantic color pairs with a WCAG contrast calculation; all enabled states are at least 4.5:1. - Loaded the generated GUI assets in Chromium and verified the computed foreground/background colors for success, warning, and danger alerts and buttons in both light and dark themes. ### Screenshots Rendered light and dark fixtures locally to verify the complete alert and button combinations. The computed colors matched the intended theme rules and no clipping or layout changes were introduced. ### Documentation No documentation changes are required; this only corrects existing theme colors. Signed-off-by: Giridhar <[email protected]> Co-authored-by: Giridhar <[email protected]>

  • Shablone(22 Sept 26)

    fix(monitor): continue log writes when stdout is unavailable on detached Windows consoles (fixes #10882) (#10889) ### Purpose #10726 introduces a problematic side effect which only surfaced recently in #10882: On Windows 24H2 stdout will be invalid when Syncthing is started detached from a console. This caused the monitors logwriter to fail silently before it writes it a log file. This PR fixes this by letting the multiwriter continue even after failing on stdout. ### Testing #10882 can be reproduced without this PRs commit. With this PR logging does work again. Following scenarios are tested in which the logfile will be written again -console: syncthing.exe -console: start "" syncthing.exe -console: start "" syncthing.exe serve --log-file=path -explorer: double click `go test ./lib/osutil ` checks if the introduced tolerantMultiWriter writes to all targets even on errors. --------- Signed-off-by: Elias <[email protected]> Co-authored-by: Elias <[email protected]>

  • Jakob Borg(22 Sept 26)

    fix: disable keepalive on most outgoing HTTP connections (#10891) Where we don't expect connection reuse for further requests this reduces the number of open connection server-side. Signed-off-by: Jakob Borg <[email protected]>

  • Jakob Borg(14 Sept 26)

    fix(model): properly error out when a temp file can't be created (#10883) Such as when the base filename contains a character disallowed on the current filesystem... Signed-off-by: Jakob Borg <[email protected]>

  • Syncthing Release Automation(14 Sept 26)

    chore(gui, man, authors): update docs, translations, and contributors

Syncthing Security

5.8/10

Repo Security Summary

Updated 24 Aug 26

  • Maintained10/10
  • Code-Review1/10
  • Security-Policy10/10
  • Dangerous-Workflow10/10
  • Token-Permissions0/10
  • Binary-Artifacts10/10
  • CII-Best-Practices5/10
  • License10/10
  • Fuzzing0/10
  • Branch-Protection3/10
  • Signed-Releases8/10
  • SAST0/10
  • Packaging10/10
  • Pinned-Dependencies3/10

Security Advisories (2)

  • mediumPatched

    CVE-2022-46165Cross-site Scripting (XSS) in Web GUI

  • mediumPatched

    CVE-2021-21404Crash due to malformed relay protocol message

Syncthing Website

Website

Syncthing

Redirects

Does not redirect

Security Checks

All 65 security checks passed

Server Details

  • IP Address185.199.108.153
  • Hostnamecdn-185-199-108-153.github.com
  • LocationFrancisco,Indiana,United States of America,NA
  • ISPGitHub Inc.
  • ASNAS54113

Associated Countries

  • DEDE
  • USUS
  • ESES

Safety Score

Website marked as safe

100%

Trackers

No known trackers found

Blacklist Check

syncthing.net was found on 0 blacklists

  • AntiSocial Blacklist
  • Artists Against 419
  • Badbitcoin
  • Bambenek Consulting
  • CERT Polska
  • CoinBlockerLists
  • CRDF
  • CryptoScamDB
  • EtherAddressLookup
  • EtherScamDB
  • Fake Website Buster
  • MetaMask EthPhishing
  • NABP Not Recommended Sites
  • OpenPhish
  • PetScams
  • PhishFeed
  • PhishFort
  • Phishing.Database
  • PhishStats
  • PhishTank
  • Phishunt
  • RPiList Not Serious
  • Scam.Directory
  • SecureReload Phishing List
  • Spam404
  • StopGunScams
  • Suspicious Hosting IP
  • ThreatFox
  • ThreatLog
  • TweetFeed
  • URLhaus
  • ViriBack C2 Tracker

Website Preview

Website preview

Syncthing Docker

Container Info

Syncthing

[Syncthing](https://syncthing.net) replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.

#Backup

View on DockerHub

linuxserver/syncthing:latest

Run Command

docker run -d \
  -p 8384:8384/tcp \
  -p 22000:22000/tcp \
  -p 22000:22000/udp \
  -p 21027:21027/udp \
  -e PUID=${PUID} \
  -e PGID=${PGID} \
  -e TZ=${TZ} \
  -v /srv/lsio/syncthing/config:/config \
  -v /srv/lsio/syncthing/data1:/data1 \
  -v /srv/lsio/syncthing/data2:/data2 \
  --restart=unless-stopped \
  linuxserver/syncthing:latest

Compose File

version: 3.8
services:
  syncthing-container:
    image: "linuxserver/syncthing:latest"
    ports:
      - "8384:8384/tcp"
      - "22000:22000/tcp"
      - "22000:22000/udp"
      - "21027:21027/udp"
    environment:
      PUID: 1000
      PGID: 1000
      TZ: Etc/UTC
    volumes:
      - "/srv/lsio/syncthing/config:/config"
      - "/srv/lsio/syncthing/data1:/data1"
      - "/srv/lsio/syncthing/data2:/data2"
    restart: unless-stopped

Environment Variables

  • Var NameDefault
  • PUID1000
  • PGID1000
  • TZEtc/UTC

Port List

  • 8384:8384/tcp
  • 22000:22000/tcp
  • 22000:22000/udp
  • 21027:21027/udp

Volume Mounting

  • Container PathHost Bind
  • /config/srv/lsio/syncthing/config
  • /data1/srv/lsio/syncthing/data1
  • /data2/srv/lsio/syncthing/data2

Syncthing Reviews

More Backup and Sync

  • Modern and simpler alternative to Nextcloud/ownCloud crafted with TypeScript. Unifies file management, sync, sharing, notes, RSS, expenses, calendars, contacts, and photos, with MFA, WebDAV, CalDAV, CardDAV, SSO, and more.

  • NextCloud

    NextCloud

    nextcloud.com

    Feature-rich productivity platform, that can be used to backup and selectively sync encrypted files and folders between 1 or more clients. A key benefit the wide range of plug-ins in the NextCloud App Store, maintained by the community. NextCloud was a hard fork off OwnCloud.

  • SeaFile

    SeaFile

    seafile.com

    An open source cloud storage and sync solution. Files are grouped into Libraries, which can be individually encrypted, shared of synced. Docker image available for easy deployment, and native clients for Windows, Mac, Linux, Android and iOS.

About the Data: Syncthing

Edit Syncthing Data

You can edit Syncthing's entry in this section of awesome-privacy.yml by submitting a PR to our GitHub repo.
Note that some of the information shown above has been aggregated from external sources, a list of these can be found data documentation.

Origin Data

Modify Data

API

You can access Syncthing's data programmatically via our API. Simply make a GET request to:

https://api.awesome-privacy.xyz/v1/services/syncthing

The REST API is free, no-auth and CORS-enabled. To learn more, view the API Docs or read the API Usage Guide.

Share Syncthing

Help your friends compare Backup and Sync, and pick privacy-respecting software and services.
Share Syncthing and Awesome Privacy with your network!