Skip to content

A real-time aircraft tracker. Track commercial flights, military aircraft, helicopters, cargo planes, and private aircraft on an interactive map with weather radar.

License

Notifications You must be signed in to change notification settings

SysAdminDoc/SkyTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

40 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โœˆ๏ธ SkyTrack - Live Flight Tracker

A powerful real-time aircraft tracking application. Track commercial flights, military aircraft, helicopters, cargo planes, and private aircraft on an interactive map with advanced filtering, alerts, and analysis tools.

โœˆ๏ธ Launch SkyTrack โœˆ๏ธ

Live Demo

SkyTrack Screenshot

๐ŸŒŸ Features

Core Tracking

  • Real-time Aircraft Tracking โ€” Live positions updated every 5 seconds
  • Multiple Data Sources โ€” Automatic failover between OpenSky Network, ADSB.lol, and Airplanes.live
  • Aircraft Categories โ€” Filter by Commercial, Military, Cargo, Cessna, Private, Helicopter, or Ground vehicles
  • Flight Trails โ€” View complete flight paths from takeoff to current position
  • Aircraft Photos โ€” Automatic photo lookup via Planespotters.net
  • Airline Banners โ€” Display airline logos for commercial flights
  • Aircraft Labels โ€” Toggleable callsign labels on the map

Special Aircraft Detection

  • Military Aircraft โ€” Automatic detection via hex codes and type
  • Government/State Aircraft โ€” Highlighted with special badges
  • Police & Law Enforcement โ€” Identified and tracked
  • Medical/Air Ambulance โ€” Emergency aircraft highlighted
  • Historic Aircraft โ€” Classic and vintage planes flagged
  • VIP Aircraft โ€” Notable aircraft with special indicators
  • PIA (Privacy/Interesting Aircraft) โ€” Tracked aircraft of interest

Advanced Analysis

  • Multi-Select Mode โ€” Select multiple aircraft simultaneously
  • Comparison Panel โ€” Side-by-side comparison of selected aircraft stats
  • Statistics Dashboard โ€” Real-time stats with charts and records
  • Watchlist โ€” Track specific aircraft with alerts when spotted
  • Notification Center โ€” Centralized alerts for watchlist, geofence, and emergency events

Airport Features

  • Airport Information Panel โ€” Detailed airport data with frequencies
  • Arrivals/Departures Board โ€” Live flight board for selected airports
  • Runway Visualization โ€” See runway layouts on the map
  • NOTAMs Display โ€” View active notices for airports
  • LiveATC Integration โ€” Quick link to live ATC audio feeds

Time & History

  • Time Machine โ€” Replay historical flight data with playback controls
  • History Indicator โ€” See when viewing historical vs. live data
  • Session Statistics โ€” Track your viewing session stats

Geofencing & Alerts

  • Custom Geofences โ€” Draw zones on the map to monitor
  • Entry/Exit Alerts โ€” Get notified when aircraft enter or leave zones
  • Zone Management โ€” Save, edit, and organize monitoring zones
  • Emergency Squawk Detection โ€” Automatic alerts for 7500/7600/7700

Weather & Environment

  • Weather Radar โ€” RainViewer precipitation overlay
  • Satellite View โ€” Toggle between dark map and satellite imagery
  • Wind Barbs โ€” Optional wind data display
  • SIGMET Warnings โ€” Significant meteorological information

Mobile Experience

  • Responsive Design โ€” Full-featured mobile interface
  • Bottom Sheet Navigation โ€” Native-feeling mobile UI
  • Touch Gestures โ€” Swipe and pinch controls
  • Haptic Feedback โ€” Tactile responses on supported devices
  • PWA Support โ€” Install as a standalone app

Reliability & Offline

  • Offline Mode โ€” View cached data when connection is lost
  • Circuit Breakers โ€” Automatic failover between data sources
  • Data Source Health Monitor โ€” Real-time source status indicator
  • Error Recovery โ€” Automatic retry and reconnection
  • Position Caching โ€” Recent positions stored for offline viewing

Capture & Export

  • Screenshots โ€” Capture current map view
  • Screen Recording โ€” Record tracking sessions
  • Export Data โ€” Save aircraft data for analysis

Customization

  • Theme System โ€” Dark, light, and custom color themes
  • Layout Presets โ€” Save and load UI configurations
  • Mini-map โ€” Optional overview map
  • Clustering โ€” Group markers in dense areas
  • Configurable Update Intervals โ€” Adjust refresh rates

