Skip to content

Using google API and LLMs in groq, this code creates an HTML page with a summary of the last x days videos in your YouTube subscriptions.

Notifications You must be signed in to change notification settings

rawouter/yt_summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Summary

Get all your YouTube video summaries from your YouTube subscriptions in one place.

YouTube API

To use the YouTube API, you need to create a project in the Google Developers Console and enable the YouTube Data API v3. You will also need to create an OAuth 2.0 client ID and download the client secret file. You can find more information on how to do this here. The OAuth 2.0 client ID file should be named client_secret_yt.json and placed in the root of the project.

We are using the autogenerated transcript from YouTube videos to summarize the content. You need to look into the config if you want to change the pulled languages (by default, English and French).

CrewAI

This project is powered by CrewAI. CrewAI is a platform that allows you to create and deploy AI models without writing any code. You can find more information on CrewAI here. The AI models are running in groq cloud here. You need to setup your groq account (currently free) and have an env var named GROQ_API_KEY with your API key.

How to use

  1. Clone the repository
  2. Setup your google API and Groq account as explained above.
  3. Install the dependencies with pip install -r requirements.txt
  4. Run the script with python summarize.py

By default the script will look for the past 24h.

Screenshots

Screenshot

About

Using google API and LLMs in groq, this code creates an HTML page with a summary of the last x days videos in your YouTube subscriptions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published