An Alfred 3 workflow that provides quick access to information about all airports in the world.
Love this? Please consider supporting its creator by starring or sponsoring this project on GitHub!
Read the project's README
Airports Workflow ✈️ for Alfred 3
A workflow for Alfred 3 that provides quick access to information about all airports in the world.
The latest version can be found here as well:
Download the latest version of the
airports.alfredworkflow from the Releases page and double click the downloaded file to install it.
The workflow supports automatic updates and will perform daily update checks!
⏎ Return on a selected item, the workflow tries to be helpful by opening either the airports website or its Wikipedia page if it has one. If it has neither a website nor an entry in Wikipedia, it opens the Apple Maps.app with the location of the airport.
When holding down a modifier key, the action can be specified:
||Open the website of the selected airport.|
||Open the Wikipedia page of the selected airport.|
||Show the airports location in Maps.app|
0.1.4, you can search for ICAO codes as well!
If you want to contribute, fork this repository and submit a pull request.
To make the project work locally on your machine, clone the repository, go to the directory and issue the following commands:
$ pip install --target=lib -r requirements.txt
Alternatively, if you would rather work with a virtual environment, run these commands:
$ virtualenv --python=python2.7 .venv $ source .venv/bin/activate $ pip install -r requirements.txt
To run the script in the terminal, simply do:
$ python airports.py <search query>
You can install
jq from Homebrew and pipe the output of the workflow through this program to get nice formatting and the option to query the JSON.
The following resources were used when creating this workflow:
- The excellent Alfred-Workflow python library by Dean Jackson.
- The airport icon used in the workflow by Freepik and licensed under CC 3.0 BY.
- All the airport data from ourairports.com.
A big ♥️ thank you to all creators!
If this is useful to you in any way, you could buy me a beer 🍺!