File Dropper

approvedunreviewed

by A B

Drop a file from your computer into a note to insert a clickable link to where it lives, instead of copying it into the vault.

Updated todayMIT

File Dropper

An Obsidian plugin that links to files instead of copying them. Drag a file from Explorer, Finder or your file manager into a note, and the plugin inserts a clickable link to the file where it already is. Nothing is copied into your vault.

What you get

You dropThe plugin inserts
A file outside the vault[report.pdf](<file:///C:/Users/me/Downloads/report.pdf>). Clicking it opens the file in its default app.
A file inside the vaultA normal Obsidian link, following your link settings (wikilink or Markdown).
Several filesOne link per line.

The link goes where you drop it. Spaces and parentheses in the path stay readable, because the link target is wrapped in <…>.

Copying into the vault anyway

Hold Ctrl (Option on macOS) while dropping to copy the file into your attachment folder instead, as Obsidian does without the plugin. Images, audio, video and PDFs are embedded; other files are linked. Ctrl and Option are also the "copy" keys in Explorer and Finder.

If your attachment folder starts with a dot (for example .attachments), Obsidian hides it and can't save attachments there, so the copy fails with "Folder already exists". Pick a folder name without a leading dot under Settings → Files and links.

If the plugin can't see a real path for a dropped item, for example an image dragged from a browser or an attachment dragged from an email, it leaves the drop to Obsidian.

Notes

  • Desktop only. On mobile there are no file paths to link to.
  • A file:/// link only works on computers where the file is at the same path. Links to files on a shared drive or in a synced folder like OneDrive work on every computer that has the same path.
  • The plugin makes no network requests. A plain drop only turns the file's path into a link; a Ctrl or Option drop reads the file to copy it into the vault.

Installing manually

Download main.js and manifest.json from the latest release into <vault>/.obsidian/plugins/file-dropper/, reload Obsidian, and enable File Dropper under Settings → Community plugins.

Building

npm install
npm run build   # writes main.js
npm run lint

Push a tag that matches the version in manifest.json (for example 1.0.0) and the release workflow builds and publishes the release.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.