๐Ÿ› ๏ธ Technologies

  • Vanilla JavaScript โ€” No frameworks required
  • Leaflet.js โ€” Interactive mapping
  • OpenStreetMap / Esri โ€” Map tiles
  • Service Worker โ€” PWA and offline support
  • CORS Proxies โ€” For cross-origin API requests

๐Ÿ“ก Data Sources

Source Data Type CORS Support
OpenSky Network Aircraft positions โœ… Native
ADSB.lol Aircraft positions, trails Via proxy
Airplanes.live Aircraft positions, trails Via proxy
Planespotters.net Aircraft photos Via proxy
RainViewer Weather radar โœ… Native

๐Ÿ“ฆ Installation

Option 1: GitHub Pages (Recommended)

  1. Fork this repository
  2. Enable GitHub Pages in repository settings
  3. Access at https://yourusername.github.io/SkyTrack/

Option 2: Local

git clone https://github.com/SysAdminDoc/SkyTrack.git
cd SkyTrack
# Open index.html in your browser, or serve locally:
npx serve .

Option 3: Install as PWA

Visit the live demo and click "Install" when prompted, or use your browser's install option.

๐ŸŽฎ Usage

Keyboard Shortcuts

Key Action
? Show keyboard shortcuts
Space Toggle play/pause (Time Machine)
F Toggle fullscreen
L Toggle aircraft labels
T Toggle trails
M Toggle multi-select mode
S Open statistics
W Open watchlist
Esc Close panels / Exit modes
Ctrl+Shift+D Log data source stats

Controls

Button Function
โ˜€๏ธ/๐ŸŒ™ Toggle day/night theme
T Toggle aircraft labels
๐ŸŒง๏ธ Toggle weather radar
๐Ÿ“ Center on your location
โš™๏ธ Open settings panel
๐Ÿ“Š Open statistics
๐Ÿ”” Notification center
๐Ÿ“ท Screenshot/Recording menu

Filters

Click category buttons to filter aircraft:

  • All โ€” Show all aircraft
  • Commercial โ€” Airlines and scheduled flights
  • Military โ€” Military aircraft (AE/AF hex codes)
  • Cargo โ€” Freight carriers (FedEx, UPS, etc.)
  • Cessna โ€” All Cessna aircraft models
  • Private โ€” General aviation and business jets
  • Heli โ€” Helicopters
  • Ground โ€” Ground vehicles and taxiing aircraft

Aircraft Details

Click any aircraft to view:

  • Aircraft photo or silhouette
  • Callsign, registration, and operator
  • Altitude, speed, heading, vertical speed
  • Aircraft type and category
  • Squawk code with alert detection
  • Complete flight trail
  • Wikipedia summary (when available)
  • External links (FlightAware, FR24, ADSBx, etc.)

โš™๏ธ Configuration

Edit the CONFIG object to customize:

const CONFIG = {
    updateInterval: 5000,        // Position update interval (ms)
    defaultLat: 28.5,            // Default map center latitude
    defaultLon: -81.5,           // Default map center longitude
    defaultZoom: 8,              // Default zoom level
    maxTrailPoints: 500,         // Maximum trail history points
    enableClustering: true,      // Group markers in dense areas
    enableOfflineMode: true,     // Cache data for offline use
    // ... more options
};

๐Ÿ”ง CORS Proxy Configuration

The application uses CORS proxies for APIs without cross-origin support:

  1. api.allorigins.win
  2. corsproxy.io
  3. api.codetabs.com

Circuit breakers automatically cycle through alternatives on failure.

๐Ÿ“‹ Aircraft Classification

Aircraft are classified using multiple methods:

  • Hex prefix โ€” AE/AF prefixes indicate US military
  • Type codes โ€” ICAO aircraft type designators
  • Callsign prefixes โ€” Airline/operator identification
  • ADS-B category โ€” A1 (light), A2 (small), A7 (helicopter), etc.
  • Database flags โ€” Military, government, and special flags
  • Registration patterns โ€” Country and operator identification

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

๐Ÿ“„ License

MIT License โ€” See LICENSE file for details.

๐Ÿ™ Acknowledgments


Made with โ˜• and โœˆ๏ธ

SkyTrack v3.9 โ€” Track flights like a pro.

GitHub Pages

About

A real-time aircraft tracker. Track commercial flights, military aircraft, helicopters, cargo planes, and private aircraft on an interactive map with weather radar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published