Upload images to Google Drive and replace local embeds with links.
English · 한국어
Paste or drag an image into a note and Loft uploads it to your own Google Drive, then inserts a rendering Markdown image link — keeping your vault light.
requestUrl() and OAuth 2.0 Device Flow, which work on both.drive.file scope. Loft can only see the files it creates — it never touches the rest of your Drive, so no Google verification is required.Attachments/Images, using / for subfolders); the plugin creates and owns these folders. An optional Parent folder ID nests the path inside an existing Drive folder.google.com/device and you're connected.lh3, thumbnail, or apiMedia (alt=media). The "Re-resolve Drive image links" command (current note or whole vault) rewrites existing links to the chosen format, or recovers them if Google changes its URL format — all without re-uploading.Loft uploads to your own Google Drive, so each user creates their own Google Cloud OAuth client once (about 10 minutes, free, no credit card). You then paste the Client ID and Client secret into Loft's settings.
In brief:
.../auth/drive.file scope; add yourself as a test user, or publish the app).See the step-by-step guide: docs/reference/google-cloud-setup.md.
main.js, manifest.json, and styles.css into your vault's .obsidian/plugins/loft/ foldergoogle.com/device to authorize.Attachments/Images) and click Create / connect folder. Optionally set a Parent folder ID to nest it under an existing Drive folder.data.json inside your vault. They are not encrypted in an OS keychain yet, so treat your vault as you would any credential store.drive.file scope. It cannot see the rest of your Drive.isDesktopOnly: false).Released under the MIT License.
Also available in 한국어.