Skip to content

rahulthota21/travel-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌍 TravelSync — AI-Powered Trip Planner

Create personalized travel plans using AI, flight data, hotel search, photo recognition, and local recommendations — all in one Streamlit app.


✨ Features

  • 🧠 AI-Powered Itinerary Generator using Groq/OpenAI
  • ✈️ Live Flight Search powered by Amadeus API
  • 🏨 Hotel Recommendations with Geolocation filtering
  • 📸 Photo-Based Destination Recognition using Google Vision & Places
  • 🧳 Travel Essentials Checklist based on location & season
  • 💬 Natural Language & Structured Input Support
  • ⚙️ Built using Streamlit, OpenAI, Groq, Google APIs, and Amadeus

🚀 Demo Usage

Upload a photo or enter a prompt like:

Plan a 4-day trip from Delhi to Manali starting June 10 with a mid-range budget.

You’ll get:

  • ✈️ Flights
  • 🗓️ Itinerary
  • 🏨 Hotels
  • 🧳 Essentials Checklist

🛠️ Local Setup

1. Clone the Repository

git clone https://github.com/yourusername/travel-sync.git
cd travel-sync

2. Create a Virtual Environment (Optional)

python -m venv .venv
source .venv/bin/activate  # On Windows: .\.venv\Scripts\activate

3. Install Dependencies

pip install -r requirements.txt

4. Add API Keys

Create a .env file based on .env.example:

AMADEUS_CLIENT_ID=your-amadeus-client-id
AMADEUS_CLIENT_SECRET=your-amadeus-client-secret
GROQ_API_KEY=your-groq-api-key
GOOGLE_API_KEY=your-google-api-key

5. Run the App

streamlit run app.py

🔐 APIs Used

API Provider Purpose
OpenAI / Groq LLM Generator Generate itinerary & recognition
Amadeus Travel API Amadeus Flights and hotel data
Google Maps & Vision Google Cloud Geocoding, image analysis, POIs

📂 Project Structure

.
├── app.py                  # Streamlit app entry
├── ver/                   # Modular business logic
│   ├── amadeus_token.py
│   ├── flight_search.py
│   ├── hotel_search.py
│   ├── itinerary_generator.py
│   ├── place_recognizer.py
│   ├── travel_essentials.py
│   └── trip_pipeline.py
├── .env.example            # Sample environment variables
├── requirements.txt        # Python dependencies
├── .gitignore              # Git exclusions

🙌 Acknowledgements

👨‍💻 Contributors

rahulthota21
Thota Rahul
Kowshik4593
Kowshik Padala
99sarath
Sarath Chandra
teja-actions
Peruri Teja Sai Sathwik
chdvv15
Chappidi Dinesh
Unknown Contributor
Chetan Kalyan

About

This project is done in Tredence Hackathon

Resources

Stars

Watchers

Forks

Contributors

Languages