Attachment Uploader

by zhuxining
5
4
3
2
1
Score: 50/100

Description

The attachment uploader plugin uploads local attachments to cloud storage by running a user defined shell command and replacing the local file with the returned network URL. It can be configured to handle only selected attachment formats, delete the original local file after a successful upload and trigger automatically when content is pasted or dragged in from outside the app. The plugin includes ready made command patterns for tools like uPic and Picsee, but it also works with a custom script as long as the command prints the uploaded file URL in its output. That keeps the workflow flexible while leaving storage choice and upload logic under your control instead of locking it to one service.

Reviews

No reviews yet.

Stats

8
stars
2,788
downloads
6
forks
76
days
76
days
76
days
8
total PRs
0
open PRs
1
closed PRs
7
merged PRs
7
total issues
0
open issues
7
closed issues
15
commits

RequirementsExperimental

  • An external image hosting or cloud upload tool with a shell command that returns the uploaded file URL

Latest Version

3 months ago

Changelog

README file from

Github

Compatibility

Requires Obsidian Desktop 1.14.4 or later. Upload commands run as local executables, so mobile devices are not supported.

obsidian-attachment-uploader

This Obsidian plugin helps you upload local attachments to cloud storage. You can customize the upload command and specify which attachment formats to upload.

中文文档

Features

  • Custom upload commands
    • Built-in uPic upload command: /Applications/uPic.app/Contents/MacOS/uPic -o url -u %s
    • Built-in Picsee upload command: "/Applications/Picsee.app/Contents/MacOS/Picsee -u %s"
  • Customizable attachment formats to upload
  • Supports standard Markdown images and Wiki embeds, excluding code, comments and raw HTML
  • Optional source deletion after upload, disabled by default; respects Obsidian's trash preference and retains files when references remain or checks are uncertain
  • Automatically uploads files pasted or dragged from outside Obsidian, falling back to local attachments if upload fails
  • If local fallback also fails or a cloud upload succeeds but its link cannot be inserted, a notice shows the recovery location or URL
  • The auto-upload setting only controls uploads triggered by modifications to existing local attachments

Installation

  1. In Obsidian, open the plugin manager
  2. Search for "obsidian-attachment-uploader"
  3. Click "Install", then enable and configure after installation

Configuration

  1. Install an image hosting tool with a command-line interface, or prepare a custom upload executable
  2. Configure the Obsidian attachment uploader plugin
  • Upload Command: Include exactly one standalone %s argument for the local attachment path. Direct shell pipelines and variable expansion are unsupported; use a trusted executable wrapper if needed. Built-in uPic and Picsee commands need no script.
  • Attachment Formats to Upload: Configure which attachment formats to upload, separated by commas or line breaks
  • Delete Original After Upload: Enable optional source deletion after the attachment link is successfully replaced
  • Auto Upload: Upload existing local attachments when they are modified; pasting and dragging upload independently of this setting
  1. Custom command examples
  • uPic command: /Applications/uPic.app/Contents/MacOS/uPic -o url -u %s
  • stdout must provide a single distinct HTTP(S) destination URL, optionally labelled Output URL:; multiple different results are rejected.
  • Example output:
    Uploading ...
    Uploading 1/1
    Output URL:
    https://example.com/image.png
    

Usage

  1. Open a note containing attachments in Obsidian
  2. Press command+p to open the command palette and type Upload editor attachments, or use the Ribbon button

