Travel Discovery & Itinerary Planner

Discover local places and turn them into walkable day-by-day itineraries.

Search any city for landmarks, parks, museums, and local food — save your shortlist, group nearby spots by neighborhood, and open each day directly in Google Maps.

Sign in with GitHub to save spots and plan trips online, or self-host locally. Get started

Pick any city above to preview how Local Explorer groups saved places into neighborhood days right in your browser.

Route Preview

Neighborhood Day Clustering

Groups nearby saved spots into distinct day zones and orders each day to minimize backtracking — powered by the same routing engine in lib/itinerary-routing.ts.

Destination
Trip Length
Stops / Day
Quiet early-morning stone lane in Kyoto's Higashiyama district leading toward a wooden pagoda against misty hills

Kyoto, Japan

12 of 15 saved spots · 3 days

Day 1 4 stops
  • 1Arashiyama Bamboo Grove
    natural
  • 2Tenryu-ji Temple
    religion
  • 3Togetsukyo Bridge
    architecture
  • 4Ryoan-ji Rock Garden
    religion

Click Shuffle route to try alternative day splits while keeping each day grouped in the same neighborhood. Any day link opens the full multi-stop route directly in Google Maps.

Workflow

From City Search to Walkable Days

One unified workspace connects place discovery, your Saved Locations shortlist, automatic route planning, and the Gemini assistant.

City & Neighbourhood Search

Search any city or neighborhood to pull curated attractions across a 15 km radius via OpenStreetMap Nominatim and OpenTripMap.

  • Balances major sights and local eateries automatically (capping food spots at 20%) so restaurants never crowd out landmarks.
  • Filter results instantly across 10 categories: Museums, Historic, Architecture, Cultural, Natural, Markets, Viewpoints, Amusements, Religion, and Foods.
  • Caches recent city searches in PostgreSQL so repeat lookups feel instant.

Stack

Built With

A single-page Next.js workspace backed by PostgreSQL, OpenTripMap, and Google Gemini.

Layer Technology Purpose
Frontend Next.js 16 · React 19 · TypeScript App Router workspace with SSR preload
Styling Tailwind CSS v4 · shadcn/ui Light/dark mode + Coastal, Terracotta & Twilight palettes
Database PostgreSQL · Prisma · Redis (optional) Saved places, trips, and fast query caching
Auth NextAuth.js v4 (GitHub OAuth) Personal saved lists and synced trips
Place Data Nominatim · OpenTripMap City geocoding and curated attraction discovery
AI Assistant Gemini 3.5 Flash Lite Natural-language search and itinerary generation

Get Started

Run It Locally

Needs Node.js 20.9+, pnpm, Docker (for PostgreSQL), and free-tier keys for GitHub OAuth, OpenTripMap, and Google Gemini.

Quick start
git clone https://github.com/victorperson999/Destination-Itinerary-Generator.git
cd Destination-Itinerary-Generator
pnpm install
# Add DATABASE_URL and API keys to .env.local (see README below)
docker compose up -d
pnpm prisma migrate dev && pnpm dev