How gowthamd/travel-planner-vercel works
This repository appears to be a YouTube-video-to-itinerary application: its FastAPI endpoint extracts a video ID, obtains transcript text, asks Gemini for structured itinerary data, and returns the parsed result. The tree also contains a Next.js page and layout, but the page source was not sampled, so its behavior and connection to the API cannot be verified. The API excerpt shows transcript-fetching fallbacks and the Gemini call; details of the yt-dlp helper’s invocation are not visible.
Main entry points: index.py Itinerary endpoint · page.tsx Web page
Components 11
Web application
- Web page
src/app/page.tsx - Root layout
src/app/layout.tsx
Itinerary API
- Itinerary endpoint
api/index.py - Transcript retrieval
api/index.py - yt-dlp captions
api/index.py - Itinerary generation
api/index.py
External services
- YouTube transcripts
- Invidious instances
- YouTube
- Google Gemini
Other components
- User
Connections 8
- User → Web page: visits
- User → Itinerary endpoint: requests
api/index.py - Itinerary endpoint → Transcript retrieval: fetches transcript
api/index.py - Transcript retrieval → YouTube transcripts: fetches captions
api/index.py - Transcript retrieval → Invidious instances: fallback fetch
api/index.py - yt-dlp captions → YouTube: downloads captions
api/index.py - Itinerary endpoint → Itinerary generation: generates itinerary
api/index.py - Itinerary generation → Google Gemini: requests JSON
api/index.py