Aviation Bot for WhatsApp
Real-time METAR, TAF, flight calculators & more
WhatsAV is a WhatsApp bot designed for aviation enthusiasts. You can chat with the bot using the number +44 73 0856 4711 or by clicking the link below:
Author: Guillermo Cortés | guillermocort.es
- Real-time Weather: METAR, TAF, decoded weather summaries
- Flight Calculators: Descent, crosswind, fuel, TAS, ETE
- Airport Information: NOTAMs, runways, search
- Utilities: Unit converter, phonetic alphabet, squawk codes
- Easy to Use: No prefix needed in private chats!
Simply write the command directly:
metar LEMD
wx KJFK
descent 35000 3000 120 450
Mention the bot followed by your command:
@WhatsAV metar LEMD
@WhatsAV help
| Command | Usage | Description |
|---|---|---|
metar |
metar <ICAO> [ICAO...] |
Raw METAR observation |
wx |
wx <ICAO> |
Decoded weather summary |
taf |
taf <ICAO> [ICAO...] |
TAF forecast |
| Command | Usage | Description |
|---|---|---|
descent |
descent <alt> <target> <dist> [speed] |
Top of Descent calculator |
crosswind |
crosswind <wind_dir> <wind_spd> <runway> |
Crosswind component |
fuel |
fuel <fuel> <consumption> [speed] |
Fuel endurance & range |
tas |
tas <IAS> <altitude> [temp] |
True Airspeed calculator |
ete |
ete <distance> <speed> [ETD] |
Time enroute calculator |
| Command | Usage | Description |
|---|---|---|
notam |
notam <ICAO> |
Active NOTAMs |
ainfo |
ainfo <ICAO/IATA> |
Airport information |
runway |
runway <ICAO> |
Runway info with wind |
search |
search <name> |
Search airports by name |
| Command | Usage | Description |
|---|---|---|
fsearch |
fsearch <DEP> [ARR] |
Search flights between airports |
| Command | Description |
|---|---|
amendments |
AIP Spain amendments |
airac |
Current AIRAC cycle info |
| Command | Usage | Description |
|---|---|---|
convert |
convert <value> <unit> |
Unit conversions (ft/m, nm/km, etc.) |
zulu |
zulu |
Current UTC time worldwide |
phonetic |
phonetic <text> |
ICAO phonetic alphabet |
squawk |
squawk [code] |
Transponder code meanings |
| Command | Description |
|---|---|
help |
All commands |
ping |
Bot latency |
about |
About the bot |
status |
Bot uptime |
- Node.js (v16 or higher)
- npm
-
Clone the repository:
git clone https://github.com/Concara3443/WhatsAV.git cd WhatsAV -
Install the dependencies:
npm install
-
Create a
.envfile with your API keys:RAPIDAPI_KEY=your_rapidapi_key_here
-
Prepare the session (scan QR code):
npm run prepare
-
Start the bot:
npm start
- Download WinSW and place it in the project directory
- Create/edit
WhatsAV-service.xml:<service> <id>WhatsAV</id> <name>WhatsAV Bot</name> <description>WhatsApp Aviation Bot</description> <executable>node</executable> <arguments>src/index.js</arguments> <workingdirectory>C:\path\to\WhatsAV</workingdirectory> <logpath>C:\path\to\WhatsAV\logs</logpath> <log mode="roll-by-size"> <sizeThreshold>10240</sizeThreshold> <keepFiles>8</keepFiles> </log> </service>
- Install and start the service:
WhatsAV-service.exe install WhatsAV-service.exe start
Feel free to fork the repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.
Guillermo Cortés
- Website: guillermocort.es
- GitHub: Concara3443
This project is licensed under the MIT License - see the LICENSE file for details.
