Operations 7 min read

Auto‑Publish Obsidian Markdown Images to Multiple Platforms with PicGo and Tencent COS

This guide walks you through using Obsidian, PicGo, and Tencent Cloud COS to automatically upload local Markdown images, replace URLs, and publish notes to platforms like Feishu and WeChat without manually handling each image, saving time and avoiding clutter.

Java One
Java One
Java One
Auto‑Publish Obsidian Markdown Images to Multiple Platforms with PicGo and Tencent COS

Required Tools

Obsidian

– a powerful Markdown editor. PicGo – an open‑source image‑hosting manager that can auto‑upload images from Obsidian.

Tencent Cloud COS – low‑cost object storage for the uploaded images.

Markdown formatting tool (e.g., doocs) for publishing to public accounts.

Configure Tencent COS

After purchasing COS, create a storage bucket, choose a nearby region, and set the access permission to “public read, private write” so that external platforms can fetch the images.

Create a folder (e.g., images) inside the bucket.

Obtain the required credentials from the COS console:

APPID

SecretId

SecretKey

Tip: Record these values securely; you will need them for PicGo.

Set Up PicGo

Download PicGo from its GitHub releases page and install it.

In the settings, add a new storage configuration for Tencent COS, ensuring the storage path matches the bucket folder name.

Disable the optional “Intelligent Compression” service if you did not purchase it.

Important: The storage path in PicGo must be identical to the COS folder name.

Install Obsidian Image‑Auto‑Upload Plugin

Open Obsidian’s third‑party plugin market (Preferences → Third‑party plugins → Browse), search for image auto upload, install and enable it. The default configuration works without changes.

Upload Images

Right‑click a local image in a note and select “upload”. The image is sent to COS, and the Markdown link is automatically replaced with the cloud URL.

If the note contains external image links (e.g., from overseas sites), right‑click the image, choose “copy image”, paste it into the note, and PicGo will upload and replace the link.

For new images, copy‑paste (Ctrl +C / Ctrl + V) the image into the note; PicGo will handle the upload automatically.

Formatting for Publication Platforms

After images are uploaded, the note can be exported to platforms such as Feishu (directly import as an online document) and WeChat public accounts (usually require a formatting step with a tool like doocs).

Core Workflow

Write Markdown locally in Obsidian.

PicGo automatically uploads embedded images to Tencent COS.

COS provides public URLs that are inserted back into the note.

Publish the formatted note to multiple platforms without manual image handling.

Obsidian发布到wechat.png
Obsidian发布到wechat.png
workflowTencent COSMarkdownPicGoObsidianContent PublishingImage Automation
Java One
Written by

Java One

Sharing common backend development knowledge.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.