DEV Community

Bryan Rafael
Bryan Rafael

Posted on

Synca 1.0.1: an open-source Google Drive sync client for Linux and Windows

I use Linux every day, and Google Drive has always been the annoying part of my desktop. I wanted a client that runs in the tray, lets me pick folders, and handles conflicts without me writing scripts or paying a subscription. I couldn't find the app I wanted, so I built Synca.

Synca is an open-source Google Drive sync client for Linux and Windows. It's a Go daemon + Tauri/React UI, MIT-licensed, and it talks directly to Google Drive. No Synca account, no backend in the middle.

What it does

You add a local folder and pick one of three modes:

  • two-way
  • upload-only
  • download-only

The daemon watches the folder with fsnotify, uploads local changes, and polls Drive for remote changes. There's a tray icon, autostart, ignored folders (node_modules, .git), proxy settings, and an English/pt-BR UI. The source package also ships a systemd user unit; the prebuilt AppImage uses tray/autostart.

The part I care about: not losing data

Sync tools are scary because a bad download can replace a good local file. Some of the things I added in 1.0.1:

  • Downloads go to a temporary file in the destination directory, are checked against the expected size and MD5, and only then replace the destination. A failed download leaves the old file intact.
  • If a remote folder listing fails, the deletion pass is skipped. Missing data is not treated as a deletion.
  • Conflict copies get unique names, so several conflicts in the same second don't overwrite each other.
  • Config and sync state are written atomically (temp file + fsync + rename).

Remote-created folders now download recursively. Local folder trees already uploaded recursively. There are guards for unsafe remote names, cycles, and the 100-level Drive folder limit.

Install

  • Arch: yay -S synca-bin (prebuilt AppImage, recommended). There's also synca for a source build, but the source package needs your own Google Cloud OAuth credentials.
  • Other Linux: AppImage or .deb from the releases page.
  • Windows: NSIS installer.

Google will ask for full Drive access. That's what lets it read/write the folders you choose. There is no Synca server; the OAuth token stays on your machine.

What it doesn't do yet

  • Google Docs/Sheets/Slides as regular files
  • shared drives
  • dotfiles/temp files are skipped right now
  • remote deletions are only reconciled at the top level
  • it's young software, so test with a copy of your data first

How it's built

Go daemon (fsnotify + Drive API) + Tauri/React frontend over a loopback WebSocket. CI runs Go tests/race/staticcheck/govulncheck, Rust fmt/clippy/tests, frontend build/audit, and gitleaks. Releases include SHA256SUMS, SBOM, and build provenance attestations.

Repo: https://github.com/bryanrafaelbueno/Synca
Releases: https://github.com/bryanrafaelbueno/Synca/releases

If you try it, I'd love to know what breaks or what's missing. I'm especially interested in feedback from people who use Drive on Linux every day.

Top comments (0)