YouTube Chat Extension allows you to chat directly with YouTube videos, providing a unique interactive experience.
Demo Video · Features · Roadmap · Installation · Acknowledgments
To install and run the YouTube Chat Extension locally, follow these steps:
Clone the repository:
git clone https://github.com/PaoloJN/youtube-ai-extension.git
cd youtube-chat-extension
Add your OpenAI API key. Replace YOUR_API_KEY
with your actual key in the files chat.ts
and completion.ts
const openai = new OpenAI({
apiKey: "YOUR_API_KEY"
})
Install the dependencies and build the project:
pnpm install
pnpm run build
Load the extension into Chrome:
chrome://extensions/
.build/chrome-mv3-dev
directory from the project you just built.Open YouTube and start chatting with videos! :)
The extension does not support the new YouTube layout. To revert to the old layout, use the uBlock Origin extension. The extension should then work correctly.
I believe in the principles of open-source software (OSS)—creating tools and sharing knowledge to help others innovate and learn. However, one of my biggest frustrations is seeing people take OSS works, monetize them without permission, and give nothing back to the project or community that made it possible.
Why this matters:
This is why I’ve updated the license to restrict unauthorized monetization. If you appreciate this project and want to use it commercially, I encourage you to contribute or reach out for a commercial license. Let’s build a community that respects creators and fosters innovation.
Effective immediately, this project is licensed under the GNU Affero General Public License v3 (AGPLv3).
Important: If you wish to use this project for commercial purposes or have any questions, please contact paolo.j.nessim@gmail.com.
This project wouldn't be possible without the following resources: