Qbject / obsidian-canvas-link-optimizer

An Obsidian plugin that optimizes canvas links by displaying a page thumbnail.
MIT License
16 stars 1 forks source link
obsidian obsidian-md obsidian-plugin typescript

Obsidian Canvas Link Optimizer Plugin

This is a lightweight Obsidian plugin designed to enhance the user experience with canvas link nodes. By default, link nodes in Obsidian canvas load the web page content as they come into view. The plugin modifies this behavior by displaying a preview thumbnail instead, which significantly reduces resource consumption. Users can still access the full web page by clicking on the thumbnail if they need more detailed information.

Here's the default behavior of link nodes in Obsidian:

With the Canvas Link Optimizer Plugin enabled, it looks like this:

This plugin does not modify your vault data. All thumbnails are cached locally in the .obsidian/plugins/canvas-link-optimizer/data directory, which can be safely cleared if necessary.

Installation

You can install the plugin from the official Obsidian Plugin Market. Alternatively, you can download the latest release from this repository and move its files main.js, manifest.json and styles.css to folder .obsidian/plugins/canvas-link-optimizer within your vault.

Keep In Mind

To generate a page thumbnail, the plugin initially performs a standard page load. Thus, it won't immediately optimize pre-existing link nodes as well as newly created ones.

Why Use This Plugin?

Link nodes provide convenient previews of linked content without having to open the link itself. However, the auto-loading feature comes with its drawbacks, including: