Browse, sync and edit your Google Drive files on demand, with selective offline and automatic two-way sync. Works on mobile.
Browse, sync and edit your Google Drive from inside Obsidian — files-on-demand, selective offline, and automatic two-way sync. Works on desktop and mobile (iPhone/iPad included).
Google Drive's official desktop app keeps your files in sync on macOS/Windows, but there is no such thing on iOS. Drive on Demand brings your Drive into Obsidian on every platform: navigate a lazy Drive tree, tick exactly the folders/files you want available offline, and let the plugin keep them in sync in both directions.
This plugin is free during the current beta. Later, a low-cost subscription (planned around 1–2 €/month) will be introduced to cover the hosted authentication service and ongoing development.
.trash folder. A file with local edits not yet uploaded is never deleted. More than 10 deletions at once ask for confirmation first. Unticking a file only removes the local copy, never the Drive one.(conflict …) copy is created; your data is never silently overwritten..md link notes to their native editor.To keep your credentials safe, Drive on Demand does not embed any Google client secret in the plugin. Instead it uses a small hosted authentication broker operated by Real-IT.
The plugin communicates with exactly two remote services:
googleapis.com) — to list, download and upload the files you choose to sync. This is the whole point of the plugin.https://obsidian-drive-on-demand-server.real-it.org) — used only for the Google sign-in flow: it exchanges the one-time authorization code for tokens and refreshes your access token server-side, so the Google client secret never ships inside the plugin (which would be insecure on a public/mobile app). The broker never receives your notes or file contents — only OAuth tokens tied to your Google account.Your Google refresh token is stored locally in the plugin's own data (data.json) on your device. The broker holds the client secret required to refresh it; see the Privacy Policy for exactly what the broker stores and for how long.
A Google account is required (to authorise Drive access). You connect it once via Settings → Drive on Demand → Connect my account. When the paid plan launches, a Real-IT account/subscription will additionally be required for full access.
Prefer to stay fully independent of the Real-IT broker? You can connect the plugin to your own Google Cloud project — this removes the managed service's 100-user cap and the weekly re-login. See the step-by-step guide: docs/setup-byo.md.
Settings → Community plugins → Browse → search "Drive on Demand" → Install → Enable.
realitorg/app-realitorg-obsidiandriveondemand-client-obsidian-ts.npm install
npm run build # produces main.js
npm test # unit tests (vitest)
npm run check # type-check
Issues and feature requests: this repository's issue tracker. Project page: https://real-it.org/drive-on-demand
MIT © Real-IT (Loïc Bertrand)