npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

joplin-plugin-url-meta

v1.0.9

Published

This plugin will grab and fetch meta tags (title, description and image) from URLs found in your notes. It also supports clicking on a URL in the markdown-it panel and popping up information in a dialog with options to open/copy. It also supports a panel

Downloads

198

Readme

Joplin Plugin - URL Meta

This plugin will grab and fetch meta tags (title, description and image) from URLs found in your notes. It also supports clicking on a URL in the markdown-it panel and popping up information in a dialog with options to open/copy. It also supports a panel that will show all found URLs in the note with buttons to open/copy. This plugin can only fetch these tags from the desktop client, but can display details in the mobile version.

Changelog

v1.0.1

  • Added support for more image extensions via the canvas browser API.
  • Now fetching meta tags for 1 URL at a time to prevent missing data for same domain. This also now includes a progress indicator in the panel.
  • Refetch single URL now exists on desktop.

v1.0.2

  • Added support for inline URL metadata cards in the markdown viewer.
  • Added setting to disable/enable inline markdown cards.
  • Added setting for maximum dimension for downloaded metadata image. E.g: if set to 500, a 1920x1080 image would turn into 500x281.

v1.0.3

  • Fix bug where video resources no longer load within the markdown viewer when the plugin is loaded.
  • When refetching metadata for a single URL in the panel on desktop, make the new metadata appear in the same place instead of at the bottom.

v1.0.4

  • Fixed issue #2 by displaying URLs in reverse order and only skipping URLs if there is a container already containing that specific URL.

v1.0.5

  • Added new setting "Metadata In Markdown Display Method" (special thanks to deepspaceaxolotl for the idea). This can be one of the following options.
    • Default: Requires empty line between links.
    • Compact: Requires line break (not an extra empty line) between links.
    • Ultra Compact: Renders immediately after the link no matter what.
  • Slight fix for the regex for matching URLs (a link with a hash containing a hyphen would break).
  • Links appearing multiple times within a note are now rendered every time, not just the bottommost.
  • Missing resource will no longer cause the "URL Meta Tags" panel to indefinitely load.

v1.0.6

  • Compact/Ultra Compact display methods now only apply margin between metadata containers.
  • Resource image src URIs now use the file:// prefix if before v3.1.1 and the joplin-content://note-viewer/ prefix if v3.1.1 or newer.

v1.0.7

  • Remove BR elements if using compact/ultraCompact display type when they exist right after the anchor tags. This should make the display closer to how it would render without the plugin (with just an injection for the meta information).

v1.0.8

  • Added new setting "Metadata In Markdown Click Behaviour" (special thanks to deepspaceaxolotl for the idea). This can be one of the following options.
    • Dialog (with option of copy/open)
    • Copy
    • Open
    • Do Nothing
  • Added fallback to the webpage title if no title meta tag found.
  • Add new advanced setting for "Debug Copy HTML Content". If enabled, the entire webpage used to parse the meta tags will be copied to the clipboard. This is mainly for use in Github issues.

v1.0.9

  • Added new setting "YouTube Data API v3 Key" to fetch YouTube video (including shorts) and playlist metadata via the API instead of a normal GET request.
    • This fixes this issue
    • Note, this will most-likely not work for private videos/playlists.
    • To get an API Key, follow this getting started guide by Google.
      • When creating credentials, it may ask you What data will you be accessing? For this, choose Public data.

Roadmap/Known Issues