Chat with any YouTube video. Powered by Google Gemini, LangChain, and Pinecone.
AskVideo.ai transforms passive video consumption into an active retrieval process. Instead of manually searching through timelines, users can query the video content directly. The system ingests YouTube transcripts, indexes them using vector embeddings, and utilizes Large Language Models to provide accurate, context-aware responses.
- YouTube Integration: Direct URL input for immediate video analysis.
- Contextual Understanding: Utilizes Google Gemini models to interpret and reason about video content.
- High Performance: Engineered with Bun and Vite for fast build and runtime speeds.
- Vector Search: Implements Pinecone for semantic search, ensuring answers are grounded in specific video segments.
- Monorepo: Turborepo
- Frontend: React, Vite, TailwindCSS
- Backend: NestJS (running on Bun)
- AI Orchestration: LangChain
- Database: Prisma (PostgreSQL), Pinecone (Vector DB)
- Bun runtime installed.
- API Keys for Google Gemini and Pinecone.
- Local or hosted PostgreSQL instance.
-
Clone the repository
git clone https://github.com/prayagtushar/ask-video.git cd ask-video -
Install dependencies
bun install
-
Environment Setup Configure your environment variables in
apps/backend/.env(andapps/frontendif applicable):GOOGLE_API_KEY=your_key PINECONE_API_KEY=your_key DATABASE_URL=postgres://...
-
Run Development Server
bun run dev
.
├── apps
│ ├── backend # NestJS API handling AI logic and DB connections
│ └── frontend # React + Vite UI
├── packages
│ └── db # Shared Prisma schema and client
└── README.md
Contributions are accessible. Please submit a Pull Request for review.
This project is licensed under the MIT License.