Skip to content

📺 A plugin that would help you to fetch YouTube videos data into your vault.

License

Notifications You must be signed in to change notification settings

sundevista/youtube-template

Repository files navigation

You can support my works at:

BuyMeACoffee

YouTube Template

cover image

Demo

demo GIF

Description

A plugin that will help you take notes on YouTube videos using a configurable template. It has a single command that takes a YouTube video URL and creates a note from it. You can choose the template folder, template, and format for chapters and hashtags.

Receiving API key

To make this plugin work, you need to paste your Google Cloud API key to be able to access the YouTube Data API. To do so, you need to create a project, then visit https://console.cloud.google.com/apis/credentials and add a new API key. Afterward, go to https://console.cloud.google.com/apis/dashboard, click the "Enable APIs and Services" button, and search for "YouTube Data API v3". Enable this service for your API key (it should be turned off by default). Finally, you need to paste this API key into the plugin settings ("Google Cloud API key" field).

Acceptable YouTube video URLs

The plugin uses a special regular expression to detect a YouTube ID from a given URL. These ones would be detected for sure:

Contributions and Issues

If you would like to add a new feature or fix a bug yourself, you are welcome to create a pull request (PR) and I will review it.

If you discover any bugs, please feel free to create an issue. Provide the URL and a description of the issue so that I can reproduce and fix it.