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

Codex Share

ctrlvishctrlvish217 downloads

Copy explicitly selected notes and embedded attachments into a separate AI workspace.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Codex Share copies selected Obsidian notes and attachments into a separate workspace for an AI agent or another external tool.

It is an allowlist, not a sandbox. Only notes you switch on are copied, but your AI tool must still be launched with the destination as its workspace.

Codex Share is an independent project and is not affiliated with or endorsed by OpenAI, Docker or Obsidian.

The codex property enabled on an Obsidian note

How it works

Add a Boolean property to a note and switch it on:

---
codex: true
---

The property defaults to codex and can be renamed in settings. Codex Share then:

  • Copies the complete Markdown note and its directly embedded non-Markdown attachments.
  • Preserves every vault-relative file path.
  • Updates shared copies when notes or known attachments change.
  • Moves a managed Markdown copy to the operating system Trash when sharing is switched off or the source is removed.

Ordinary links and embedded Markdown notes are not followed recursively. Link text and other content inside a shared note remain visible in its copy. Attachments are retained when a note is unshared because another shared note may use them.

Setup

  1. Open Settings → Community plugins → Codex Share.
  2. Select Choose folder and choose an external destination folder outside your private Obsidian vault.
  3. Optionally rename the Sharing property.
  4. Choose Use folder and sync or Use folder only.
  5. Enable the sharing property on a note.

There is no default destination. Changing it does not move or delete files in the previous destination.

For the complete Obsidian, Docker Sandbox and Terminal workflow, see Full setup.

Actions

  • Toggle sharing for current note
  • Sync all now
  • Reconcile all sharing toggles
  • Initialise simple sharing toggles
  • Open quick guide

Initialise simple sharing toggles marks notes with an existing destination copy as shared and all other notes as private. It also removes metadata created by older Codex Share versions without deleting destination files.

Safety and privacy

Codex Share is desktop-only. It reads selected notes and resolved embeds from the current vault and writes them to the external destination folder you configure. It makes no network requests, requires no account and includes no telemetry.

The plugin rejects overlapping source and destination folders, source files that resolve outside the vault, and destination paths that traverse symbolic links. It records managed copies in .codex-share/manifest.json so unrelated destination files are not automatically removed.

Review a note, its frontmatter and its embeds before sharing it. The plugin does not control what an AI provider receives after another tool accesses the destination.

Docker Sandbox

From the separate workspace:

cd /path/to/your/ai-vault
pwd
sbx run codex

Confirm that pwd and the WORKSPACE shown by sbx ls both point to the separate workspace, never the private vault. The agent can modify anything mounted into its sandbox.

Development

Requires Node.js 18 or newer.

npm test

License

Codex Share is available under the MIT License.

HealthExcellent
ReviewSatisfactory
About
Copy selected notes and directly embedded non‑Markdown attachments into an external workspace while preserving vault‑relative paths. Sync updates and move managed Markdown copies to the OS Trash when sharing is turned off; only notes you toggle on are shared.
SyncingExportAttachments
Details
Current version
0.6.1
Last updated
Last month
Created
Last month
Updates
2 releases
Downloads
217
Compatible with
Obsidian 1.9.14+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
ctrlvishctrlvish
GitHubctrlvish
  1. Community
  2. Plugins
  3. Syncing
  4. Codex Share

Related plugins

YAOS

Simple real-time sync powered by your own Cloudflare Worker.

ima.copilot Sync

Sync ima notes & knowledge-base to Obsidian

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WEBRTC.

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.

Consistent Attachments and Links

Move note attachments and update links automatically.

Google Drive Sync

Syncs a vault into Google Drive for cross-platform use (works for iOS).

Custom Attachment Location

Customize attachment location with variables($filename, $data, etc) like Typora.

Relay

Collaborate in real time with live cursors. Share folders. Manage access to updates.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.