Skip to content

Yigit033/notion_youtube_sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

`# Notion YouTube Sync Tool

This project is a Python application that allows you to automatically add YouTube videos and playlists to your Notion database.

Description

This tool simplifies the integration between YouTube and Notion, helping you keep a well-organized record of the content you've watched.

Features

  • Automatically add YouTube videos and playlists to Notion
  • Save video information such as title, description, URL, and thumbnail URL
  • Option to select user-defined video types
  • Quickly add videos using a keyboard shortcut
  • Background operation

Installation

  1. Clone this repository:

    git clone [https://github.com/YourUsername/YourProjectName.git](https://www.google.com/search?q=https://www.google.com/search%3Fq%3Dhttps://github.com/YourUsername/YourProjectName.git)`
    
  2. Navigate to the project directory: Bash

    cd YourProjectName

  3. Create a virtual environment (recommended): Bash

    python3 -m venv .venv

  4. Activate the virtual environment: Bash

    source .venv/bin/activate # For Linux/macOS .venv\Scripts\activate # For Windows

  5. Install the required dependencies: Bash

    pip install -r requirements.txt

Usage

Normal Mode

Bash

python run.py run

This command starts the application in normal mode. You can add YouTube videos or playlists to Notion by pasting the link into the terminal.

Keyboard Shortcut Mode

Bash

python run.py hotkey

This command starts the application in keyboard shortcut mode. The application runs in the background, and you can add YouTube links to Notion using the Ctrl+Shift+V shortcut. Press Ctrl+C to terminate the application.

Configuration

  1. Open the config.py file.
  2. Enter your Notion API key in the NOTION_API_KEY variable.
  3. Enter your Notion database ID in the NOTION_PAGE_ID variable.
  4. Enter your YouTube Data API v3 key in the YOUTUBE_API_KEY variable.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages