Google Drive Sync

by Richard Xiong
5
4
3
2
1
Score: 75/100

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.

Reviews

No reviews yet.

Stats

356
stars
171,767
downloads
41
forks
658
days
14
days
14
days
12
total PRs
1
open PRs
8
closed PRs
3
merged PRs
40
total issues
7
open issues
33
closed issues
33
commits

Latest Version

15 days ago

Changelog

Fixed the url encoding on pagination requests.

README file from

Github

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
    • The code for this website can be found here
    • While the website repository uses NextJS edge requests for token refreshing/acquisition, in order to save on costs, I am routing the API requests through a server whose code can be found here
      • This does essentially the same thing as the website, but just bare bones.

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)
  • Vault files and configuration files selected for syncing are stored in Google Drive. They are sent directly between the user's device and the Google Drive API
  • By default, the plugin accesses https://ogd.richardxiong.com to convert the refresh token into an access token (while hiding the client secret) and to check internet connectivity with a simple ping request. Vault contents are not sent to this service
  • You can configure a self-hosted access token endpoint in the plugin settings. The refresh token and any optional client ID and client secret are sent to the configured endpoint

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 pull changes from Google Drive once when Obsidian finishes opening the vault
    • 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
  • You can enable Automatically push changes in the plugin settings to push one minute after the most recent local file change. This setting is disabled by default
  • If you want to set your local vault state to the Google Drive state, run the Reset 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
    • After the folder is created, you can move it anywhere within the same Google Drive account without affecting syncing
    • You can also rename or color the folder in Google Drive without affecting syncing
    • 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.
