youtube-notion-integration

Youtube & Notion

The idea of this project is to search for a YouTube channel, select a playlist from this channel and create a page on Notion with the playlist link as a bookmark and each video as a to_do (checkbox).

You can use it to keep track of playlists for study, games or anything you want. :)

Read this in other languages: English, Portuguese.

Development Setup

Prerequisites

Setting Up a Project

Install dependencies:

npm install

Create a .env file in the root of the project and fill the following properties with your credentials from YouTube and Notion. (Without {})

NOTION_API_KEY={YOUR_NOTION_API_KEY}
NOTION_DATABASE={YOUR_NOTION_API_DATABASE}
YOUTUBE_API_KEY={YOUR_YOUTUBE_API_KEY}
ALLOWED_URLS=["{YOUR_DOMAIN}", "<https://christiangustavo.github.io>"]

To learn more about how to generate NOTION_API_KEY and NOTION_DATABASE check the API documentation from Notion:

https://developers.notion.com/docs/getting-started

To learn more about how to generate YOUTUBE_API_KEY check the API documentation from YouTube:

https://cloud.google.com/docs/authentication/api-keys

Contributing