Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ebullient opened this issue Jan 4, 2023 · 2 comments
Open

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

ebullient opened this issue Jan 4, 2023 · 2 comments

Comments

@ebullient
Copy link

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
Copy link
Owner

mcndt commented Jan 15, 2023

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
Copy link
Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants