dewada9107 downloadsPublish notes and files to WeKnora, track parsing, and archive completed uploads while preserving document associations.
A desktop Obsidian integration for publishing selected notes and files to your own WeKnora knowledge base. Independent community project; not an official Obsidian or Tencent product.
Status: listed in the Obsidian Community directory. Directory inclusion does not imply that each update has been manually reviewed by Obsidian staff. Windows desktop has been tested; macOS/Linux have not been verified. This project does not include a hosted service, keys, or a private deployment.
Initial upload, retrieval and search use WeKnora APIs. In-place updates require a compatible guarded file-replacement endpoint; automatic catalog/graph import requires a separate authenticated snapshot endpoint. These are deployment extensions, not assumed to exist in stock WeKnora. See the API contract. Unsupported updates remain visible as errors; the client never deletes and recreates a document to pretend an update succeeded.
If you only run stock WeKnora, validate the API contract before enabling continuous publication. Do not install private deployment scripts from another user's environment. The project intentionally excludes server credentials and environment-specific provisioning scripts.
Requires Obsidian 1.11.4+ on desktop. Mobile is not supported by this release.
Open the official community listing and choose Add to Obsidian, then configure the plugin using steps 3–5 below. Alternatively, download weknora-bridge-1.3.4-plugin.zip from the latest release and extract its three files into <vault>/.obsidian/plugins/weknora-bridge/.
For a local source build, use steps 1–2 first:
npm test and npm run build with Node.js 20+.<vault>/.obsidian/plugins/weknora-bridge/ and copy only dist/main.js, dist/manifest.json, and dist/styles.css into it.On another computer, configure its local secret again. Do not copy a live data.json to another knowledge base: it contains document identities, publication intent and recovery state. Export or back up that state privately before changing your installation.
Draft → intake folder → upload → parsing → completed → published folder
Editing a published file updates the same document. Obsidian's fileManager.renameFile handles link updates according to your Obsidian preference; keep automatic link updating enabled. Moving a document updates its path metadata on the next sync and can trigger one further server parse. Failed parsing, concurrent edits and conflicts stay visible instead of being moved prematurely.
The app must be open to upload. Offline requests back off; reopening resumes from saved records. Deleting a local file does not delete its remote document. This is publication plus optional derived-data import, not a two-way editor for remote originals.
Public domains and IPs require HTTPS with a trusted certificate matching the address. Private/loopback IPs may use HTTP. Certificate verification is never disabled. Keep the existing knowledge-base ID and secret when changing the root URL; Save and connect checks existing remote source identity before switching.
Your reverse proxy must forward the documented /api/v1/ endpoints and X-API-Key, permit uploads and guarded updates, and set adequate request limits. A browser login page alone cannot serve as the API endpoint. Server deployment and certificates are not bundled with this plugin.
Run 测试知识库连接 (Test knowledge-base connection), or use Test connection in upload status, for a read-only latency check. Errors distinguish DNS, ports, TLS, keys, permissions, upload size, rate limits and reverse proxies. Batch sync processes at most two files; connection setup is limited to 15 seconds and requests to 90 seconds. Unknown writes remain protected against blind retries.
Only explicitly published files and search queries are sent to the configured server. Automatic upload, graph import and moving are off by default. No telemetry, analytics or third-party service is bundled. The client does not follow redirects. Use HTTPS or a trusted private network; an HTTP connection is not encrypted by this plugin. Keys are scoped by your server and managed using Obsidian's native SecretStorage.
Generated catalogs are excluded from upload to avoid loops. Files marked weknora_sync: false stay out of automatic publication. Manual publication is an explicit action. Graph exports must be authorized for the selected knowledge base.
npm test
npm run build
npm run check
There are no npm runtime or build dependencies. The build bundles local modules only. Tests cover request failure, duplicate prevention, guarded replacement, rename recovery, native-secret errors, persistent UI, graph ownership and concurrent edits. Unit tests do not prove compatibility with every WeKnora version; run the manual acceptance checklist against a disposable knowledge base.
See 中文说明, contributing, security and changelog. Licensed under MIT.
Generated Canvas files use the document title plus a short ID suffix. Unchanged owned legacy files migrate through native rename and update backlinks. Manually edited files and destination collisions are retained for review. Migration journals recover interrupted renames; generated files remain excluded from upload.
Source-card filenames, entity parent folders and entity-note filenames now use document/entity titles plus short stable suffixes. Owned legacy notes are renamed with backlinks updated; manual edits remain protected. Only emptied old generated entity folders are removed.
Enable 下载原文并显示插图 in settings to cache completed PDFs, DOCX originals and raster images. Open 06-自动知识库/原文插图/00-原文插图 or use the media link in a source card. Originals and images live under 99-附件/WeKnora原文, remain private vault files, and may be synced by your vault sync service. A single source is limited to 25 MiB; later batches resume automatically. No model calls, bulk reparsing or OCR indexing are performed. Unreferenced DOCX embedded objects are clearly labeled. Never publish your vault, cache or data.json with the plugin.