Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

33 planes are around Frankfurt Airport right now. Here’s how I know (in 20 lines of TypeScript)

说明与用途

使用免费 adsb.lol API 的 20 行 TypeScript CLI 列出距离法兰克福机场 25 NM 内的飞机。

问题

Determine which aircraft are currently within a 25‑NM radius of a given airport using free ADS‑B data.

结果

The script reports 33 aircraft within 25 NM of Frankfurt Airport, listing callsigns, altitudes, distances, and indicating military status. No aircraft were squawking 7700 worldwide.

工作流

  • 1. Initialise a Node project and install @matmuenzel/adsblol-ts.
  • 2. Create a script that imports AdsbLol and helper functions.
  • 3. Define the target location (lat/lon) and radius (25 NM).
  • 4. Call adsb.aircraft.near() to fetch nearby aircraft.
  • 5. Filter out ground aircraft and sort by distance.
  • 6. Log the count and details of the top 10 aircraft.
  • 7. Optionally query adsb.aircraft.bySquawk('7700') to count worldwide emergency squawking aircraft.
  • 8. Run the script with npx tsx overhead.ts.

证据

I wrote a small, zero‑dependency TypeScript client for it: @matmuenzel/adsblol-ts. Let's build a tiny "what's flying around here?" CLI with it.

来源

Node 22+ is all you need. No API key required.

来源

✈️ 33 aircraft within 25 NM CFG4KC A319 -100 ft 2.6 km ...

来源

-100 ft isn’t a bug. alt_baro is barometric altitude relative to standard pressure (1013.25 hPa)...

来源

  • 记录日期: 2026-11-01T22:58:49.506Z