Google Drive Sync
by Richard Xiong
Score: 20/100
favorite
share
Description

The Google Drive Sync plugin allows users to synchronize their Obsidian vaults with Google Drive, enabling seamless cross-device access to their notes. It supports two-way syncing, prioritizing local changes and automatically resolving conflicts. The plugin ensures that multiple vaults can be managed within a single Google account while maintaining data integrity and configuration consistency. Users can manually push and pull updates or rely on automatic syncing when Obsidian is open.

Stats
51
stars
12,948
downloads
6
forks
138
days
128
days
128
days
1
total PRs
1
open PRs
0
closed PRs
0
merged PRs
9
total issues
8
open issues
1
closed issues
42
commits
Latest Version
4 months ago
Changelog

Fixed config pushing so that it works even after closing.

README file from

Google Drive Sync

This is an unofficial sync plugin for Obsidian, specifically for Google Drive.

Disclaimer

  • This is not the official sync service provided by Obsidian
  • This plugin communicates with external servers, namely the Google Drive API and https://ogd.richardxiong.com
    • The details of this communication are explained at the bottom of the notes section

Caution

ALWAYS backup your vault before using this plugin.

Features

  • Syncing both ways (from Obsidian to Google Drive and back)
  • Cross-device support
  • Obsidian iOS app support
  • Local file prioritization (automatically resolves conflicts)
  • Multiple vaults per Google account
  • Configuration syncing

New Devices

  • If you've already been using this plugin and want to start using it on a new device, then follow these instructions:
    1. Open Google Drive and download the entire Obsidian folder to your new device
    2. Move the Obsidian folder to the location where you want your vault to be
    3. Open Obsidian and set the vault location to the folder you just moved
  • If you activate the plugin on a new device without downloading the Obsidian folder from Google Drive, the plugin will start downloading from Google Drive as per a typical sync, which could take an extremely long amount of time depending on the number of notes in Google Drive, but it would still work (we suggest the above method instead)

