Skip to content

A command-line tool and API for retrieving scheduled and historical flight data and generating Endless ATC airline configurations.

License

Notifications You must be signed in to change notification settings

zefir-git/eatc-airlines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eatc-airlines

A command-line tool and API for retrieving scheduled and historical flight data and generating Endless ATC airline configurations.

Features

  • Fetch scheduled and past flights (up to 7 days) from AirNav Radar.
  • Convert flight data into airlines configuration for Endless ATC custom airspace.
  • Analyse traffic flow statistics from flight data.
  • Simple, fast, and works offline once data is fetched.
  • No API key or authentication required.

Installation

Requirements

  • Node.js and NPM (Latest LTS version recommended).
  • A terminal, Command Prompt (cmd.exe), or similar for executing shell commands.

Install Globally

Use your preferred terminal application to run the following command:

npm install -g eatc-airlines

Android Installation (via Termux)

  1. Install Termux, a terminal emulator for Android:

    Get it on Google Play Get it on F-Droid

  2. Install Node.js and NPM:

    pkg install nodejs
  3. Install eatc-airlines:

    npm i -g eatc-airlines

Updating

To update to the latest version:

npm install -g eatc-airlines@latest

Usage

Fetching Flight Data

Retrieve scheduled and historical flights (up to 7 days in the past) for a specific airport.

Command:

eatc-airlines fetch <icao> [path]
  • <icao>ICAO airport code (e.g., EGLL for Heathrow).
  • [path](Optional) File path to save the data. Defaults to a unique file in the current directory.

Example:

mkdir EGLL && cd EGLL
eatc-airlines fetch EGLL

Note

The fetched JSON files should not be manually edited unless you know what you are doing.


Generating airlines Configuration for Endless ATC

Convert fetched flight data into an airlines configuration for Endless ATC.

Command:

eatc-airlines gen <paths...>
  • <paths...>One or more JSON files or directories containing flight data.

Example:

# Convert all flight data in the current directory
eatc-airlines gen .

# Convert all files in a specific directory
eatc-airlines gen ./EGLL

# Convert specific files
eatc-airlines gen file1.json file2.json

# Save output to a file
eatc-airlines gen ./EGLL > EGLL-airlines.txt

Analysing Traffic Flow

Generate basic statistics on traffic flow from fetched flight data.

Command:

eatc-airlines flow <paths...>

Uses the same arguments as the gen command.

Example:

eatc-airlines flow ./EGLL

Contributing

This project is free and open-source under the GNU General Public License, Version 3. Contributions are welcome!

For inquiries or collaboration, contact:

Matrix @zefir:cloudnode.pro
E-mail [email protected]

About

A command-line tool and API for retrieving scheduled and historical flight data and generating Endless ATC airline configurations.

Topics

Resources

License

Stars

Watchers

Forks