A modern cultural travel platform that connects travelers with authentic destinations through AI-powered guidance and meaningful travel experiences.
SophoTravel helps travelers discover genuine cultural experiences by combining intelligent AI assistance with curated destination information. The platform provides personalized travel recommendations, cultural insights, and practical advice through an interactive chatbot, making authentic wanderlust accessible to everyone.
AI Travel Assistant
- Intelligent chatbot powered by Google Gemini 2.5 Flash
- Personalized travel recommendations based on user preferences
- Bilingual support (English and Vietnamese)
- Cultural insights and practical travel advice
- Structured responses with concise bullet points
Conversation Management
- Persistent chat history across sessions using localStorage
- AI-generated conversation titles for easy navigation
- Sidebar interface for browsing past conversations
- Create new chats and delete old ones seamlessly
Modern User Interface
- Full-height responsive chat layout
- Smooth animations and transitions
- Professional SaaS-inspired design
- Quick action buttons for common queries
- Real-time typing indicators
Cultural Focus
- Emphasis on authentic local experiences
- Hidden gems and off-the-beaten-path destinations
- Cultural heritage and traditions
- Local market recommendations
- Sustainable and responsible travel practices
Frontend
- React 19.1.1
- Vite (Rolldown) for fast development
- Tailwind CSS 4.1.16 for styling
- React Router DOM 7.9.4 for navigation
- Lucide React for icons
AI & APIs
- Google Generative AI (Gemini 2.5 Flash)
- Google OAuth for authentication
Storage
- Browser localStorage for conversation persistence
Clone the repository:
git clone https://github.com/SahilGupta721/NewHacks-2025.git
cd NewHacks-2025/frontendInstall dependencies:
npm installCreate a .env file in the frontend directory:
VITE_GEMINI_API_KEY=your_gemini_api_key
VITE_GOOGLE_CLIENT_ID=your_google_client_id
VITE_SERPAPI_KEY=your_serpapi_keyStart the development server:
npm run devThe application will open at http://localhost:5173
Starting a Conversation
- Navigate to the AI Assistant page
- Use quick action buttons or type your own question
- Receive personalized travel recommendations
Managing Conversations
- Click "Show History" to view past conversations
- Select any conversation to continue where you left off
- Click "New Chat" to start a fresh conversation
- Hover over a conversation and click the trash icon to delete
Getting Recommendations
Ask SophoBot about:
- Best destinations for cultural travel
- Hidden gems and local experiences
- Authentic food and markets
- Travel safety and etiquette tips
- Best times to visit specific locations
frontend/
├── src/
│ ├── components/
│ │ └── common/ # Reusable components (Navbar, Footer)
│ ├── pages/
│ │ ├── SupportPage.jsx # AI chatbot interface
│ │ └── StoriesPage.jsx # About page
│ └── App.jsx
├── public/
└── package.json
The application requires the following environment variables:
VITE_GEMINI_API_KEY- Google Gemini API key for AI chatbotVITE_GOOGLE_CLIENT_ID- Google OAuth client IDVITE_SERPAPI_KEY- SerpAPI key for search functionality
Obtain your Gemini API key from Google AI Studio
The application is configured for deployment on Vercel:
- Push your code to GitHub
- Import the repository in Vercel
- Add environment variables in Vercel dashboard
- Deploy automatically on every push to main branch
This project demonstrates:
- Integration of modern AI APIs (Google Gemini) in React applications
- State management with React hooks and localStorage
- Building responsive and accessible user interfaces
- Implementing conversation history and context management
- Creating professional SaaS-style designs with Tailwind CSS
- Developing bilingual applications with smart language detection
Contributions are welcome. Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/improvement) - Commit your changes (
git commit -m 'Add new feature') - Push to the branch (
git push origin feature/improvement) - Open a Pull Request
Development Team
- Bruce Vo
- Sahil Gupta
- Divroop Kaur Sandhu
- KseniaTk
This project uses the following technologies and services:
- Google Gemini AI for intelligent travel recommendations
- Tailwind CSS for rapid UI development
- Lucide for beautiful open-source icons
- Vite for lightning-fast development experience
- Vercel for seamless deployment and hosting
Special thanks to the open-source community for providing excellent tools and libraries that made this project possible.
This project is part of NewHacks 2025 hackathon submission.
Built with passion for authentic travel experiences.