Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sundevista/youtube-template
📺 A plugin that would help you to fetch YouTube videos data into your vault.
https://github.com/sundevista/youtube-template
obsidian obsidian-md obsidian-plugin plugin template youtube
Last synced: 5 days ago
JSON representation
📺 A plugin that would help you to fetch YouTube videos data into your vault.
- Host: GitHub
- URL: https://github.com/sundevista/youtube-template
- Owner: sundevista
- License: mit
- Created: 2023-12-21T07:53:12.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-15T12:42:05.000Z (6 months ago)
- Last Synced: 2024-10-03T09:57:52.796Z (4 months ago)
- Topics: obsidian, obsidian-md, obsidian-plugin, plugin, template, youtube
- Language: TypeScript
- Homepage:
- Size: 15 MB
- Stars: 25
- Watchers: 3
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
You can support my works at:
[](https://www.buymeacoffee.com/sundevistax)
# YouTube Template
![cover image](https://github.com/sundevista/youtube-template/blob/master/assets/image_demo.png?raw=true)
## Demo
![demo GIF](https://github.com/sundevista/youtube-template/blob/master/assets/demo.gif?raw=true)
## 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](https://console.cloud.google.com/apis/credentials) and add a new API key.
Afterward, go to [https://console.cloud.google.com/apis/dashboard](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:
- http://www.youtube.com/watch?v=0zM3nApSvMg&feature=feedrec_grec_index
- http://www.youtube.com/user/IngridMichaelsonVEVO#p/a/u/1/QdK8U-VIH_o
- http://www.youtube.com/v/0zM3nApSvMg?fs=1&hl=en_US&rel=0
- http://www.youtube.com/watch?v=0zM3nApSvMg#t=0m10s
- http://www.youtube.com/embed/0zM3nApSvMg?rel=0
- http://www.youtube.com/watch?v=0zM3nApSvMg
- http://youtu.be/0zM3nApSvMg
- https://youtube.com/shorts/0dPkkQeRwTI?feature=share
- https://youtube.com/shorts/0dPkkQeRwTI## 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.