mcndt / obsidian-quickshare

📝 An Obsidian plugin for sharing encrypted Markdown notes on the web. Zero configuration required.
MIT License
249 stars 9 forks source link

[Feature request] Allow download (GET) of unrendered file #29

Open ebullient opened 1 year ago

ebullient commented 1 year ago

Allow another Obsidian user to download the file directly into their vault.

Could use a plugin command "Download shared note" that would accept the encrypted URL, and make the GET request with an Accept: text/markdown,text/plain or to indicate that the file should be returned as-is, without the rendered web view.

It isn't clear to me if you could use this to share other kinds of files as well.

mcndt commented 1 year ago

That's a super cool idea. I wonder if we could even take this a step further and add a "Download to vault" button to the web viewer that opens Obsidian and stores the note in your vault directly. What do you think?

ebullient commented 1 year ago

I was thinking about this because of what I would like to share:

  1. a document that uses leaflet, which means an associated image attachment.
  2. a way to include a button inside obsidian that fetches the magic URL (without the trip through the web viewer).