Offline commercial aircraft specs, airport lookup, and great-circle distance calculator. 165 commercial aircraft and 7,698 airports are embedded in the binary, so no network access or API key is required.
brew install berkanktk/tap/aviation-cliaviation aircraft "A350-900"
aviation search 737 # every matching aircraft as a table
aviation distance CPH JFK
aviation airport CPH
aviation compare "A320neo" "737 MAX 8"
aviation range "787-9" --from CPH # airports reachable nonstop from CPH
aviation manufacturers # aircraft count by manufacturer
aviation stats # dataset overview: aircraft + airport countsAircraft lookups match by model name (e.g. "787-9"), full name (e.g.
"BOEING 787-9 Dreamliner"), or ICAO type code (e.g. B789). Ambiguous
queries list all matching aircraft instead of guessing, or you can run
aviation search <query> for the same matches as a browsable table.
Airport lookups accept IATA (3-letter) or ICAO (4-letter) codes.
compare bolds+greens whichever aircraft wins each numeric row (capacity,
range, cruise speed). Output overall is colorized on a real terminal and
drops to plain text automatically when piped, redirected, or when
NO_COLOR is set.
Datasets live at internal/data/aircraft.json and internal/data/airports.json,
embedded at build time via go:embed: no bundled runtime dependency, no
network fetch.
go build -o aviation .
go vet ./...
gofmt -l .