Get youtube summaries injected automatically if the video has a transcript!
- Check if your
Node.js
version is >= 14. - Run
npm install
to install the dependencies.
$ npm run dev
$ npm run build
- set your Chrome browser 'Developer mode' up
- click 'Load unpacked', and select
youtube-transcript-gpt/build
folder
- handle errors in between request, parsing cycle (more granular error capturing + ui)
- use streaming fetch (SSE) for better loading ui experience
- [~] how to deal with / chunk super long transcripts
- add option to use openai paid apis instead (alternative to chatgpt)
- convert to typescript
- [~] add additional context into the query from the youtube page properties
- use token counting npm package to build prompt
- multi-stage sequential summarization for longer transcripts
- limit spam req - cache last url of video transcript used to sent query to openai api