GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - aimanfazal/dexter-lens: Turn YouTube videos into searchable insights using AI-generated summaries and custom prompts.

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
backend
backend
 
 
docs/screenshots
docs/screenshots
 
 
frontend
frontend
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

šŸŽ„ DexterLens

AI-powered conversations with any YouTube video

Turn YouTube videos and Shorts into interactive, promptable knowledge. Paste a YouTube URL, ask a question, and receive AI-generated responses grounded entirely in the video's transcript through a retro-futuristic signal console interface.

Live Demo • API Docs • Report Bug


Overview

DexterLens is a full-stack AI application that transforms YouTube videos into interactive, promptable knowledge.

Instead of searching through an entire video manually, simply paste a YouTube video (or Shorts) URL, provide an optional prompt, and DexterLens will retrieve the transcript, combine it with your request, and generate responses grounded entirely in the video's content.

The application uses the Supadata API for transcript retrieval and Groq's Llama 3.3 models for AI-powered responses.


Screenshots

DexterLens signal console UI

A short demo GIF will be added in a future release.


Features

  • Transcript retrieval using the Supadata API
  • Support for YouTube videos and Shorts
  • AI-powered summaries and custom prompts
  • Transcript-grounded responses
  • Markdown-formatted output
  • One-click copy and PDF export
  • Responsive retro-futuristic signal console interface
  • Fully typed FastAPI backend using Pydantic
  • Production deployment on Vercel and Render

Tech Stack

Layer Technology
Frontend Next.js 15, React, TypeScript
Styling Tailwind CSS
Backend FastAPI, Python
Transcript API Supadata
AI Groq (Llama 3.3)
Deployment Vercel, Render

Architecture

Click to expand — request flow and system diagram
User Input
      │
      ā–¼
Next.js Frontend
      │
      ā–¼
FastAPI Backend
      │
      ā–¼
Supadata API
      │
      ā–¼
Prompt Construction
      │
      ā–¼
Groq Llama API
      │
      ā–¼
Generated Response
      │
      ā–¼
Frontend Console

Processing Flow

  1. User submits a YouTube video or Shorts URL along with an optional prompt.
  2. The frontend sends a POST /generate request.
  3. The backend extracts the video ID.
  4. The transcript is retrieved from the Supadata API.
  5. The transcript and prompt are combined into a single context.
  6. The request is sent to Groq's OpenAI-compatible API.
  7. The generated response is returned to the frontend and rendered inside the output panel.

Project Structure

Click to expand — repository layout
dexter-lens/
│
ā”œā”€ā”€ backend/
│   ā”œā”€ā”€ app/
│   │   ā”œā”€ā”€ api/
│   │   ā”œā”€ā”€ schemas/
│   │   ā”œā”€ā”€ services/
│   │   │   ā”œā”€ā”€ youtube.py
│   │   │   └── llm.py
│   │   └── main.py
│   │
│   ā”œā”€ā”€ requirements.txt
│   └── .env.example
│
ā”œā”€ā”€ frontend/
│   ā”œā”€ā”€ app/
│   ā”œā”€ā”€ components/
│   ā”œā”€ā”€ lib/
│   ā”œā”€ā”€ public/
│   └── .env.local.example
│
ā”œā”€ā”€ docs/
│   └── screenshots/
│
└── README.md

Local Setup

Click to expand — backend setup

1. Create a virtual environment

cd backend

py -3.12 -m venv venv
source venv/Scripts/activate

2. Install dependencies

pip install -r requirements.txt

3. Configure environment variables

copy .env.example .env
SUPADATA_API_KEY=your_supadata_api_key
GROQ_API_KEY=your_groq_api_key
GROQ_MODEL=llama-3.3-70b-versatile
FRONTEND_ORIGIN=http://localhost:3000

4. Start the backend

uvicorn app.main:app --reload

Backend

http://localhost:8000

API Documentation

http://localhost:8000/docs
Click to expand — frontend setup

1. Install dependencies

cd frontend

npm install

2. Configure environment variables

copy .env.local.example .env.local
NEXT_PUBLIC_API_BASE_URL=http://localhost:8000

3. Start the development server

npm run dev

Frontend

http://localhost:3000

Deployment

DexterLens is deployed as a split full-stack application.

Service Platform
Frontend Vercel
Backend Render
Transcript API Supadata
AI Model Groq

Roadmap

Planned improvements for future releases include:

  • Navigation bar and footer
  • Video metadata preview
  • Response statistics
  • Multiple console themes
  • Saved conversations
  • Semantic transcript search
  • Study mode
  • Quiz generation
  • Timestamp-aware responses
  • Progressive Web App (PWA)

Development Process

DexterLens was built using an AI-assisted development workflow ("vibe coding") combined with manual engineering, debugging, deployment, and architectural decisions.

Some of the challenges solved during development include:

  • Migrating from youtube-transcript-api to Supadata due to cloud IP restrictions
  • Integrating Groq's OpenAI-compatible API
  • Handling CORS between Vercel and Render
  • Prompt construction and transcript grounding
  • Responsive terminal-inspired interface design
  • Production deployment across multiple platforms

Contributing

Contributions, bug reports, feature requests, and documentation improvements are always welcome.

If you'd like to contribute:

  • Fork the repository
  • Create a feature branch
  • Commit your changes
  • Open a Pull Request

Small, focused contributions are the easiest to review and merge.


License

This project is licensed under the MIT License.


Author

Aiman Fazal



⭐ If you found DexterLens useful, consider giving the repository a star!

About

Turn YouTube videos into searchable insights using AI-generated summaries and custom prompts.

dexter-lens.vercel.app/

Topics

fastapigroknextjspythonsupadatatypescript

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.