Skip to content

Instantly share code, notes, and snippets.

@unlux
Created August 13, 2025 17:21
Show Gist options
  • Select an option

  • Save unlux/73c9b7b47327821876c995deb48511ca to your computer and use it in GitHub Desktop.

Select an option

Save unlux/73c9b7b47327821876c995deb48511ca to your computer and use it in GitHub Desktop.
I set up a self-hosted Syncthing instance on a Google Cloud VM to enable real-time, redundant synchronization of code across my laptop, Mac, and Android device. The VM is secured following best practices and protected with password authentication. Any changes made on any device are instantly synced to the VM, which then asynchronously distributes updates to all other devices over the internet using end-to-end encryption. With the VM always online, synchronization remains uninterrupted even if one or more devices are offline. Currently, the setup reliably maintains over 70,000 files in sync across all devices.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment