Real-time flight tracking with AI-powered weather analysis and landing condition predictions.
FlightAI Tracker is a full-stack flight tracking application that combines live ADS-B flight data with real-time weather analysis to give passengers and aviation enthusiasts an intelligent view of flight conditions anywhere in the world.
Select any of the 10,000+ flights currently in the air and instantly get the weather at that exact position, a comfort rating, landing condition forecast, and a plain-English breakdown of any risks — all powered by a custom AI scoring engine.
- 🌍 Live Flight Map — Real-time positions of all active flights worldwide via OpenSky Network
- 🌤️ Position Weather — Fetches live weather at the exact lat/lon of any selected flight via Open-Meteo
- 🤖 AI Analysis Engine — Scores flight comfort and landing conditions using wind, CAPE, precipitation, visibility, and more
- 🟢🟡🔴 Comfort Rating — Smooth / Moderate / Rough with a roughness score out of 16
⚠️ Risk Detection — Identifies wind shear, turbulence, low visibility, thunderstorms, and icing risks- 📋 Plain-English Summary — Passenger-friendly breakdown of current flight conditions
| Layer | Tool |
|---|---|
| Frontend | Streamlit |
| Map | PyDeck |
| Flight Data | OpenSky Network API (free) |
| Weather Data | Open-Meteo API (free, no key) |
| AI Engine | Custom heuristic scoring agent |
| Layer | Tool |
|---|---|
| Framework | Next.js 14 (App Router) |
| Map | React-Leaflet |
| Styling | Tailwind CSS |
| Language | TypeScript |
| Data | OpenSky + Open-Meteo via API routes |
# Clone the repo
git clone https://github.com/your-username/flightai-tracker.git
cd flightai-tracker/flightai
# Create virtual environment
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install dependencies
pip install streamlit pandas requests pydeck python-dotenv
# Run
streamlit run app.pycd flightai-web
npm install
npm run dev- Flight data is fetched from the OpenSky Network every 30 seconds — no API key required
- When a flight is selected, weather is fetched from Open-Meteo at its exact coordinates
- The AI scoring engine evaluates wind speed, gusts, precipitation, convective energy (CAPE), visibility, and weather conditions
- A roughness score (0–16) determines the comfort rating and landing conditions
- Specific risk factors are identified and surfaced as warnings
| Factor | Max Points |
|---|---|
| Wind speed | 3 |
| Wind gusts | 3 |
| Precipitation | 2 |
| Convective energy (CAPE) | 3 |
| Visibility | 2 |
| Severe conditions | 4 |
| Total | 17 |
- 0–2 → Smooth 🟢 / Landing: Good
- 3–5 → Moderate 🟡 / Landing: Fair
- 6–9 → Rough 🔴 / Landing: Poor
- 10+ → Rough 🔴 / Landing: Dangerous
- OpenSky Network — Free real-time ADS-B flight data
- Open-Meteo — Free weather API, no key required
MIT License