Airspace Radar Table
Select any row to open flight inspector
| Callsign | Type | Alt | Speed | Hdg | V/S | Dist | Route |
|---|
AIRSPACE RADAR COMMAND · METAFIELDLABS
Emergency detected on QFA72 — descending rapidly
Select any row to open flight inspector
| Callsign | Type | Alt | Speed | Hdg | V/S | Dist | Route |
|---|
-- · --
Deploy this Worker to unlock live OpenSky data with CORS + KV caching. No server required — runs on Cloudflare's edge globally.
// MetafieldLabs · Plane Spotter · Cloudflare Worker
// OpenSky OAuth2 (Basic auth removed in 2024) + KV caching
// Full source: cloudflare-worker/worker.js
const TOKEN_URL = 'https://auth.opensky-network.org/auth/realms/opensky-network/protocol/openid-connect/token';
const OPENSKY = 'https://opensky-network.org/api';
async function getToken(env) {
const cached = env.PLANE_KV && await env.PLANE_KV.get('oauth:token');
if (cached) return cached;
const resp = await fetch(TOKEN_URL, {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({
grant_type: 'client_credentials',
client_id: env.OPENSKY_CLIENT_ID,
client_secret: env.OPENSKY_CLIENT_SECRET,
})
});
const { access_token } = await resp.json();
// Cache for 25 min (token valid 30 min)
if (env.PLANE_KV) await env.PLANE_KV.put('oauth:token', access_token, { expirationTtl: 1500 });
return access_token;
}
const CORS = { 'Access-Control-Allow-Origin':'*', 'Content-Type':'application/json' };
export default {
async fetch(request, env) {
if (request.method === 'OPTIONS') return new Response(null, { status:204, headers:CORS });
const { pathname, searchParams } = new URL(request.url);
if (pathname === '/health') return Response.json({ ok: true }, { headers: CORS });
const token = (env.OPENSKY_CLIENT_ID) ? await getToken(env) : null;
const auth = token ? { Authorization: `Bearer ${token}` } : {};
if (pathname === '/api/states') {
const lat = searchParams.get('lat')||'-31.94', lon = searchParams.get('lon')||'115.97';
const r = searchParams.get('radius')||'120';
const deg = r/111;
const q = `lamin=${lat-deg}&lamax=${+lat+deg}&lomin=${lon-deg}&lomax=${+lon+deg}`;
const ck = `states:${lat}:${r}`;
const hit = env.PLANE_KV && await env.PLANE_KV.get(ck);
if (hit) return new Response(hit, { headers:CORS });
const body = await (await fetch(`${OPENSKY}/states/all?${q}`, {headers:auth})).text();
env.PLANE_KV?.put(ck, body, { expirationTtl:60 });
return new Response(body, { headers:CORS });
}
if (pathname === '/api/arrivals') {
const apt = searchParams.get('airport')||'YPPH', h = searchParams.get('hours')||12;
const end = Math.floor(Date.now()/1000), begin = end - h*3600;
const r = await fetch(`${OPENSKY}/flights/arrival?airport=${apt}&begin=${begin}&end=${end}`,{headers:auth});
return new Response(await r.text(), { headers:CORS });
}
return Response.json({ error:'not_found' }, { status:404, headers:CORS });
}
};
name = "mfl-plane-spotter" main = "worker.js" compatibility_date = "2024-01-01" # Optional: add your OpenSky credentials as secrets # wrangler secret put OPENSKY_USER # wrangler secret put OPENSKY_PASS [[kv_namespaces]] binding = "PLANE_KV" id = "REPLACE_WITH_YOUR_KV_NAMESPACE_ID" # Create namespace first: # wrangler kv:namespace create "PLANE_KV"
npm i -g wrangler && wrangler loginwrangler kv:namespace create "PLANE_KV" → paste id in wrangler.tomlwrangler secret put OPENSKY_CLIENT_IDwrangler secret put OPENSKY_CLIENT_SECRETwrangler deployA transponder is an avionics device that broadcasts a 4-digit octal code (0–7 each digit = 4096 combinations) in response to radar interrogation. ATC assigns each flight a unique squawk to separate them on radar. Three codes are universally reserved for emergencies — every controller worldwide knows them instantly.
Aviation radio communication uses a strict, unambiguous vocabulary refined over decades. Every word is chosen to prevent misunderstanding across accents, noise and interference. Ambiguity at 35,000 feet costs lives — so pilots speak precisely, briefly, and in a specific order: WHO you are calling — WHO you are — WHERE you are — WHAT you want.
9 is "NINER" (not "nine") — avoids confusion with the German word "nein" (no). 3 is "TREE" — avoids confusion with "free." Time is always in UTC = "Zulu time."
Wing vortices trail every aircraft like invisible tornadoes — rotating at 50–90 m/s. A Super's vortex can roll a following aircraft inverted. Separations: Super needs 180s behind another Super, 240s for following Heavy or Medium. This radar sim shows realistic wake categories — that extra spacing you see at busy airports is not inefficiency, it is physics saving lives.
The gold standard of precision approaches. Two radio beams guide the aircraft: the Localizer (108–112 MHz) gives left/right guidance to the runway centreline, and the Glideslope (329–335 MHz) gives up/down guidance at exactly 3 degrees from touchdown. The needles on the PFD cross at the perfect point. Cat I minimum: 200ft DH, 550m RVR. Cat IIIc: zero/zero — landing in fog so thick you cannot see the nose.
VHF Omnidirectional Range. Ground station broadcasts 360 "radials" outward like spokes on a wheel. Aircraft identifies which radial it is on and flies TO or FROM the station. Used for en-route navigation since the 1950s. Being phased out by GPS but remains a backup.
GPS-based Required Navigation Performance approaches. Can navigate curved paths into mountainous airports. RNP 0.1 means the aircraft stays within 0.1 nautical mile of the path 95% of the time. Used Queenstown, Innsbruck, Kathmandu — where terrain would make ILS impossible.
This radar uses an alliance colour-coding system. Every commercial aircraft icon is tinted by its airline group — allowing instant situational awareness of airline density at any airport. The three global mega-alliances together serve over 1.4 billion passengers per year.
The world's largest alliance. Founded by Lufthansa, United, Air Canada, SAS and Thai. Singapore Airlines, ANA, Air New Zealand and 20 more. First and largest — set the template for codeshare cooperation, lounge access and mileage reciprocity.
Premium focus. British Airways, Qantas, American Airlines, Cathay Pacific, Japan Airlines, Malaysia Airlines, Finnair. The alliance synonymous with First Class long-haul. Tight network; fewer airlines than rivals but all flag carriers.
Air France, KLM, Delta, Korean Air, China Eastern. Strong transatlantic (Delta + Air France) and trans-Pacific corridors. Amsterdam Schiphol and Paris CDG are its twin European hubs.
Independent. Flagship of Dubai. 270+ destinations from one hub. Operates the world's largest A380 fleet. No alliance by design — competes with all three. Signature green cockpit stripe on every aircraft.
Oneworld member. Voted World's Best Airline multiple times. 5-star Skytrax. Doha hub. Qsuites business class — the doors that changed premium travel forever.
Abu Dhabi's flag carrier. Smaller but ultra-premium. The Residence — a three-room suite on the A380. Independent of all alliances.
Airspace Radar Command shows live ADS-B air traffic (adsb.lol) and real airport weather (NOAA METAR) around 26 airports on 5 continents, with aircraft details and routes from adsbdb. If the live feed is ever unavailable it falls back to simulated traffic and says so clearly (SIMULATED TRAFFIC). Features include real alliance colour-coding, emergency squawk pulse animations, ILS extended centrelines, contrail trail rendering, ATIS voice broadcast, Golden Hour photography prediction, and Progressive Web App support. Built for aviation enthusiasts, student pilots, and anyone who looks up when they hear a jet engine.
METAFIELDLABS · LIVE AVIATION RADAR · © 2026