Credits

  • Inspired by typora image upload functionality

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
File Cleaner
5 years ago by Johnson0907
A file cleaner plugin for Obsidian.
Paste image rename
4 years ago by Reorx
Renames pasted images and all the other attachments added to the vault
Nuke Orphans
4 years ago by Sandorex
Obsidian notes plugin that trashes orphaned files and attachments
Janitor
4 years ago by Gabriele Cannata
Performs various maintenance tasks on the Obsidian vault
Obsidian markdown export
4 years ago by bingryan
This plugin allows to export directory/single markdown to a folder. support output format(html/markdown/text)
S3 attachments storage
4 years ago by TechTheAwesome
An Obsidian plugin for storage and retrieval of media attachments on S3 compatible services.
S3 Image Uploader
4 years ago by jvsteiner
This project implements an image uploader, similar to others offered by the community, with one important difference: you can provide your own s3 based storage, instead of relying on a third party service, such as imgur.
O2
4 years ago by haril song
Converts obsidian markdown syntax to other platforms.
Google Keep Import
3 years ago by Dale de Silva
Imports Google Keep backup files
Attachment Management
3 years ago by trganda
Attachment Management of Obsidian
Attachment Manager
3 years ago by chenfeicqq
Attachment folder name binding note name, automatically rename, automatically delete, show/hide.
Webdav File Explorer
3 years ago by red0orange
File Cleaner Redux
3 years ago by husjon
A plugin for Obsidian to help clean up files in your vault
Minio Uploader
3 years ago by Seebin
Upload images, videos, audio, pdf, and other files to Minio OSS.
Note Companion Folder
3 years ago by Chris Verbree
A Obsidian Plugin providing a way to associate a folder to a note
Infostacker Note Publish
2 years ago by Taskscape LTD, Patryk Nowak, Kacper Pabianiak
Infostacker plugin for Obisidian
ImgBB Uploader
2 years ago by Jordan Handy
An image uploader to imgBB for Obsidian
Imgur
6 years ago by Kirill Gavrilov
Pastes images right to imgur.com
Consistent attachments and links
6 years ago by Dmitry Savosh
Obsidian plugin. Move note with attachments.
Unique attachments
6 years ago by Dmitry Savosh
Obsidian plugin. Renames attachments, making their names unique.
Custom Attachment Location
5 years ago by RainCat1998
Customize attachment location with variables($filename, $data, etc) like typora.
Cloudinary Uploader
5 years ago by Jordan Handy
An uploader for Obsidian to Cloudinary
Cloud Storage
2 years ago by Jiajun Ma
Obsidian Cloud Storage is a powerful and user-friendly plugin designed to seamlessly integrate cloud storage capabilities into your Obsidian workflow. This plugin allows you to effortlessly upload your attachments to the cloud, freeing up local storage space and enabling easy sharing and access across all your devices.
Google Drive Sync
2 years ago by Richard Xiong
A plugin to make Obsidian work in Google Drive to enable access to iOS.
Insert Multiple Attachments
2 years ago by mnaoumov
Obsidian Plugin that allows to insert multiple attachments at a time
Local Any Files
2 years ago by ShermanTsang
A obsidian plugin used to extract and download files in your obsidian note.
Tencent COS for Imgur
2 years ago by bobostudio
🔥 Obsidian 腾讯云 COS 图床插件
EUpload
2 years ago by Appleex
Obsidian 插件,专用于上传文件到存储仓库。目前支持 Lskypro(兰空图床),后续有需求会引入其它存储方式,如:Github/Gitee等等。
Image Size
2 years ago by Jie Zhang
Set the default size for pasted images.
Paste Image Into Property
2 years ago by Nito
VaultSync
2 years ago by Justin Bird
Obsidian plugin to link your vault to a cloud storage provider.
Attachments Cache
2 years ago by luisbs
Obsidian plugin to cache attachments locally
Auto Folder Note Paste
2 years ago by d7sd6u
Convert your note into folder note upon pasting or drag'n'dropping an attachment
WebDAV Image Uploader
a year ago by ste
Uploads, downloads and deletes images on WebDAV server within Obsidian notes.
Linked Note Exporter
a year ago by the-c0d3r
Obsidian plugin to export a note along with all its attachments and linked notes—cleanly, conveniently, and ready to share.
Content-Addressed Attachments
7 months ago by NateScarlet
Stores obsidian attachments using content-based addressing (similar to IPFS)
YAOS
5 months ago by kavinsood
A zero-terminal, real-time sync engine powered by your own Cloudflare Worker.
Advanced Note Mover
3 months ago by Lars Bücker
Quickly and easily move notes to predefined folders. Perfect for organizing your notes.
Fast Note Sync
3 months ago by HaierKeys
Can be privately deployed, focusing on providing Obsidian users with a seamless, distraction-free note synchronization plugin with real-time sync across multiple platforms, supporting Mac, Windows, Android, iOS, and offering multilingual support.可私有化部署,专注为 Obsidian 用户提供无打扰、丝般顺滑、多端实时同步的多平台笔记同步插件。
Find Orphaned Images
3 months ago by josmarcristello
Find Orphaned Images is an Obsidian plugin designed to help you keep your vault clean and organized by identifying and managing images that are not linked anywhere in your notes.
Attachment Organizer
3 months ago by kiteruunner
Automatically organize attachments into zone-based folders with conflict detection and batch operations
inBox Sync
2 months ago by maoruibin
inBox 笔记的 Obsidian 插件
Image Manager
2 months ago by David V. Kimball
Insert, rename, and sort external images by transforming them into local files within your notes.
Bi Ji Tong Bu
2 months ago by 笔记同步助手
Bi Ji Tong Bu (笔记同步助手) for Obsidian — marketplace edition (no self-update; full disclosures)