Abstract
The AI YouTube Video Summarizer is a full-stack, AI-powered web application designed to intelligently process, analyze, and summarize YouTube video content using Google Gemini large language models. The system supports a dual-architecture deployment — a Streamlit-based Python frontend for rapid use and a Flask REST API paired with a React + Vite frontend for production environments. Six distinct output modes are provided: Short Summary, Detailed Summary, Full Explanation, AI-generated timestamped chapters, full transcript download, and a Retrieval-Augmented Generation (RAG) chatbot for interactive Q&A over video content. The RAG pipeline uses ChromaDB for in-memory vector storage and Gemini embeddings for semantic similarity search, enabling factually grounded, hallucination-free answers. A mind map generation feature produces hierarchical Mermaid.js diagrams for visual knowledge representation. User acceptance testing with 10 participants confirmed an average satisfaction score of 4.6/5 across all features, with summarization latency under 8 seconds on the gemini-flashlatest model. The system demonstrates how open-source, zero-infrastructure-cost LLM tooling can deliver enterprise-grade video intelligence at no subscription cost.
Keywords
AI YouTube Summarizer, Google Gemini, RAG, ChromaDB, NLP, Streamlit, Flask, React, LLM, Video Summarization, YouTube Transcript API, Mermaid.js, Mind Map
References
1) Vaswani, A. et al. (2017). Attention is All You Need. NeurIPS 30.
2) Lewis, P. et al. (2020). Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. NeurIPS
33.
3) Kasneci, E. et al. (2023). ChatGPT for Good? On Opportunities and Challenges of LLMs for
Education. Learning and Individual Differences.
4) Nallapati, R. et al. (2016). Abstractive Text Summarization Using Sequence-to-Sequence RNNs.
CoNLL 2016.
5) Google DeepMind. (2024). Gemini: A Family of Highly Capable Multimodal Models. Technical
Report. Google.
6) ChromaDB. (2024). ChromaDB Documentation — The AI-Native
Open-Source Embedding Database. https://docs.trychroma.com
7) jdepoix. (2024). youtube-transcript-api Python Library. https://github.com/jdepoix/youtube-transcriptapi
8) Mermaid.js. (2024). Mermaid Diagram Documentation. https://mermaid.js.org
9) Grinberg, M. (2018). Flask Web Development (2nd ed.). O'Reilly Media.
10) Richardson, L. (2024). BeautifulSoup4 Documentation.
https://www.crummy.com/software/BeautifulSoup/bs4/doc
2) Lewis, P. et al. (2020). Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. NeurIPS
33.
3) Kasneci, E. et al. (2023). ChatGPT for Good? On Opportunities and Challenges of LLMs for
Education. Learning and Individual Differences.
4) Nallapati, R. et al. (2016). Abstractive Text Summarization Using Sequence-to-Sequence RNNs.
CoNLL 2016.
5) Google DeepMind. (2024). Gemini: A Family of Highly Capable Multimodal Models. Technical
Report. Google.
6) ChromaDB. (2024). ChromaDB Documentation — The AI-Native
Open-Source Embedding Database. https://docs.trychroma.com
7) jdepoix. (2024). youtube-transcript-api Python Library. https://github.com/jdepoix/youtube-transcriptapi
8) Mermaid.js. (2024). Mermaid Diagram Documentation. https://mermaid.js.org
9) Grinberg, M. (2018). Flask Web Development (2nd ed.). O'Reilly Media.
10) Richardson, L. (2024). BeautifulSoup4 Documentation.
https://www.crummy.com/software/BeautifulSoup/bs4/doc