README file from
GithubCanvas Bundle
Canvas Bundle exports an Obsidian canvas and its connected files into a portable zip archive. Useful for case when you want to share or back up a canvas without manually collecting every linked note, attachment, and canvas asset.
Features
- Exports the active
.canvasfile. - Includes markdown notes used in canvas file nodes.
- Follows note links and embedded markdown files so related notes are included.
- Includes non-markdown attachments used by canvas nodes, note embeds, and group background images.
- Rewrites canvas paths and note links so the exported bundle stays connected.
- Handles duplicate filenames by generating unique names inside the bundle.
Usage
- Open a canvas file in Obsidian.
- Open the command palette.
- Run Canvas Bundle: Export canvas as zip.
- Find the generated
.zipfile in your vault root.
The zip contains:
<canvas-name>.canvasnotes/attachments/
Limitations
- The plugin creates the exported zip in the vault root.
- Missing or unresolved files are skipped.
- This plugin is desktop-only.
Planned for future releases
- Include backlinks from exported text notes.
- Recursively process canvas files embedded inside exported notes.
Development
Install dependencies:
npm install
Start the development build:
npm run dev
Create a production build:
npm run build
Run lint checks:
npm run lint
Manual installation
Copy main.js and manifest.json into:
<Vault>/.obsidian/plugins/canvas-bundle/
Then reload Obsidian and enable Canvas Bundle in Settings -> Community plugins.