Skip to content

alexchantastic/alfred-ip-address-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alfred-ip-address-workflow

Screenshot

An Alfred 5 workflow for getting your local and external IP addresses.

Installation

  1. Download the workflow
  2. Double click the .alfredworkflow file to install
  3. (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:

  1. Open Alfred preferences
  2. Click Workflows on the left
  3. Select the IP Address workflow
  4. Click the Configure Workflow button in the header of the workflow builder
  5. Enter the HTTP/HTTPS address of the service
  6. Click Save

Usage

  1. Use the keyword ip to trigger the workflow
  2. Select IP you would like to copy or paste (local IPv4, external IPv4, local IPv6, external IPv6)
  3. 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.