Upload local image references in markdown to a self-hosted PicFast instance with one click. Surfaces an upload action above each local image reference.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Upload local images from VS Code to a self-hosted PicFast
instance. Works with both guest uploads and API tokens.
Ctrl+Alt+U / Cmd+Alt+U — scan the current markdown/HTML file, upload every
local image reference, and replace paths in place
Ctrl+Alt+V / Cmd+Alt+V — pick a single local image, upload it, insert the link
at the cursor
Recognizes  and <img src="https://github.com/atbeta/picfast/raw/HEAD/path" /> references, skips remote URLs
All replacements applied as a single undoable edit
Status bar feedback and cancellable progress notification
Requirements
VS Code 1.78 or later
A reachable PicFast instance. Authenticated uploads work with an API token;
guest uploads require allow_guest_upload: true on the server.
Quick start
Install the extension from Marketplace.
Run "PicFast: Set Base URL" from the Command Palette, or set
picfast.baseUrl in settings.
Example: https://picfast.your-company.com (or try our demo at https://demo.picfast.dev)
Optionally set picfast.apiToken for authenticated uploads.
Open a markdown file, press Ctrl+Alt+U.
For one-off uploads, press Ctrl+Alt+V and pick a file.
Commands
Command
Title
Keybinding
picfast.uploadLocalImages
Upload and Replace Local Image References
Ctrl+Alt+U / Cmd+Alt+U
picfast.pasteImage
Upload Local Image File
Ctrl+Alt+V / Cmd+Alt+V
picfast.setBaseUrl
Set Base URL
—
picfast.setApiToken
Set API Token
—
picfast.openDocs
Open Documentation
—
Keybindings can be changed via Ctrl+K Ctrl+S → search "picfast".
Configuration
Setting
Type
Default
Description
picfast.baseUrl
string
https://your-picfast.example.com
Base URL of your PicFast instance (no trailing slash)