Turns URLs pasted on Canvas into local, Apple's Freeform-style preview cards.
An Obsidian plugin by Artur Netsvetaev that turns a URL pasted onto Canvas into a self-contained Apple Freeform-style card.
The card keeps the original web link, downloads the best large image into the vault, shows the page title and domain, and derives the caption color from the image. The .canvas file stores a small JSON payload inside a text node, so the preview remains portable and editable without a proprietary database.
pnpm install (or npm install).pnpm build.main.js, manifest.json, and styles.css into <vault>/.obsidian/plugins/freeform-link-cards/.For a manual install, create <vault>/.obsidian/plugins/freeform-link-cards/, download main.js, manifest.json, and styles.css from the latest GitHub Release into that folder, then enable the plugin.
http:// or https:// URL onto empty canvas space.Freeform Link Cards/assets by default.The image folder, default card width, paste behavior, and number of images inspected are configurable in plugin settings.
The plugin prioritizes Open Graph, Twitter Card, JSON-LD/schema.org, microdata, and image_src metadata. It uses the first valid structured preview image; only when no structured image can be downloaded does it fall back to responsive srcset and regular <img> candidates ordered by size. Icons and oversized files are rejected, and the chosen asset is stored locally.
Only these files are needed for installation:
main.jsmanifest.jsonstyles.cssRelease files are built and cryptographically attested by GitHub Actions. Verify a downloaded file with gh attestation verify <file> -R netsvetaev/obsidian-freeform-link-cards.
MIT