Notes

  • Do NOT manually upload files into the generated Obsidian Google Drive folder or use some other method of Google Drive sync
    • Our plugin cannot see these files, and it will likely break functionality, potentially causing data loss
    • Instead, use this plugin on any device you wish to sync the vault between
  • Do NOT manually change files outside of the Obsidian app
    • Our plugin tracks file changes through the Obsidian API, and if you change files outside of the app, the plugin will not be able to track these changes
  • If you ever encounter the following situation or vice versa, SYNC after you delete/rename it and before you rename/create the file/folder with the exact same path (this error arises from our plugin seeing a file convert into a folder or vice versa) (this doesn't apply for file to file or folder to folder):
    • You have a file that has NO file extension already synced (most files have a file extension so you usually don't have to worry about this)
    • You delete it/rename it
    • You rename/create a folder with the exact same path
  • When activating this plugin on a new vault, make sure the vault is empty
    • If you have files that you want to sync to Google Drive from before the plugin, move them to another vault, delete them from the current vault, activate the plugin, and copy them back in THROUGH THE OBSIDIAN APP
  • We suggest only editing Obsidian notes on one device at a time to avoid conflicts and syncing before editing on another device
    • Our plugin does have code to handle conflicts, but it might not be perfect or as the user expects, so try to avoid them
  • Make sure to sync with an adequate internet connection
    • Closing the app or losing connection while syncing could lead to data corruption
  • The plugin does NOT have manual conflict resolution
    • If you encounter a conflict, the plugin will automatically resolve it with local file prioritization
  • Do NOT change the Obsidian configuration folder
    • If you really want to, make a new vault, change the folder, enable the plugin, and copy your files over (you can move the contents of .obsidian to the new folder through file explorer)
  • This only accesses the Google Drive API to sync files and does not access or store any data outside of the user's device
  • This only accesses https://ogd.richardxiong.com to convert refresh tokens into access tokens (while hiding the client secret) and to check internet connectivity with a simple ping request

Setup

Note: Instructions are also on this plugin's homepage with images at https://ogd.richardxiong.com

  1. Visit this plugin's homepage at https://ogd.richardxiong.com
  2. Click Sign In at the top right and log in with your Google account
  3. Copy the refresh token that appears after logging in
  4. Enable the Google Drive Sync plugin in Obsidian
  5. Paste the refresh token into the plugin settings in Obsidian
  6. Reload the Obsidian app

Use

  • After setup, the plugin will automatically sync your vault with Google Drive whenever Obsidian is open
    • This sync is from Google Drive TO Obsidian, not the other way around (pulling cloud files)
    • The plugin prioritizes unsynced local changes except for local file deletions (cloud file creation/modification will overwrite local deletion)
    • You can pull by running the Pull from Google Drive command
    • Pulling new plugins/configurations may require a restart of Obsidian
  • To sync local changes to Google Drive, click the sync button on the ribbon or run the Push to Google Drive command from the command palette
    • While you do not have to sync before you close Obsidian, we suggest doing so to ensure that Google Drive is up to date and no conflicts occur
    • This will pull changes before pushing changes to Google Drive
  • If you want to set your local vault state to the Google Drive state, run the Set Local Vault to Google Drive command
  • If you mess with the vault's files while Obsidian is closed, try to revert any of the changes you made

Multiple Vaults

  • The Google Drive folder that gets created upon setup is the root folder for the vault and is tagged with the vault name
    • It is named the same as your vault name, has a matching description, and stores the vault name internally
    • You can rename the Google Drive folder without consequence
    • You can also color the folder in Google Drive and place it wherever you please
    • Each file in the vault is also tagged with the vault name inside Google Drive's properties
  • Each vault is connected to the Google Drive folder that has the same tag/internal name
    • If you want multiple devices to sync to the same vault, the vault names must match
  • You can have multiple vaults per Google account by having local vaults with different names
    • Do NOT rename local vaults that you are syncing to Google Drive
    • Instead, make a new vault, sync it, and transfer your files over
    • We will not add any implementation to automate this process because it inherently messes with other synced devices

Privacy Policy: https://ogd.richardxiong.com/privacy

Similar Plugins
info
• Similar plugins are suggested based on the common tags between the plugins.
Tressel Sync for Obsidian
3 years ago by Tressel
Official Tressel plugin to export various content from the Internet (like Twitter, Reddit, Kindle and more) into Obsidian
KOReader Sync
3 years ago by Federico "Edo" Granata
Obsidian.md plugin to sync highlights/notes from koreader
Pinboard Sync
3 years ago by Mathew Spolin
Obsidian plugin to sync Pinboard.in links to Daily Notes
Vim Multibyte Char Search
3 years ago by anselmwang
Search multibyte characters by the corresponding input method encoding. For example, for Chinese, search "用来" by "yl"
Fleeting Notes Sync
3 years ago by Matthew Wong
An Obsidian plugin to sync Obsidian with Fleeting Notes
Weread Plugin
3 years ago by hank zhao
Obsidian Weread Plugin is a plugin to sync Weread(微信读书) hightlights and annotations into your Obsidian Vault.
Douban
2 years ago by Wanxp
an obsidian plugin that can pull data from douban to your markdown file
Readavocado Sync
2 years ago by Cyrus Zhang
Readavocado obsidian plugin to sync your favorite highlights.
Vika Sync
2 years ago by romantic-black
SamePage
2 years ago by SamePage
Obsidian markdown export
2 years ago by bingryan
This plugin allows to export directory/single markdown to a folder. support output format(html/markdown)
Sync Graph Settings
2 years ago by Xallt
This is a plugin for syncing graph settings (Color Groups and Search Filters) to Local Graphs
S3 Image Uploader
2 years ago by jvsteiner
This project implements an image uploader, similar to others offered by the community, with one important difference: you can provide your own s3 based storage, instead of relying on a third party service, such as imgur.
Awesome Reader
2 years ago by AwesomeDog
Make Obsidian a proper Reader.
WuCai highlights Official
2 years ago by 希果壳五彩
WuCai highlights Official, for Sync highlights into your obsidian notes
Askify Sync
2 years ago by Kishlay Raj
Invio
2 years ago by frontend-engineering
Publish obsidian docs online
Syncthing Integration
2 years ago by LBF38
Obsidian plugin for Syncthing integration
Yet Another Obsidian Synchronizer
2 years ago by Mahyar Mirrashed
Yet Another Obsidian Synchronizer.
Local Backup
2 years ago by GC Chen
Automatically creates a local backup of the vault.
TickTick
2 years ago by Viduy Cheung
Webdav File Explorer
2 years ago by red0orange
Share to NotionNext
2 years ago by EasyChris, jxpeng98
Share obsidian markdown file to any Notion database and generate notion share link 同步obsdian文件到任意Notion数据库。
Notes Sync Share
a year ago by Alt-er
Sync and share (publish) your notes in your own private service.
Minio Uploader
a year ago by Seebin
Upload images, videos, audio, pdf, and other files to Minio OSS.
Attachment Uploader
a year ago by zhuxining
An attachment uploader plugin for Obsidian
TickTickSync
a year ago by thesamim
Peerdraft
a year ago by Peerdraft
Collaboration for Obsidian – Sync, Share, and Edit anywhere
Instapaper
a year ago by Instapaper
Official Instapaper plugin for Obsidian
Settings profiles
a year ago by 4Source
This is a plugin for Obsidian (https://obsidian.md). Allows you to create various global settings profiles. You can sync them between different vaults. To keep all your settings in sync, you'll never have to manually adjust them again for every vault you have or create in the future.
GitHub Sync
a year ago by Kevin Chin
Sync Obsidian vault to personal GitHub
Git Integration
a year ago by noradroid
Obsidian plugin to add git integration
BookFusion
a year ago by BookFusion
BookFusion Obsidian Plugin
Differential ZIP Backup
a year ago by vorotamoroz
Confluence Sync
a year ago by Prateek Grover
Obsidian plugin for obsidian confluence sync
Cicada Synchronizer
a year ago by Adapole, Adapole, Mahyar Mirrashed
BackItUp
a year ago by Hammad Javed
🟣 Quickly make a copy or snapshot of a note in Obsidian.
Sync config folder to common folder
a year ago by codeonquer
Voicenotes Sync
a year ago by Andrew Lombardi
A plugin for Obsidian to sync with the VoiceNotes.com service
Memos Sync
10 months ago by RyoJerryYu
Syncing Memos to Obsidian daily note. Fully compatible with official Daily Notes plugin, Calendar plugin and Periodic Notes plugin.
Yanki
9 months ago by Eric Mika
An Obsidian plugin that syncs flashcards from a folder in your vault to Anki. Pure Markdown syntax. No fuss.
DocBase (Unofficial)
9 months ago by yurikuvanov
Unofficial DocBase plugin for Obsidian
Vikunja Sync
9 months ago by Peter Heiss
Manage your tasks in vikunja.
AnySocket Sync
7 months ago by Andrei Vaduva
Securely Synchronize your Vault on a self-hosted server
ImgBB Uploader
7 months ago by Jordan Handy
An image uploader to imgBB for Obsidian
Todoist Sync
4 years ago by jamiebrynes7
Materialize Todoist tasks in Obsidian notes
Imgur
4 years ago by Kirill Gavrilov
Pastes images right to imgur.com
Filename Heading Sync
4 years ago by dvcrn
Obisdian.md plugin to keep the filename and the first header of the file in sync
Readwise Mirror
4 years ago by jsonmartin
Aut-O-Backups
4 years ago by ryanpcmcquen
Automated backups to Dropbox for Obsidian.
Taskbone
4 years ago by Dominik Schlund
Obsidian OCR plugin - extract text from images
Anki Sync
4 years ago by debanjandhar12
Obsidian plugin to make flashcards and sync them to Anki
Link Archive
3 years ago by Tamás Deme
Link Archive plugin for Obsidian
Cloudinary Uploader
3 years ago by Jordan Handy
An uploader for Obsidian to Cloudinary
Remotely Save
3 years ago by fyears
Sync notes between local and cloud with smart conflict: S3 (Amazon S3/Cloudflare R2/Backblaze B2/...), Dropbox, webdav (NextCloud/InfiniCLOUD/Synology/...), OneDrive, Google Drive (GDrive), Box, pCloud, Yandex Disk, Koofr, Azure Blob Storage.
BookXNote Sync
6 months ago by CodeListening
将bookxnote中的笔记同步到obsidian指定的文件夹中
Cloud Storage
5 months ago by Jiajun Ma
Obsidian Cloud Storage is a powerful and user-friendly plugin designed to seamlessly integrate cloud storage capabilities into your Obsidian workflow. This plugin allows you to effortlessly upload your attachments to the cloud, freeing up local storage space and enabling easy sharing and access across all your devices.
Strava Sync
5 months ago by Howard Wilson
Sync Strava activities to your Obsidian vault
ExMemo Client
5 months ago by Yan.Xie
exmemo obsidian plugin
Unearthed (Kindle Sync)
5 months ago by CheersCal
HackMD Sync
5 months ago by thor kampefner
obsidian extension to push and pull notes from hackmd conveniently
Sync to Hugo
4 months ago by Cray Huang
Sync the selected notes from Obsidian to Hugo
Sync Cnblog
4 months ago by zhanglei
同步文章到博客园
WikiDocs
4 months ago by pahkey
BetaX NAS Sync
3 months ago by Skye
Obsidian NAS Sync
Confluence Space Sync
3 months ago by Pwnyprod
A Plugin to Sync full Confluence Spaces to Obsidian.
Hoarder Sync
3 months ago by Jordan Hofker
An Obsidian.md community plugin that allows syncing with hoarder.app
Tencent COS for Imgur
3 months ago by bobostudio
🔥 Obsidian 腾讯云 COS 图床插件
Cooksync
2 months ago by Cooksync
WhatsApp backup importer
2 months ago by Luigi Cerone
Obsidian plugin that allows you to import exported WhatsApp chat archives (in .zip format) into your vault.
Feedly Annotations Sync
2 months ago by Nick Felker
Download my Feedly annotations
External File Linker
2 months ago by Kay606
Glasp
2 months ago by Glasp
Obsidian plugin to import highlights and notes from Glasp
Minote Sync
2 months ago by Emac Shen
Minote Sync is a Obsidian plugin to sync Minote(小米笔记) into your Vault.
EUpload
2 months ago by Appleex
Obsidian 插件,专用于上传文件到存储仓库。目前支持 Lskypro(兰空图床),后续有需求会引入其它存储方式,如:Github/Gitee等等。
Checkbox Sync
a month ago by Grol
VaultSync
a month ago by Justin Bird
Obsidian plugin to link your vault to a cloud storage provider.
KOI Sync
a month ago by Luke Miller
Memos AI Sync
a month ago by leoleelxh
obsidian-memos-sync-plugin,将 Memos 内容同步到 Obsidian 的插件,提供无缝集成体验。
Jade Publisher
a month ago by Lucas Ji
This is a simple plugin to help publish your Obsidian vault to a public website(build with Jade).
Sync Vault CE
a month ago by Camus Qiu
sync vault, fully self controlled method of syncing.
InfoFlow
22 days ago by RockieStar Inc.
Obsidian plugin for InfoFlow.app - This plugin integrates InfoFlow with Obsidian, allowing you to sync your saved articles, web pages, notes, and highlights directly into your Obsidian vault.
LINE Notes Sync
15 days ago by onikun94
GitHub Gitless Sync
13 days ago by Silvano Cerza
Sync a GitHub repository with vaults on different platforms without requiring git installation