Skip to content
Go back

Why Syncthing is My Preferred Obsidian Sync Solution

Published:  at  02:23 PM

obsidian-sync-header.png

Table of contents

Open Table of contents

Introduction

If you’re anything like me and use Obsidian for all your notes, then keeping them updated across all your devices is a huge deal. Now, sure, there’s the official Obsidian Sync service and other cloud stuff out there, and they’re pretty easy. But honestly, sometimes that means giving up a bit of privacy, right? I really wanted a way to sync my notes that felt strong, private, and totally under my control. After trying out a bunch of options, Syncthing totally won me over. So, in this post, I’m gonna walk you through how I got Syncthing all set up to smoothly sync my Obsidian notes across my Windows laptop, Windows desktop, and Android phone. It’s truly a private way to keep your notes in sync, just for you!

My Use Case: Syncing Without the Wait

Before I dive into the nitty-gritty, let me tell you what I really wanted out of a sync solution. With things like LiveSync, Remotely Save, or even Git, I always had this annoying wait. I’d open Obsidian, and then I’d have to just sit there for 30 to 60 seconds, sometimes even longer, waiting for the vault to fully sync up before I could actually start working. My goal was simple: I wanted my Obsidian vault to be completely synced and ready to go before I even launched the app. No more waiting around, just instant access to my notes, no matter which device I picked up.

Why Syncthing? My Syncing Adventure

Before I landed on Syncthing, I went on a bit of a journey, experimenting with a few other methods. Each one had its good points and its not-so-good points:

So, why did Syncthing win? Here are its superpowers (and a couple of tiny quirks):

Syncthing really shone through, tackling all the annoyances I had with the other methods:

My Multi-Device Syncthing Setup: A Walkthrough

Here’s how I got Syncthing all set up across my different devices:

1. Windows Devices (Laptop & Desktop):

For Windows, I found this awesome project called Bill-Stewart/SyncthingWindowsSetup. It handles all the tricky bits like installation, running it as a service, and even firewall rules, which makes it way easier than doing it all manually.

2. Android Phone:

On my Android phone, I went for the Syncthing-Fork app from the Google Play Store. This version often has some cool extra features and runs really well on Android.

The APK can also be found on Github! Catfriend1/syncthing-android

syncthing-fork-screenshot.png

Connecting Everything & Getting Your Obsidian Vault Syncing

The real magic of Syncthing is getting all your devices to trust each other and then telling them which folders to share. My first move was connecting my Windows laptop to my “Goku” instance – that’s my always-on Syncthing server running 24/7 in an Oracle Cloud VM using Docker Compose and Coolify.

This 24/7 server isn’t strictly necessary, but it will guarantee that your changes will be heard whenever you’re working in your Obsidian vault.

syncthing-node-diagram.png

Here are the steps I followed to connect my devices and share my vault:

  1. Adding a Remote Device (on Windows):

    • In the Windows Syncthing Web UI, I clicked “Add Remote Device.”

    • I grabbed the Device ID from my “Goku” Syncthing Web UI (it’s a long string of letters and numbers) and pasted it into the field. I also gave it a friendly name, like “Goku.”

    • Under the “Sharing” tab for “Goku,” I checked the “Introducer” box. This is neat because it lets “Goku” help my Windows machine find and connect to my other Syncthing devices automatically.

    • Then, I just saved the device settings.

  2. Accepting the Connection (on Goku):

    • Over on “Goku’s” Syncthing Web UI, a notification popped up asking to accept the new device connection from my Windows machine. I clicked “Accept.”
  3. Share Your Obsidian Vault Folder:

    • Super important tip here: I made absolutely sure Obsidian was closed on all my devices during this initial full sync process. This helps prevent any weird conflicts.

    • On the device where my main Obsidian vault lives (in my case, “Goku”), I went to the folder that holds my Obsidian vault.

    • Under the “Share” tab for that folder, I checked the box next to my new Windows device.

    • Back on the Windows Syncthing Web UI, I got a notification to accept the new shared folder. I clicked “Accept.”

    • I then told Syncthing the local folder path on my Windows machine where I wanted the Obsidian vault to be copied and synced.

    • Finally, under the “Devices” tab for this shared folder, I made sure all the devices I wanted to sync with (Windows, Goku, Android) were selected.

  4. Turning on Staggered File Versioning (Seriously, do this!):

    • For each shared Obsidian vault folder, I went into the “Versioning” tab.

    • I picked “Staggered File Versioning.” This feature keeps multiple old copies of your changed files, but it’s smart about it – it deletes really old ones after a while or if disk space gets low. This has been a total lifesaver for me, especially when I’ve had conflicts or accidentally messed something up in my .obsidian configuration folder. If things go sideways, I can easily grab an older version of a whole folder! syncthing-file-versioning.png I just use the default settings for Staggered File Versioning

  5. No .stignore Needed (So far, so good!):

    • Funnily enough, I haven’t even needed to create a .stignore file for my Obsidian vault. Syncthing has just handled syncing everything, including the .obsidian folder and all its little files (like workspace.json and trash), without any problems or conflicts. All my devices are set to “Send & Receive,” which means they can both send and get changes.

✅ Quick Tips for a Super Smooth Obsidian Sync

Honestly, Syncthing has completely changed how I use Obsidian. It’s given me a truly private, reliable, and flexible way to keep my notes perfectly synced across all my gadgets. If you’re looking to take charge of your Obsidian vault’s syncing without paying that subscription, then Syncthing is definitely something you should check out!



Next Post
Automating Obsidian Sync and Blog Deployment with Nextcloud and GitHub Actions