← Back to blog

Free AI travel planner: downloadable HTML guides ready to book

How I built a travel planner with Gemini, Tavily and Wikipedia: day-by-day itinerary, tickets, hotels and real destination photos.

The problem

Trip planning usually means 15 tabs: Skyscanner, Booking, maps, generic blogs and a half-finished Google Doc. I wanted a free tool that returns a downloadable guide with concrete legs, one stay per city and activities with photos of the place — not a wall of invented text.

What it does

The planner lives at paupedrejon.com/en/viajes:

  • Search-style wizard (origin, destinations, dates, luxury level)
  • HTML guide with typography and color adapted to the destination
  • Transport with booking links per leg
  • One lodging per city with total = nightly × nights
  • Dense day-by-day itinerary + “See it for real” YouTube clips
  • Per-activity photos via Wikipedia / Wikimedia (not a random pool)

How it’s built

PieceRole
Next.js App RouterDark Cherry UI + /api/viajes/plan
GeminiPlan as JSON → deterministic HTML render
TavilyPrice context / YouTube videos
Wikipedia + CommonsImage per activity (batched pageimages)

The model proposes the plan; the server validates density, recalculates money and builds the guide with a custom renderer.

Try it

  1. Open /en/viajes
  2. Pick origin and 1–3 destinations
  3. Download the guide and use the booking links

Feedback or a weird destination to break it: contact.

Free AI travel planner: downloadable HTML guides ready to book | Pau Pedrejon