Ever looked up near an airport and wondered where all those planes are going?
Turns out you don't need a Flightradar subscription to answer that. There's a free, community-run network called adsb.lol where hobbyists share data from their own ADS-B receivers, and it has an open API.
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.
Setup
mkdir sky && cd sky npm init -y npm i @matmuenzel/adsblol-ts
Enter fullscreen mode
Exit fullscreen mode
Node 22+ is all you need. No API key required.
The script
// overhead.ts import { AdsbLol , callsign , altitudeFt , isMilitary } from " @matmuenzel/adsblol-ts " ;
const adsb = new AdsbLol (); const home = { lat : 50.03 , lon : 8.57 }; // Frankfurt Airport – put your own coordinates here
const { ac } = await adsb . aircraft . near ({ ... home , radiusNm : 25 });
const airborne = ac . filter (( a ) => typeof a . alt_baro === " number " ) // skip planes on the ground .…