alfred-ip-address-workflow
An Alfred 5 workflow for getting your local and external IP addresses.
Installation
- Download the workflow
- Double click the
.alfredworkflow
file to install - (Optional) Specify which external IP service you would like to use (see below for more details)
Note that the Alfred Powerpack is required to use workflows.
External IP services
In order to get your external IPv4 and IPv6 addresses, the workflow must query an external IP service. By default, the workflow uses icanhazip.com, but any service that returns your external IP in plaintext will work. The following is a non-exhaustive list of free services that you can use. Some of these may be blocked by your firewall or ISP.
To configure the service used:
- Open Alfred preferences
- Click Workflows on the left
- Select the IP Address workflow
- Click the Configure Workflow button in the header of the workflow builder
- Enter the HTTP/HTTPS address of the service
- Click Save
Usage
- Use the keyword
ip
to trigger the workflow - Select IP you would like to copy or paste (local IPv4, external IPv4, local IPv6, external IPv6)
- Press
enter
to copy to clipboard and paste into the forefront application or just⌘ + c
to copy to clipboard
License
Code released under the MIT License.