give this script a link to a YouTube video, and it will ask ChatGPT for detailed summary of the video. Saving you the time of actually watching it.
- recieve link to youtube video.
- download youtube video audio.
- transcribe audio file through OpenAI library API call.
- send a prompt to ChatGPT with transcription of content.
- Create a new repo and a read-me with a video that explains how it works.
- getting an error while using py-tube (only workarounds on StackOverflow)
- switch the script from using pytube and use yt-dlp python lib instead.
- since the api key is being loaded in from password-store, I may have to enter the encryption key after time passes
- made a .env file with my API key hard-coded
- maybe add an ASCII moving loading screen while the API calls are happening?
- some kind of fun animation
- found a cool animation library and working on implementing for API calls, and yt-dlp.
- added a tqdm progress bar for yt-dlp and openAI calls
- create a chrome extension for this?
- Youtube AI summarizer
- or make a website that has a one-time payment for a license to use a web interface that stores their summaries, "watch" history, and all they need is a one-time payment of $50 (rate limit API calls and do cost analysis).
- buy ShipFast as a template for releasing the SaaS. ($169 - $199)
- have the option to give it a youtube playlist, and iterate the process of summarizing videos - maybe create a playlist mega-summary.
- Create a virtual environment
python3 -m venv <insert-virtual-env-name-here>
- Activate virtual environment
source <path-to-activate-file-in-project-dir>
- Replace hard coded folder paths inside of main.py
-
on lines: 10, 62, 107
-
you may also need to create an audio directory to save your mp3 files if you want them.
- Install dependencies & run main.py
pip install requirements.txt && python3 main.py