Skip to content

soham124/SAFAR

Repository files navigation

Safar-2.0

Deployed Link : https://akhulisumit.github.io/Safar-2.0/

🛫 AI-Powered Travel Itinerary Planner with Weather Integration

🚀 An intelligent travel planning tool that generates personalized itineraries based on user preferences, budget, and destination while integrating real-time weather updates for better recommendations.


🌟 Features

User-Friendly Form – Enter details like destination, travelers, duration, budget, interests, and special requirements.
AI-Generated Itinerary – Uses Google Gemini API to create a structured HTML-based travel plan.
Real-Time Weather Updates – Fetches the latest weather conditions from OpenWeather API for the selected destination.
Interest-Based Customization – Users can choose from travel interests (e.g., adventure, beaches, food) to tailor recommendations.
Smooth UI & Error Handling – Displays loading indicators, alerts for missing inputs, and handles API failures gracefully.


📌 How It Works

1️⃣ User submits travel details via the input form.
2️⃣ Weather data is fetched from OpenWeather API.
3️⃣ AI generates a customized travel itinerary with weather insights.
4️⃣ Results are displayed in a formatted HTML layout.


🛠️ Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • APIs:
    • 🌦️ OpenWeather API – Fetches real-time weather data
    • 🤖 Google Gemini API – Generates AI-powered travel itineraries

📦 Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/your-username/travel-itinerary-planner.git
cd travel-itinerary-planner



# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors