S3 attachments storage

approved

by TechTheAwesome

Storage and retrieval of media attachments on S3 compatible services.

37 stars3,903 downloadsUpdated 2y agoMIT
View on GitHub

S3 attachments storage

GitHub GitHub Workflow Status wakatime

An Obsidian plugin for storage and retrieval of media attachments on S3 compatible services.

Getting started

  • Clone this repo.
  • npm i to install dependencies
  • npm run build to compile to main.js

Manually installing the plugin

  • Copy over main.js, manifest.json to your vault VaultFolder/.obsidian/plugins/your-plugin-id/.

Feature list

Supported files (limited by files allowed to be linked by Obsidian):

  • images (.ico, .png, .jpg, .gif).
  • videos (.mp4).
  • audio (.mp3, .wav).

Upload

  • Upload on paste.
  • Upload on drag-n-drop.
  • Upload on adding attachments.

Retrieval

  • Generate links for images.
  • Generate links for videos.
  • Generate links for audio.
  • Returning download links for un-supported resource? (pdf, txt, ...).

Helpers/Misc

  • Command: delete un-used resources.
  • Command: Show bucket size
  • Rename links on port/foldername changes.

Unplanned

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

Many thanks

Inspiration taken from:

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.