Skip to content

A Sphinx post generator that creates Youtube video's insights using OpenAI's API.

License

Notifications You must be signed in to change notification settings

jpchauvel/yt-insight-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Insight Generator

Note: This script uses the OpenAI API. To configure the script's OpenAI functionality, you should configure OpenAI API key of two of the possible ways:

Creating a configuration file

# save api key to `~/.config/openai.token` file
echo "YOUR_OPENAI_API_KEY" > ~/.config/openai.token

Running the script with the OPENAI_API_KEY environment variable

OPENAI_API_KEY="YOUR_OPENAI_API_KEY" poetry run ./yt_insight_generator.py --source="https://www.youtube.com/watch?v=JpviQnH3Hdw" --destination=article.md --author="Jean-Pierre Chauvel" -t cat siamese

Installation and Execution

  1. Install poetry
pip install poetry
  1. Install the project dependencies
poetry install
  1. Run the script's help
poetry run ./yt_insight_generator.py --help

About

A Sphinx post generator that creates Youtube video's insights using OpenAI's API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages