Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.29 KB

File metadata and controls

27 lines (22 loc) · 1.29 KB

Obsidian Save Bridge

A minimal static HTTPS-to-Obsidian URI bridge for links opened from email clients that block custom URL schemes.

  • No analytics, network requests, cookies, note-content storage, or credentials.
  • Note data stays in the URL fragment and is decoded in the browser.
  • Version 2 payloads compute year/month from the actual click date.
  • Version 3 payloads save knowledge artifacts to an explicit, validated vault-relative path and use artifact_key for idempotent reopen behavior.
  • The page stores only a paper-to-file path and update IDs in browser local storage, so a repeated click opens the existing note and a repeated abstract update is not appended twice in the same browser.
  • The page validates the payload and opens official obsidian://new or obsidian://open URIs without overwrite mode.

Version 3 payload:

{
  "version": 3,
  "vault": "科研与教学知识库",
  "directory": "00 Inbox/01 Capture/Paper Watch/知识积累/研究方向/每周综述/2026",
  "file_name": "2026-W29 - 研究方向.md",
  "artifact_key": "weekly:direction-id:2026-W29",
  "operation": "create_or_open",
  "path_mode": "fixed",
  "content": "# 研究综述"
}

operation may also be append when a unique update_id is supplied. The bridge never emits Obsidian's overwrite parameter.