jinhefeng17 downloadsPublish the active Obsidian note with one click after a one-time Cloudflare setup, including linked pages and local assets.
Language / 语言: English | 中文
Once your Cloudflare account is connected, publish the active Obsidian Markdown note with one click. One-Click Publish can include linked notes, upload referenced local assets, and keep a stable link when you publish updates.
/s/{siteId} website.mailto: links, and external assets unchanged.share_site_id, share_link, and share_updated to the root note's frontmatter.In Obsidian, open Settings → Community plugins → Browse, search for One-Click Publish, install it, and enable it.
Download manifest.json and main.js from the latest GitHub Release. Place both files in:
.obsidian/plugins/one-click-publish/
Then open Settings → Community plugins and enable One-Click Publish.
The first deployment creates a private Worker and D1 database in your Cloudflare account. The plugin stores only the Worker URL and scoped Publish Token in the Vault after deployment. The Cloudflare access token is used in memory and revoked after setup.
After setup, include this plugin's settings when syncing the Vault to another device. Notes-only sync does not transfer the publishing connection.
Linked page depth controls how far One-Click Publish follows links:
0: publish only the active note.1: include directly linked notes.The active note is always the share root. Local images and supported referenced assets are uploaded with the pages. External resources are not downloaded or rewritten.
The normal settings page does not ask for a service URL or Publish Token. The official hosted connection is planned; the current supported path deploys to your own Cloudflare account.
One-Click Publish stores the site ID in the root note's frontmatter. Publishing the same root note again updates the existing site instead of creating a new link.
manifest.json and main.js are directly inside .obsidian/plugins/one-click-publish/.For development, testing, packaging, and release instructions, see CONTRIBUTING.md.