Anki Integration
a year ago by Noah Boos AKA Rift
Create flashcards from your notes with a seamless interface, structuring them with metadata and syncing effortlessly via AnkiConnect.
AnySocket Sync
2 years ago by Andrei Vaduva
Securely Synchronize your Vault on a self-hosted server
Askify Sync
3 years ago by Kishlay Raj
Attachment Uploader
a month ago by zhuxining
An attachment uploader plugin for Obsidian
Aut-O-Backups
5 years ago by ryanpcmcquen
Automated backups to Dropbox for Obsidian.
Awesome Flashcard
4 years ago by AwesomeDog
Handy Anki integration for Obsidian.
Awesome Reader
4 years ago by AwesomeDog
Make Obsidian a proper Reader.
BackItUp
2 years ago by Hammad Javed
🟣 Quickly make a copy or snapshot of a note in Obsidian.
BetaX NAS Sync
2 years ago by Skye
Obsidian NAS Sync
Bi Ji Tong Bu
a month ago by 笔记同步助手
Bi Ji Tong Bu (笔记同步助手) for Obsidian — marketplace edition (no self-update; full disclosures)
BookFusion
3 years ago by BookFusion
BookFusion Obsidian Plugin
BookXNote Sync
2 years ago by CodeListening
将bookxnote中的笔记同步到obsidian指定的文件夹中
Browser History
a year ago by noy4
Sync your browser history to notes.
Checkbox Sync
2 years ago by Grol
Keep parent/child checkboxes in sync automatically within your Obsidian task lists.
Cicada Synchronizer
2 years ago by Adapole, Adapole, Mahyar Mirrashed
Cliplet
10 months ago by namikaze-40p
An Obsidian plugin that serves as a clipboard and snippet manager — your own, separate from the OS clipboard.
Cloud Storage
2 years 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.
Cloudinary Uploader
5 years ago by Jordan Handy
An uploader for Obsidian to Cloudinary
Community Install Manager
a month ago by Konstantin Volobuev
Allows you to use `community-plugins.js` to search for and automatically install plugins when you launch `obsidian`.
Confluence Sync
3 years ago by Prateek Grover
Obsidian plugin for obsidian confluence sync
Cubox
a year ago by delphi-2015
Cubox Official Obsidian Plugin
Dedao Brain Importer
a month ago by springrain | 公众号: 及时春雨
在原版基础上修复windows无法手动和自动导入问题,以及优化很多格式转换为markdown
Differential ZIP Backup
3 years ago by vorotamoroz
Douban
4 years ago by Wanxp
an obsidian plugin that can pull data from douban to your markdown file
EasySync
a month ago by Jiao Yingxing
EasySync是一款适用于Obsidian的双向OneDrive同步插件,具有冲突保护、移动端支持以及可选的设置/插件同步功能。EasySync is a two-way OneDrive sync plugin for Obsidian with conflict safeguards, mobile support, and optional settings/plugin sync.
EUpload
2 years ago by Appleex
Obsidian 插件,专用于上传文件到存储仓库。目前支持 Lskypro(兰空图床),后续有需求会引入其它存储方式,如:Github/Gitee等等。
ExMemo Client
2 years ago by Yan.Xie
exmemo obsidian plugin
External File Linker
2 years ago by Kay606
Fast Note Sync
2 months ago by HaierKeys
Can be privately deployed, focusing on providing Obsidian users with a seamless, distraction-free note synchronization plugin with real-time sync across multiple platforms, supporting Mac, Windows, Android, iOS, and offering multilingual support.可私有化部署,专注为 Obsidian 用户提供无打扰、丝般顺滑、多端实时同步的多平台笔记同步插件。
Feedly Annotations Sync
2 years ago by Nick Felker
Download my Feedly annotations
Filename Heading Sync
5 years ago by dvcrn
Obisdian.md plugin to keep the filename and the first header of the file in sync
Full Calendar Remastered
3 months ago by obsidian-full-calendar-remastered
Keep events and manage your calendar alongside all your other notes in your Obsidian Vault.
Git Integration
3 years ago by noradroid
Obsidian plugin to add git integration
GitHub Gitless Sync
a year ago by Silvano Cerza
Sync a GitHub repository with vaults on different platforms without requiring git installation
Github Issues
a year ago by LonoxX
An Obsidian plugin that integrates with GitHub to track issues and pull requests directly in your vault.
GitHub Sync
3 years ago by Kevin Chin
Sync Obsidian vault to personal GitHub
Glasp
2 years ago by Glasp
Obsidian plugin to import highlights and notes from Glasp
Google Contacts
a year ago by aleksejs1
Obsidian plugin for sync Google Contacts with obsidian notes
Granola Meetings Simple Sync
a month ago by philfreo
"Granola Meetings Simple Sync" Plugin for Obsidian
Granola Sync
a month ago by tomelliot
Sync Granola notes to your Obsidian vault
HackMD Sync
2 years ago by thor kampefner
obsidian extension to push and pull notes from hackmd conveniently
Hardcover
7 months ago by aliceinwaterdeep
Sync your Hardcover.app library to your Obsidian notes.
ImgBB Uploader
2 years ago by Jordan Handy
An image uploader to imgBB for Obsidian
Imgur
6 years ago by Kirill Gavrilov
Pastes images right to imgur.com
InfoFlow
a year 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.
Instapaper
3 years ago by Instapaper
Official Instapaper plugin for Obsidian
Jira Issue Manager
a year ago by Alamion
Obisdian plugin to sync tasks between Obsidian and Jira
KOI Sync
2 years ago by Luke Miller
KOReader Sync
5 years ago by Federico "Edo" Granata
Obsidian.md plugin to sync highlights/notes from koreader
Limitless Lifelogs
a year ago by Maclean Dunkin
Sync your Limitless AI lifelog entries directly into Obsidian markdown files.
LINE Notes Sync
a year ago by onikun94
Link Archive
5 years ago by Tamás Deme
Link Archive plugin for Obsidian
Local Backup
2 months ago by velviagris
Automatically creates a local backup of the vault.
Markdown Hijacker
a year ago by Yongmini
Beyond the Vault. One hub for every Markdown, everywhere
Markwhen File Sync
a year ago by rouvenjahnke
Synchronize properties from your Obsidian notes with a Markwhen timeline file.
Memos AI Sync
2 years ago by leoleelxh
obsidian-memos-sync-plugin,将 Memos 内容同步到 Obsidian 的插件,提供无缝集成体验。
Memos Sync
2 years ago by RyoJerryYu
Syncing Memos to Obsidian daily note. Fully compatible with official Daily Notes plugin, Calendar plugin and Periodic Notes plugin.
Minio Uploader
3 years ago by Seebin
Upload images, videos, audio, pdf, and other files to Minio OSS.
Minote Sync
2 years ago by Emac Shen
Minote Sync is a Obsidian plugin to sync Minote(小米笔记) into your Vault.
MrDoc
10 months ago by zmister
An Obsidian plugin for MrDoc that enables two-way synchronization between local Obsidian documents and MrDoc.一个 Obsidian 的 MrDoc 插件,用于 Obsidian 本地文档与 MrDoc 的双向同步
Multi Cloud Sync
a month ago by d0uub
Nixsync
4 months ago by rowmayne
Obsidian plugin to export and import settings as Nix.
Notes Sync Share
3 years ago by Alt-er
Sync and share (publish) your notes in your own private service.
Nutstore Sync
9 months ago by nutstore-dev
Obsidian markdown export
4 years ago by bingryan
This plugin allows to export directory/single markdown to a folder. support output format(html/markdown/text)
Peerdraft
3 years ago by Peerdraft
Collaboration for Obsidian – Sync, Share, and Edit anywhere
Pinboard Sync
5 years ago by Mathew Spolin
Obsidian plugin to sync Pinboard.in links to Daily Notes
Readavocado Sync
4 years ago by Cyrus Zhang
Readavocado obsidian plugin to sync your favorite highlights.
Readwise Mirror
5 years ago by jsonmartin
Remotely Save
5 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.
S3 Image Uploader
4 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.
SamePage
4 years ago by SamePage
Self-hosted LiveSync
a month ago by vrtmrz
Settings profiles
3 years 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.
Share to NotionNext
3 years ago by EasyChris, jxpeng98
Share obsidian markdown file to any Notion database and generate notion share link 同步obsdian文件到任意Notion数据库。
Snipd Official
4 months ago by snipd-app
Social Archiver
2 months ago by Jun Lim
Release repository for Social Archiver - Archive social media posts from 8 platforms into Obsidian
Strava Sync
2 years ago by Howard Wilson
Sync Strava activities to your Obsidian vault
Sync Cnblog
2 years ago by zhanglei
同步文章到博客园
Sync config folder to common folder
2 years ago by codeonquer
Sync Engine
a month ago by Hēsperus
🔄 The fast and extensible synchronization engine for Obsidian.
Sync Graph Settings
4 years ago by Xallt
This is a plugin for syncing graph settings (Color Groups and Search Filters) to Local Graphs
Sync to Hugo
2 years ago by Cray Huang
Sync the selected notes from Obsidian to Hugo
Sync Vault CE
a year ago by Camus Qiu
Professional cloud sync & VFS for Obsidian. Features zero-space VFS, 4K streaming, MCP AI engine, and P2P collaboration. Supports Baidu/Aliyun/Quark/WebDAV/S3.
Sync-safe file names
10 months ago by j-maas
Ensure your Obsidian files can always be synced across all your devices.
Syncthing Integration
3 years ago by LBF38
Obsidian plugin for Syncthing integration
Taskbone
5 years ago by Dominik Schlund
Obsidian OCR plugin - extract text from images
Tencent COS for Imgur
2 years ago by bobostudio
🔥 Obsidian 腾讯云 COS 图床插件
TickTick
3 years ago by Viduy Cheung
TickTickSync
3 years ago by thesamim
Bidirectional synchronization between Obsidian and TickTick. Mobile compatible.
Todoist Sync
6 years ago by jamiebrynes7
Materialize Todoist tasks in Obsidian notes
VaultSync
2 years ago by Justin Bird
Obsidian plugin to link your vault to a cloud storage provider.
Vikunja Sync
2 years ago by Peter Heiss
Manage your tasks in vikunja.
Vim Multibyte Char Search
4 years ago by anselmwang
Search multibyte characters by the corresponding input method encoding. For example, for Chinese, search "用来" by "yl"
Voicenotes Sync
2 years ago by Andrew Lombardi
Official Obsidian plugin that syncs your notes from VoiceNotes.com into your vault
Webdav File Explorer
3 years ago by red0orange
Weread Plugin
4 years ago by hank zhao
Obsidian Weread Plugin is a plugin to sync Weread(微信读书) hightlights and annotations into your Obsidian Vault.
Weread Vault
a month ago by 茜宁郑
Sync WeRead highlights, import book lists, and connect personal reading notes in Obsidian.
WhatsApp backup importer
2 years ago by Luigi Cerone
Obsidian plugin that allows you to import exported WhatsApp chat archives (in .zip format) into your vault.
WikiDocs
2 years ago by pahkey
WuCai highlights Official
3 years ago by 希果壳五彩
WuCai highlights Official, for Sync highlights into your obsidian notes
Yandex Wiki Integration
a year ago by Pavel Sokolov
YAOS
4 months ago by kavinsood
A zero-terminal, real-time sync engine powered by your own Cloudflare Worker.