Skip to main content

YouTube Channel Monitor (Pre-release)

This tool monitors selected YouTube channels and generates summary reports of the latest videos. The key benefit is helping you decide whether to watch videos by reading AI-generated summaries first, saving you valuable time.

While there are similar products available (often paid), this solution offers unique values:

  • It provides a daily report of concise summaries of channels' latest update that can replace watching entire videos in many cases.
  • It can get transcript for videos that does not have a subtitle, e.g. videos in Chinese. If you want to read the summary of a video in Chinese, this is the app you are looking for.

The application includes a web-based user interface. Email notification functionality is currently under development. For now, videos of interest must be manually added to the database.

Latest update

  • 1.1.0 Video processing is now asynchronous. You can add as many videos to the queue all at once.
  • 1.0.4 User can modify configurations using UI pop up window.

Usage

Installation

Installation is easy, just open terminal and type:

pip install video-curator

Then type the following command to run (it is yourtube, with an 'r'):

yourtube

This will open a web app in your default browser. For each video the app will fetch subtitles, summarize the content and store it in a sql database.

Configure

If you are using this app for the first time, you need to modify the config file and add openai or anthropic api keys.

Configuration Screenshot1 Configuration Screenshot2

What configuration you can customize in config.json file:

{
    "model": [ // The models possibly used in this app
        {
            "title": "openai-gpt-4o",
            "provider": "openai",
            "name": "gpt-4o",
            "api_key": "YOUR_OPENAI_API_KEY" // Api KEY
        },
        {   
            "title": "anthropic-claude-3.5-sonnet",
            "provider": "anthropic",
            "name": "claude-3-5-sonnet-20240620",
            "api_key": "YOUR_ANTHROPIC_API_KEY"
        }
    ],
    "transcriber": {
        "model": "whisper",
        "size": "small", // model size. See: https://github.com/openai/whisper
        "temperature": 0
    },
    "summarizer": {
        "model_title": "openai-gpt-4o", // the model title defined above, openai is used by default
        "max_tokens": 4096,
        "temperature": 0.8
    },
}

Here is a demo

Demo Video

Developer

If you want to have more control on the installation and would like to play around with the code, please to to developer mode:

  1. Clone this repository:
git clone https://github.com/zleung9/youtube-transcribe.git
cd youtube-transcribe
  1. Activate a Python environment using conda or venv:

    Using conda:

    conda create -n youtube-transcribe python=3.10
    conda activate youtube-transcribe
    

    Using venv:

    python -m venv .venv
    # On Windows
    .venv\Scripts\activate
    # On macOS/Linux
    source .venv/bin/activate
    
  2. Install the required packages.

pip install -e . -r requirements.txt
  1. Set up configuration as described in previous section. You do need to initiate a configuration file to begin with.
cp config.json.template config.json

The configuration file supports multiple AI models for summarization, YouTube channel monitoring with customizable check intervals, and email notification settings. You'll need to provide your own API keys for the services you plan to use.

  1. Run in command line

Run the main script. The command is yourtube with an "r".

yourtube

Metadata

Release files for video-curator 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for video-curator 1.2.1
File Size Uploaded
video_curator-1.2.1.tar.gz 178.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for video-curator 1.2.1
File Interpreter ABI Platform
video_curator-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 354.1 kB

Release files / video_curator-1.2.1.tar.gz

Download URL video_curator-1.2.1.tar.gz
Size 178.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3b9d09fa64ae557f5d9853f1a374b9d88b0c1a02beba117a2231f4bc04cae755
BLAKE2b-256 checksum
How to use checksums
f9ee9b7b6a77d5c49e392ea43ccf6c26982f9474d400ee0b0bbb17f789250445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / video_curator-1.2.1-py3-none-any.whl

Download URL video_curator-1.2.1-py3-none-any.whl
Size 176.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b7b05cd9ddbd374304438d76185cd1d3f6f673d299b6c7e8c4d36bc7187a6b7
BLAKE2b-256 checksum
How to use checksums
56195c187538b48861228ebf5bb83283fb4f0900f524af46d42d8de5361b93c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page