Skip to content

marutilai/ytqa

Repository files navigation

YouTube QA

AI-powered application that processes YouTube videos to provide transcripts, extract topics, and answer questions about the content.

YouTube QA Interface

Features

  • Video Processing: Enter any YouTube URL to automatically extract and display the transcript
  • Topic Extraction: AI-powered analysis to identify and organize key topics from the video
  • Interactive Q&A: Ask questions about the video content and get AI-generated answers
  • Timeline Integration: Click on any transcript segment or topic to jump to that point in the video

Prerequisites

  • Docker and Docker Compose
  • OpenAI API key

Quick Start

  1. Setup

    # Clone and enter directory
    git clone https://github.com/marutilai/ytqa.git
    cd ytqa
    
    # Create and configure environment
    cp .env.sample .env
    # Add your OPENAI_API_KEY to .env
  2. Development

    # Run locally
    docker compose up --build
    # Visit http://localhost:3000
  3. Production

    # Deploy with SSL
    docker compose -f docker-compose.prod.yml up --build -d
    
    # Get SSL certificate
    docker compose -f docker-compose.prod.yml run --rm certbot certonly \
      --webroot --webroot-path /var/www/certbot/ \
      -d your-domain.com

Architecture

  • Frontend: React + Vite + TypeScript
  • Backend: Python + FastAPI
  • AI: OpenAI API for embeddings and topic extraction

About

Transcribe YouTube videos, extract topics, and answer questions interactively.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published