Skip to content

Releases

1.1.0

Choose a tag to compare

@dg0988 dg0988 released this 17 Nov 04:16

GSync 1.1.0

New

  • More folders: sync any vault folder with its own Drive folder, alongside the whole-vault folder. For example, vault Work with a folder your team shares. The whole-vault folder leaves paired folders alone.
  • View-only folders: folders shared with you as Viewer or Commenter now sync safely. Drive's changes download; nothing is uploaded or deleted there. If you edit a file, your edit is kept as a "(local edit …)" copy and Drive's version is restored.
  • Settings sync (off by default): keep Obsidian settings, themes, CSS snippets and community plugins the same on every device. Separate toggles for core settings, appearance, the enabled-plugin list and installed plugins, plus a list of plugins to keep separate on each device. Requested in #1.
    • The first time you turn it on, a device takes the settings already in Drive, so a new phone adopts your computer's setup instead of overwriting it.
    • GSync's own sign-in data and each device's window layout are never synced.

Android and performance

Thanks to @rozmar1n (#2, #3):

  • Large files now transfer in bounded pieces (16 MB by default, adjustable under Transfer chunk size), fixing out-of-memory crashes on big PDFs and media.
  • Live progress shows the file, MB transferred, percent and speed.
  • The first sync recognizes files that already match Drive by checksum, without downloading them.

Shared Drives

Folders in Shared Drives (Shared drives/<drive name>/<folder>) need the separate GSync Teams add-on, coming soon. GSync itself has no paid features.

Upgrading

  • Requires Obsidian 1.12.3 or later.
  • Your existing setup, sign-in, and sync history carry over. New features stay off until you turn them on.

Full details: README

1.0.4

Choose a tag to compare

@dg0988 dg0988 released this 14 Oct 03:24
5680166

GSync 1.0.4

Added

  • Support GSync: a donate link on the plugin's Community plugins page and a small Support section at the bottom of GSync's settings. GSync stays free; donating is entirely optional.

No settings changes. Your sign-in and sync history are kept.

1.0.3

Choose a tag to compare

@dg0988 dg0988 released this 06 Oct 03:17
6b23631

GSync 1.0.3

1.0.1 and 1.0.2 were published without their source changes; this release contains all of them.

Fixed

  • Sign in with Google now opens the browser on iOS and Android. The sign-in link is prepared before you tap, so mobile browsers no longer block it. If the browser is still blocked, the link is copied so you can paste it into Safari or Chrome.

Changed

  • Always skips the vault's configuration folder by its actual name, even if it was renamed from .obsidian.
  • Release files are built by GitHub Actions with signed build provenance (verify with gh attestation verify main.js --repo dg0988/ObsidianGSync).
  • README documents vault file listing and clipboard use.

Internal

  • Typed Google API responses and cleaned up lint warnings from the community directory review.

No settings changes. Your sign-in and sync history are kept.

1.0.2

Choose a tag to compare

@dg0988 dg0988 released this 06 Oct 03:06
b435196

GSync 1.0.2

Changed

  • Always skips the vault's configuration folder by its actual name, even if it was renamed from .obsidian.
  • Release files are now built by GitHub Actions with signed build provenance (verify with gh attestation verify main.js --repo dg0988/ObsidianGSync).
  • README documents vault file listing and clipboard use.

Internal

  • Typed Google API responses and cleaned up lint warnings from the community directory review.

No settings changes. Your sign-in and sync history are kept.

1.0.1

Choose a tag to compare

@dg0988 dg0988 released this 06 Oct 02:42
f95b002

Fix: Sign in with Google now opens the browser on iOS and Android.

1.0.0

Choose a tag to compare

@dg0988 dg0988 released this 06 Oct 02:24
52afc1d

GSync 1.0.0

Two-way sync between your vault and a Google Drive folder using the Google Drive API. Works on desktop, Android, and iPad/iPhone.

Install

  • BRAT: Add beta plugin → dg0988/ObsidianGSync
  • Manual: download main.js and manifest.json below into <vault>/.obsidian/plugins/gsync/

Full setup is in the README.

What's new

  • Renamed to GSync (plugin ID gsync), previously "Google Drive Vault Sync" (gdrive-vault-sync).
  • Sign in with Google on every device. Sign-in now works directly on Android and iOS: your browser opens, you approve, and you're sent back to Obsidian. No more copying refresh tokens between devices (still supported as an option).
  • No Node.js or Electron APIs. Sign-in uses only Web APIs and a static redirect page hosted in this repo (docs/callback.html).
  • New setting: Sign-in redirect page. Defaults to https://dg0988.github.io/ObsidianGSync/callback.html; can point to your own copy.
  • Added LICENSE (MIT), source code, and README disclosures for network use and account requirements.

Features

  • Two-way sync with conflict copies: nothing is silently overwritten
  • Deletions go to Drive trash / Obsidian trash, and deletion sync can be turned off
  • First sync compares contents, so it works with folders that already hold your notes
  • Hidden folders (.obsidian, .trash, .git) are never synced
  • Exclude rules and a max file size limit
  • Progress saved every 10 files; interrupted syncs resume instead of starting over
  • Sync from the settings button, the ribbon icon, the command palette, on startup, or on a timer

Upgrading from Google Drive Vault Sync (0.1.x)

  1. Create a new OAuth client in Google Cloud: type Web application, with authorized redirect URI https://dg0988.github.io/ObsidianGSync/callback.html. Desktop app clients can't use the new sign-in.
  2. Install GSync. It installs into a new gsync folder, so settings don't carry over.
  3. Sign in and set your Drive folder. Enter the new client ID and secret, tap Sign in with Google, and set the same Drive folder as before. The first sync compares files by content, so nothing is duplicated.
  4. Uninstall Google Drive Vault Sync and delete .obsidian/plugins/gdrive-vault-sync/.

Notes

  • If a device's vault is already inside Google Drive for Desktop, don't also run GSync there against the same folder.
  • Publish your Google OAuth app to In production, or sign-ins expire every 7 days.

0.1.3

Choose a tag to compare

@dg0988 dg0988 released this 06 Oct 01:48
8a5dd73

Google Drive Vault Sync 0.1.3

First public release. Two-way sync between an Obsidian vault and a Google Drive folder using the Drive API. Works on desktop, Android, and iPad/iPhone.

Install

  • BRAT: Add beta plugin → dg0988/ObsidianGSync
  • Manual: download main.js and manifest.json below into <vault>/.obsidian/plugins/gdrive-vault-sync/

Setup (Google OAuth client, sign-in, mobile token) is covered in the README.

Features

  • Two-way sync with conflict copies: nothing is ever silently overwritten
  • Deletions go to Drive trash / Obsidian trash, and deletion sync can be turned off
  • First sync compares contents, so it works with folders that already contain your notes
  • Hidden folders (.obsidian, .trash, .git) are never synced
  • Exclude rules (folders, extensions, file names) and a max file size limit
  • Sync from the settings button, the ribbon icon, the command palette, on startup, or on a timer

Changes in this version

0.1.3

  • Sync progress is saved every 10 files, so a crash or closed app resumes where it left off instead of starting over
  • Automatic startup sync is skipped if the previous sync didn't finish, which prevents crash loops on mobile
  • New Max file size setting (default 25 MB); larger files are skipped and listed
  • Live progress notice on mobile during long syncs
  • _debug_remotely_save/ excluded by default

0.1.2

  • Drive folder paths accept backslashes (Folder\Subfolder) as well as /
  • Sync history is reset automatically when the folder path is corrected

0.1.1

  • Added a Sync now button to the plugin settings

0.1.0

  • Initial version

Notes

  • If a device's vault is already inside Google Drive for Desktop, don't also run this plugin there against the same folder.
  • Publish your Google OAuth app to In production, or sign-ins expire every 7 days.