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 🙏

© 2026 – Pkg Stats / Ryan Hefner

joplin-plugin-insert-youtube-video

v1.3.0

Published

[![Release](https://img.shields.io/github/v/release/badabing2005/joplin-plugin-ytinsert?style=flat-square)](https://github.com/badabing2005/joplin-plugin-ytinsert/releases/latest) [![MIT](https://img.shields.io/github/license/badabing2005/joplin-plugin-yt

Readme

Joplin Plugin: Insert YouTube Video

Release MIT

This plugin inserts a YouTube video link into the note from the selected text. The selected text can be a YouTube video link or just the video ID. If the selected text is empty, the clipboard text is used.

Features

  • Insert YouTube video link with thumbnail
  • Customizable title text position (top, bottom, or none)
  • Customizable title text prefix
  • Multiple format types (standard, next, custom)
  • Custom format with variables: ${img}, ${text}, ${url}, ${id}, ${description}, and ${newline}
  • Select preferred image resolution for the YouTube thumbnail
  • Option to include the video description after the video link

Supported link types:

  • Regular YouTube videos (https://www.youtube.com/watch?v=0I_OPQQiYVU)
  • YouTube Shorts (https://www.youtube.com/shorts/0I_OPQQiYVU)
  • Shortened YouTube links (https://youtu.be/0I_OPQQiYVU)
  • Just the video ID 0I_OPQQiYVU

Settings

Title Text Position

  • Key: textPosition
  • Type: String
  • Options: top, bottom, none
  • Description: Position of the title text relative to the video link.

Title Text Prefix

  • Key: textPrefix
  • Type: String
  • Description: Prefix to append in front of the title text (e.g., # to make the title a header).

Format Type

  • Key: formatType
  • Type: String
  • Options: standard, next, custom
  • Description: Choose how the YouTube link should be formatted.

Custom Format

  • Key: customFormat
  • Type: String
  • Description: Define your custom format using ${img}, ${text}, ${url}, ${id}, ${description}, and ${newline} variables. Only used when "Custom Format" is selected above.

Preferred Image Resolution

  • Key: preferredImageResolution
  • Type: String
  • Options: maxresdefault.jpg, hqdefault.jpg, sddefault.jpg, mqdefault.jpg
  • Description: Select the preferred image resolution for the YouTube thumbnail.

Include Description

  • Key: includeDescription
  • Type: Bool
  • Description: Include the video description after the video link.

Usage

  1. Select the text in your note that contains the YouTube video link or video ID.
  2. Use the toolbar button or menu item to insert the YouTube video link.
  3. The plugin will replace the selected text with the formatted YouTube video link, including the thumbnail and optional description.

Example

If the selected text is https://www.youtube.com/watch?v=0I_OPQQiYVU and standard format is selected, the plugin will insert:

[![Video](https://img.youtube.com/vi/0I_OPQQiYVU/maxresdefault.jpg)]

Demo

For demonstration purposes, I've chosen a random YouTube link about Joplin.
https://www.youtube.com/watch?v=0I_OPQQiYVU

Three ways to insert a YouTube video

  1. YouTube link

    1. Paste the YouTube link
    2. Select it
  2. YouTube video ID

    1. Paste the YouTube video ID, example: 0I_OPQQiYVU
    2. Select it
  3. From Clipboard

    1. Copy YouTube video URL or video ID to clipboard
    2. Place the cursor where you want the video inserted.

Use the toolbar or Tools | Insert YouTube Video menu or Keyboard shortcut CTRL+J

  1. The video will be inserted into the note: Video

Installation

Manual

  1. Go to the Releases to download the plugin package zip file and unzip it.
  2. Open Joplin, go to Tools > Options > Plugins.
  3. Click Manage your plugins > Install from file, select the previously unzipped jpl file.
  4. Finally, restart the application.

Building

The plugin is built using Webpack, which creates the compiled code in /dist. A JPL archive will also be created in /publish, which can be used to distribute the plugin.

To build the plugin, simply run npm run dist.

License

MIT license