An Obsidian plugin for storage and retrieval of media attachments on S3 compatible services.
- Clone this repo.
npm i
to install dependenciesnpm run build
to compile tomain.js
- Copy over
main.js
,manifest.json
to your vaultVaultFolder/.obsidian/plugins/your-plugin-id/
.
Supported files (limited by files allowed to be linked by Obsidian):
- images (.ico, .png, .jpg, .gif).
- videos (.mp4).
- audio (.mp3, .wav).
- Upload on paste.
- Upload on drag-n-drop.
- Upload on adding attachments.
- Generate links for images.
- Generate links for videos.
- Generate links for audio.
- Returning download links for un-supported resource? (pdf, txt, ...).
- Command: delete un-used resources.
- Command: Show bucket size
- Rename links on port/foldername changes.
- Command: upload existing compatible attachments.
- Parallel uploads.
- Retry counts and delays.
- Upload static html sites.
- Generate links for static html.
- Resource local caching (may increase incompatibility with mobile).
Inspiration taken from: