Canvas Bundle

by Rajat Nai
5
4
3
2
1
Score: 50/100

Description

Export Obsidian canvas files with all connected notes, assets, and structure into a portable bundle.

Reviews

No reviews yet.

Stats

0
stars
520
downloads
0
forks
114
days
114
days
114
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
15
commits

Latest Version

4 months ago

Changelog

  • Replace jsZip with fflate for light weight and remove obfuscation which was created by jsZip.
  • Save zip beside main canvas.
  • Ask for confirmation dialog while overwrite zip.

Full Changelog: https://github.com/rajatnai49/obsidian-canvas-bundler/compare/0.0.2...0.0.3

README file from

Github

Canvas 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 .canvas file.
  • 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

  1. Open a canvas file in Obsidian.
  2. Open the command palette.
  3. Run Canvas Bundle: Export canvas as zip.
  4. Find the generated .zip file in your vault root.

The zip contains:

  • <canvas-name>.canvas
  • notes/
  • 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.