Skip to content

code-runner-2017/youtube-trascribe-summarize-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Transcript OpenAI

This utility:

- downloads the transcript of any Youtube video
- uses OpenAI's API to summarize and extract key points from the video
- saves everything in a local file in markdown format

Requirements

You need an OpenAI API key and Python v3.

Setup Instructions

# create and activate a virtual env
python -m venv venv
source venv/bin/activate
# clone this repository
git clone https://github.com/code-runner-2017/youtube-transcript-openai.git
cd youtube-transcript-openai
# install dependencies
pip install -r requirements.txt
cp .env.example .env
# customize your .env file with your API KEY, adjust prompts, etc.

How to Run

python main.py "http://youtube.com/...."
python main.py    # will prompt for the Youtube link

Wait a few seconds and you'll get the output file under the output/ folder.

Sponsor

If you find this simple project useful, please give me a star on github or buy me a coffee. Thank you!

Buy Me A Coffee

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages