ODYSSEY is an elite, world-class travel companion that leverages the power of Google Gemini 1.5 Flash to provide travelers with bespoke itineraries, immersive heritage tours, and real-time safety analytics.
Whether you're exploring the hidden alleys of Lisbon or the ancient ruins of Rome, Odyssey ensures your journey is inspired, safe, and culturally enriched through high-fidelity neural synthesis and interactive mapping.
Imagine high-resolution screenshots of your Dashboard, AI Planner, and Virtual Heritage Explorer here.
- Bespoke Itineraries: Generate multi-day travel plans tailored to your destination, budget, and travel style (Foodie, Cultural, Adventure, or Relaxed).
- Geospatial Plotting: All activities are automatically plotted on an interactive map with real-world coordinates.
- Intelligent Routing: Sequential path-finding visualizes your daily journey with distance estimates and transport suggestions.
- Immersive Narratives: Deep sensory descriptions of global landmarks, from the Taj Mahal to Machu Picchu.
- Heritage Guardian AI: An interactive chat system that "lives" in the monument, answering questions about construction secrets and hidden lore.
- Architectural Spotlights: Detailed breakdowns of structural masterpieces and astronomical alignments.
- Safety Vector Mapping: Real-time geospatial heatmaps identifying "Caution Areas" vs. "Safe Zones" based on traveler data.
- Scam Encyclopedia: Stay ahead of local tourist traps with detailed descriptions of common scams (e.g., "The Gold Ring Scam").
- Budget Analysis: Live estimates for average meal, transport, and accommodation costs.
- Authentic Journals: Share your own travel experiences with a global community.
- AI Blog Assist: Stuck on a title or description? The AI assistant can draft poetic micro-blogs based on your destination and theme.
- Souvenir Achievements: Earn digital badges and "stamps" as you use the platformβs toolsβfrom plotting routes to scanning for safety risks.
- Pilgrim Tracking: Tracks your virtual visits to world heritage sites.
- React + TypeScript: For a robust, type-safe UI.
- Tailwind CSS: Modern, utility-first styling with a custom "Odyssey" design system.
- Framer Motion: High-fidelity fluid animations and transitions.
- Leaflet.js: Interactive mapping with custom themes (Satellite, Dark, Voyager).
- Node.js & Express: Robust backend architecture with custom middleware for serverless environment compatibility.
- Google Gemini 1.5 Flash: Utilizing JSON-schema output modes for structured travel data.
- Procedural Fallback Engine: A deterministic hashing system that generates high-quality simulated travel data when API limits are reached.
- Vite: Blazing fast HMR and optimized production builds.
Odyssey is built for resilience. If the Gemini API is unreachable or rate-limited, the system automatically switches to a Dynamic Procedural Generator.
Using a deterministic hashing algorithm based on your destination name, it creates:
- Geographic Mesh: Realistic coordinates within the target region.
- Thematic Consistency: Itineraries that match your chosen style (Foodie, Cultural, etc.) even while offline.
ODYSSEY_AI_Travel_Platform/
βββ src/
β βββ components/ # Reusable React components (Map, Chat, etc.)
β βββ types/ # TypeScript interface definitions
β βββ App.tsx # Main application logic and routing
β βββ index.css # Tailwind styles and custom theme variables
βββ server.ts # Express server with Gemini AI endpoints
βββ vite.config.ts # Vite configuration for SPA and HMR
βββ .env # Environment variables (API Keys)
βββ package.json # Project dependencies
- Node.js (v18 or higher)
- A Google Gemini API Key (Get one at AI Studio)
git clone https://github.com/bikram73/ODYSSEY_AI_Travel_Platform.git
cd odyssey-ai-travelnpm installCreate a .env file in the root directory:
GEMINI_API_KEY=your_gemini_api_key_here
NODE_ENV=developmentTo start the full-stack application (Vite + Express):
npm startThe application will be running at http://localhost:3000.
| Endpoint | Method | Description |
|---|---|---|
/api/generate-itinerary |
POST |
Generates a structured JSON travel plan. |
/api/virtual-heritage |
POST |
Fetches historical details and sensory narratives. |
/api/safety-analysis |
POST |
Provides safety indices and scam reports. |
/api/blog-assistance |
POST |
Drafts AI-powered travel blog content. |
/api/health |
GET |
Checks API key and server environment status. |