Auto Card Link Enhanced

by KreNtal
5
4
3
2
1
Score: 52/100

Description

Trying fixing this old but super useful obsidian plugin

Reviews

No reviews yet.

Stats

11
stars
2,298
downloads
1
forks
98
days
3
days
7
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
5
total issues
0
open issues
5
closed issues
149
commits

Latest Version

7 days ago

Changelog

Additions

Ten sites gained dedicated handling, each reading from a real endpoint instead of scraping the page:

  • X / Twitter — tweets with their text, media, preview-card image and the quoted tweet. Profiles, searches, hashtags and communities too.
  • Stack Exchange — every network site, through the official API: title, asker, score, answer count and an excerpt. An answer link resolves to its question; site homepages get their own card.
  • LinkedIn — profiles, companies, schools, posts and events. A post's author now sits in its own field instead of being buried in the title alongside a comment count that goes stale.
  • Hacker News — points, comments, the submitter and the domain a story points at. None of it was reachable before: the site serves no metadata tags at all.
  • Bluesky — posts with likes, reposts and replies; profiles with bio and follower count.
  • GitLab — the project's clean name, its star count and the full description.
  • npm — summary, version, licence and weekly downloads. A /v/<version> link describes that exact version.
  • arXiv — title, the full abstract and the author list, for both old and new id styles, .pdf links included.
  • Notion — public pages read properly. Every Notion link used to come back as Notion's own marketing homepage.
  • Discord — invite links show the server's name, description and member count.

Fourteen more sites were checked and needed no special handling: BBC, The Verge, Ars Technica, Medium, Substack, Goodreads, MDN, PyPI, MyMiniFactory, Thangs, Mastodon, Instagram, Threads and help.obsidian.md. Several only started working properly because of the fixes below.

  • A link to something that has been removed no longer produces a confident, wrong card. Deleted posts, missing books, dead videos and expired invites used to be described by whatever the site put on its error page — a deleted LinkedIn post came out titled "LinkedIn" with the language picker as its description, a missing Goodreads book came out as "Goodreads" with the site's stock blurb. Those now build a card from the URL you pasted.
  • They also stop spending your external-service quota. Rendering a page that says nothing costs a request and gives nothing back, so those requests are no longer made.
  • The card still keeps the site's look. Whatever the page did supply — its image, its description and its own favicon — rides along, so a card for a dead link is not a bare one.

Fixes

  • Fixes the right-click menu acting on the wrong card when a note holds two cards for the same URL. Delete, refresh and convert could all land on the earlier copy.
  • Fixes a refresh emptying a card: a source that answered without a description or image used to delete fields the card already had.
  • Fixes a fetch failure sometimes leaving the pasted text untouched. A card is always written now.
  • Fixes cards on sites that declare their metadata tags in a common but non-standard way — all of MDN, among others — falling back to the bare page title.
  • Fixes PyPI and similar package pages being needlessly sent to the external service, because the package's name matched the last part of its own URL.
  • Fixes some news articles silently becoming a bare URL, with nothing in the console. The Verge publishes its article image in a shape that crashed the parse.
  • Fixes URLs being mangled during resolution: a nested URL inside a ?url= parameter lost a slash, and a stray &amp; mid-URL broke the rest of it.
  • Fixes a card built from a URL losing the page's real favicon in favour of a guessed one.
  • Fixes titles ending on a dangling colon or dash, which happens on sites that split a heading between the title and the description.
  • Fixes GitHub cards losing their star count and description once the hourly API limit is reached. They are rebuilt from the repo page instead, and a re-paste of a repo already seen costs no request.
  • Fixes Stack Overflow cards showing the same icon twice, once small and once as the thumbnail.
  • Fixes subreddit titles stuttering ("r/name - r/name - ..."), and r/ and u/ links now carry the same " - Reddit" suffix as every other Reddit link.
  • The host shown on a card is consistent now: a leading www. is always dropped, while meaningful subdomains like en.wikipedia.org are kept.

README file from

Github

Automatically generate beautiful card-styled links from URLs by fetching their metadata, thumbnails and favicons, and turning them into a YAML cardlink code block or into a compact inline Markdown link carrying the fetched title.

It includes tailored handling for over twenty sites — YouTube, Vimeo, Reddit, X, GitHub, GitLab, npm, Wikipedia, arXiv, Spotify, Stack Exchange, LinkedIn, Hacker News, Bluesky, IMDb, Notion, Discord and more — plus options for thumbnail quality, local image saving and multiple card styles.

Features

  • Paste or drop a URL and turn it into a card, or into an inline Markdown link ([title - Site](url)) carrying the title fetched from the page.
  • Convert URLs already written in a note, one or several at once, from the right-click menu or a hotkey.
  • Right-click a card to refresh, delete, add a line after it, or turn it back into a Markdown link.
  • Right-click a Markdown link to refresh its title or turn it into a card.
  • Cards and Markdown links have separate commands, so each can have its own hotkey and both can be used side by side.
  • Support for local images through internal links (image: "[[image.png]]").
  • Links to content that is gone — a deleted post, a removed video, an expired invite — produce a card built from the URL, instead of a confident-looking card describing the site's own error page or sign-in wall.

Settings

  • Choose what pasting or dropping a URL produces, independently for each: a plain URL, a Markdown link, or a card link.
  • Add the commands to the right-click menu.
  • Save images and favicons locally (with configurable folders).
  • Choose the card style.
  • Show the thumbnail on the left or right of the card.
  • Choose thumbnail quality (best looking vs. max resolution).
  • Use an external service as a fallback for blocked sites (off by default).

Network use

This plugin needs internet access to fetch link metadata. To be transparent about what it sends and where:

  • By default, it fetches metadata directly from the site you are linking to (the same request your browser would make to load that page). Nothing is sent to any other third party.
  • Optionally, if you enable "Use external service for blocked sites" in the settings, the plugin will — only when a direct fetch fails — send the link's URL to the third-party service microlink.io to retrieve metadata from sites that block direct access (e.g. Cloudflare-protected pages). This setting is off by default, and no data is ever sent to microlink.io unless you turn it on.

[!IMPORTANT] No analytics, telemetry, or personal data are collected by this plugin.

The code block cardlink uses YAML syntax for displaying card-styled link.

attributes

name required description
url true url to open when you click the link
title true title of the link
description false description of the link
host false host of the link
favicon false favicon of the link
image false thumbnail image to show in the card link
author false channel or author (if present)
duration false duration time for videos

example

```cardlink
url: https://obsidian.md/
title: "Obsidian - Sharpen your thinking"
description: "The free and flexible app for your private thoughts."
host: obsidian.md
favicon: https://obsidian.md/favicon.ico
image: https://obsidian.md/images/banner.png
```

Customizing Style

Card-styled link is styled by styles.css. To customize, you can try making CSS snippets.

For example:

.auto-card-link-author {
	display: none;
}

To hide the author.

Motivation

  • Wanted to show beautiful links in my notes
  • Didn't want to mess up my notes with HTML tags
  • Wanted to keep the original plugin updated (KreNtal)

Credits

This is a fork of the original obsidian-auto-card-link by Nekoshita Yuki.

Auto Card Link Enhanced maintained by KreNtal since 2026-05-04.