Google Drive Sync

by Richard Xiong
5
4
3
2
1
Score: 50/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

267
stars
116,075
downloads
30
forks
535
days
256
days
524
days
2
total PRs
0
open PRs
1
closed PRs
1
merged PRs
34
total issues
30
open issues
4
closed issues
43
commits

Latest Version

a year ago

Changelog

Fixed config pushing so that it works even after closing.

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

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
4 years ago by Tressel
Official Tressel plugin to export various content from the Internet (like Twitter, Reddit, Kindle and more) into Obsidian
KOReader Sync
4 years ago by Federico "Edo" Granata
Obsidian.md plugin to sync highlights/notes from koreader
Pinboard Sync
4 years ago by Mathew Spolin
Obsidian plugin to sync Pinboard.in links to Daily Notes
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"
Weread Plugin
4 years ago by hank zhao
Obsidian Weread Plugin is a plugin to sync Weread(微信读书) hightlights and annotations into your Obsidian Vault.
Douban
4 years ago by Wanxp
an obsidian plugin that can pull data from douban to your markdown file
Readavocado Sync
4 years ago by Cyrus Zhang
Readavocado obsidian plugin to sync your favorite highlights.
Vika Sync
4 years ago by romantic-black
Awesome Flashcard
4 years ago by AwesomeDog
Handy Anki integration for Obsidian.
SamePage
3 years ago by SamePage
Obsidian markdown export
3 years ago by bingryan
This plugin allows to export directory/single markdown to a folder. support output format(html/markdown/text)
Sync Graph Settings
3 years ago by Xallt
This is a plugin for syncing graph settings (Color Groups and Search Filters) to Local Graphs
S3 Image Uploader
3 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
3 years ago by AwesomeDog
Make Obsidian a proper Reader.
WuCai highlights Official
3 years ago by 希果壳五彩
WuCai highlights Official, for Sync highlights into your obsidian notes
Askify Sync
3 years ago by Kishlay Raj
Invio
3 years ago by frontend-engineering
Publish obsidian docs online
Syncthing Integration
3 years ago by LBF38
Obsidian plugin for Syncthing integration
Local Backup
3 years ago by GC Chen
Automatically creates a local backup of the vault.
TickTick
3 years ago by Viduy Cheung
Webdav File Explorer
3 years ago by red0orange
Share to NotionNext
3 years ago by EasyChris, jxpeng98
Share obsidian markdown file to any Notion database and generate notion share link 同步obsdian文件到任意Notion数据库。
AnkiSync+
3 years ago by RochaG0
Notes Sync Share
3 years ago by Alt-er
Sync and share (publish) your notes in your own private service.
Minio Uploader
2 years ago by Seebin
Upload images, videos, audio, pdf, and other files to Minio OSS.
Attachment Uploader
2 years ago by zhuxining
An attachment uploader plugin for Obsidian
TickTickSync
2 years ago by thesamim
Peerdraft
2 years ago by Peerdraft
Collaboration for Obsidian – Sync, Share, and Edit anywhere
Instapaper
2 years ago by Instapaper
Official Instapaper plugin for Obsidian
Settings profiles
2 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.
GitHub Sync
2 years ago by Kevin Chin
Sync Obsidian vault to personal GitHub
Git Integration
2 years ago by noradroid
Obsidian plugin to add git integration
BookFusion
2 years ago by BookFusion
BookFusion Obsidian Plugin
Differential ZIP Backup
2 years ago by vorotamoroz
Confluence Sync
2 years ago by Prateek Grover
Obsidian plugin for obsidian confluence sync
Cicada Synchronizer
2 years ago by Adapole, Adapole, Mahyar Mirrashed
BackItUp
2 years ago by Hammad Javed
🟣 Quickly make a copy or snapshot of a note in Obsidian.
Sync config folder to common folder
2 years ago by codeonquer
Voicenotes Sync
2 years ago by Andrew Lombardi
Official Obsidian plugin that syncs your notes from VoiceNotes.com into your vault
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.
DocBase (Unofficial)
2 years ago by yurikuvanov
Unofficial DocBase plugin for Obsidian
Vikunja Sync
2 years ago by Peter Heiss
Manage your tasks in vikunja.
AnySocket Sync
2 years ago by Andrei Vaduva
Securely Synchronize your Vault on a self-hosted server
ImgBB Uploader
2 years ago by Jordan Handy
An image uploader to imgBB for Obsidian
Todoist Sync
6 years ago by jamiebrynes7
Materialize Todoist tasks in Obsidian notes
Imgur
5 years ago by Kirill Gavrilov
Pastes images right to imgur.com
Filename Heading Sync
5 years ago by dvcrn
Obisdian.md plugin to keep the filename and the first header of the file in sync
Readwise Mirror
5 years ago by jsonmartin
Aut-O-Backups
5 years ago by ryanpcmcquen
Automated backups to Dropbox for Obsidian.
Taskbone
5 years ago by Dominik Schlund
Obsidian OCR plugin - extract text from images
Link Archive
5 years ago by Tamás Deme
Link Archive plugin for Obsidian
Cloudinary Uploader
4 years ago by Jordan Handy
An uploader for Obsidian to Cloudinary
Remotely Save
4 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
2 years ago by CodeListening
将bookxnote中的笔记同步到obsidian指定的文件夹中
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.
Strava Sync
2 years ago by Howard Wilson
Sync Strava activities to your Obsidian vault
ExMemo Client
2 years ago by Yan.Xie
exmemo obsidian plugin
Unearthed (Kindle Sync)
a year ago by CheersCal
HackMD Sync
a year ago by thor kampefner
obsidian extension to push and pull notes from hackmd conveniently
Sync to Hugo
a year ago by Cray Huang
Sync the selected notes from Obsidian to Hugo
Sync Cnblog
a year ago by zhanglei
同步文章到博客园
WikiDocs
a year ago by pahkey
BetaX NAS Sync
a year ago by Skye
Obsidian NAS Sync
Hoarder Sync
a year ago by Jordan Hofker
An Obsidian.md community plugin that allows syncing with https://karakeep.app/
Tencent COS for Imgur
a year ago by bobostudio
🔥 Obsidian 腾讯云 COS 图床插件
WhatsApp backup importer
a year ago by Luigi Cerone
Obsidian plugin that allows you to import exported WhatsApp chat archives (in .zip format) into your vault.
Feedly Annotations Sync
a year ago by Nick Felker
Download my Feedly annotations
External File Linker
a year ago by Kay606
Glasp
a year ago by Glasp
Obsidian plugin to import highlights and notes from Glasp
Minote Sync
a year ago by Emac Shen
Minote Sync is a Obsidian plugin to sync Minote(小米笔记) into your Vault.
EUpload
a year ago by Appleex
Obsidian 插件,专用于上传文件到存储仓库。目前支持 Lskypro(兰空图床),后续有需求会引入其它存储方式,如:Github/Gitee等等。
Checkbox Sync
a year ago by Grol
Keep parent/child checkboxes in sync automatically within your Obsidian task lists.
VaultSync
a year ago by Justin Bird
Obsidian plugin to link your vault to a cloud storage provider.
KOI Sync
a year ago by Luke Miller
Memos AI Sync
a year ago by leoleelxh
obsidian-memos-sync-plugin,将 Memos 内容同步到 Obsidian 的插件,提供无缝集成体验。
Jade Publisher
a year 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 year ago by Camus Qiu
The missing bridge between your 10+ TB cloud drive and your AI brain.
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.
LINE Notes Sync
a year ago by onikun94
GitHub Gitless Sync
a year ago by Silvano Cerza
Sync a GitHub repository with vaults on different platforms without requiring git installation
GitHub Tracker
a year ago by schaier-io
Browser History
a year ago by noy4
Sync your browser history to notes.
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.
Jira Issue Manager
a year ago by Alamion
Obisdian plugin to sync tasks between Obsidian and Jira
Cubox
a year ago by delphi-2015
Cubox Official Obsidian Plugin
Limitless Lifelogs
a year ago by Maclean Dunkin
Sync your Limitless AI lifelog entries directly into Obsidian markdown files.
Markwhen File Sync
a year ago by rouvenjahnke
Synchronize properties from your Obsidian notes with a Markwhen timeline file.
Markdown Hijacker
a year ago by Yongmini
Beyond the Vault. One hub for every Markdown, everywhere
Google Contacts
a year ago by aleksejs1
Obsidian plugin for sync Google Contacts with obsidian notes
Yandex Wiki Integration
10 months ago by Pavel Sokolov
Github Issues
10 months ago by LonoxX
An Obsidian plugin that integrates with GitHub to track issues and pull requests directly in your vault.
Sync-safe file names
6 months ago by j-maas
Ensure your Obsidian files can always be synced across all your devices.
Cliplet
6 months ago by namikaze-40p
An Obsidian plugin that serves as a clipboard and snippet manager — your own, separate from the OS clipboard.
MrDoc
6 months ago by zmister
An Obsidian plugin for MrDoc that enables two-way synchronization between local Obsidian documents and MrDoc.一个 Obsidian 的 MrDoc 插件,用于 Obsidian 本地文档与 MrDoc 的双向同步
Nutstore Sync
5 months ago by nutstore-dev
Hardcover
3 months ago by aliceinwaterdeep