Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

CSDN Sync

Julien LinJulien Lin68 downloads

Open the current note in the CSDN Markdown editor and fill it through a local Chrome extension bridge.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

CSDN Sync opens the current Obsidian note in the CSDN Markdown editor and fills the title, Markdown body, and local images.

It uses a local bridge:

  • The Obsidian plugin reads the active Markdown note and starts a localhost task server.
  • The companion Chrome extension uses your existing CSDN login session in Chrome.
  • The extension opens the CSDN editor and inserts the note content. You still review and save or publish manually.

Requirements

  • Obsidian desktop app.
  • Google Chrome.
  • A signed-in CSDN account in Chrome.
  • The companion Chrome extension from this repository.

This plugin is desktop-only because it starts a local HTTP server and depends on a browser extension.

Install

From Obsidian community plugins

After the plugin is accepted, install it from Settings -> Community plugins by searching for CSDN Sync.

Manual install for testing

  1. Download main.js and manifest.json from the GitHub release.
  2. If styles.css is included in the release, download it too.
  3. Copy the files to <Vault>/.obsidian/plugins/csdn-sync/.
  4. Reload Obsidian.
  5. Enable CSDN Sync in Settings -> Community plugins.

Chrome extension setup

The Chrome extension is currently distributed from this repository.

  1. Run cd extension && npm install && npm run build.
  2. Open chrome://extensions.
  3. Enable Developer mode.
  4. Select Load unpacked and choose extension/dist.
  5. Open the extension popup.
  6. Set the Obsidian base URL to http://127.0.0.1:27187.
  7. Copy the token from Obsidian -> Settings -> CSDN Sync into the extension.
  8. Select Check connection.

Use

  1. Open a Markdown note in Obsidian.
  2. Run CSDN Sync: Open current note in CSDN editor from the command palette, or use the ribbon icon.
  3. Chrome opens the CSDN Markdown editor and fills the note.
  4. Review the content in CSDN.
  5. Save the draft or publish manually.

Title rules

The plugin chooses the article title in this order:

  1. title in frontmatter.
  2. The Obsidian file name.
  3. The first H1 heading.

Image handling

Local Obsidian images are uploaded to CSDN image storage before the Markdown is inserted. Remote images are left as Markdown links.

Privacy and data

CSDN Sync does not collect analytics and does not send vault data to any service controlled by this project.

When you run the sync command:

  • The active note title, Markdown body, and referenced local images are exposed on 127.0.0.1 for the companion Chrome extension.
  • Task endpoints require the token shown in the plugin settings.
  • The Chrome extension sends the note content and images to CSDN only when you explicitly run the command.
  • The local server listens on 127.0.0.1 only.

Limits

  • Only the active Markdown file is supported.
  • The plugin does not publish articles automatically.
  • The plugin does not edit existing CSDN articles.
  • CSDN editor UI changes can break the fill flow.

Development

npm install
npm run test
npm run build
npm run lint

For Chrome extension development:

cd extension
npm install
npm run test
npm run build

Release

  1. Update manifest.json and versions.json.
  2. Run npm run package:obsidian.
  3. Create a GitHub release whose tag exactly matches manifest.json version.
  4. Upload main.js and manifest.json as release assets.
  5. Upload styles.css only if it is included.

The generated local release folder is written to release/csdn-sync-<version>/.

HealthExcellent
ReviewCaution
About
Open the active Obsidian note in the CSDN Markdown editor and auto-fill the title, Markdown body, and upload local images via a local bridge and companion Chrome extension. Use Obsidian desktop with Chrome signed into CSDN, then review and save or publish the draft manually in CSDN.
PublishingIntegrations
Details
Current version
1.0.3
Last updated
Last month
Created
Last month
Updates
4 releases
Downloads
68
Compatible with
Obsidian 1.0.0+
Platforms
Desktop only
License
0BSD
Report bugRequest featureReport plugin
Author
Julien LinJulien Linjul1en-lin
GitHubjul1en-lin
  1. Community
  2. Plugins
  3. Publishing
  4. CSDN Sync

Related plugins

Digital Garden

Publish your notes to a digital garden for others to enjoy.

GitHub

Share as Gist

Share a note as a GitHub.com Gist.

Quartz Syncer

Manage and publish your notes to Quartz, the fast, batteries-included static-site generator.

BRAT

Easily install a beta version of a plugin for testing.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Share Note

Instantly share/publish a note, with the full theme and content exactly like you see in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Zotero Integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.