Skip to content
Show your internal and external IP address using Zazu 💻
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
README.md
example.gif
index.js
package.json
yarn.lock
zazu.json

README.md

zazu-ip-address Travis

Show your internal and external IP address using Zazu 💻

Get your current IP address, internal and public, from your launcher!

Usage

Open Zazu and type ip

demo

Install

Add blakek/zazu-ip-address inside the plugins block of your ~/.zazurc.json file (C:\Users\YOUR_NAME\.zazurc.json on Windows).

Get IPv4 addresses (default):

{
  /* In ~/.zazurc.json */
  "plugins": [
    "blakek/zazu-ip-address"
  ]
}

Reorder and/or add IPv6: (all options)

Notes:

  • Sometimes, some values won't return anything (i.e. IPv6 sometimes won't work). This depends on your network settings.
  • Text in order array ignores letter case
{
  /* In ~/.zazurc.json */
  "plugins": [
    {
      "name": "blakek/zazu-ip-address",
      "variables": {
        "order": [
          "internal ipv4",
          "internal ipv6",
          "public ipv4",
          "public ipv6"
        ]
      }
    }
  ]
}

Acknowledgments

blakek/zazu-ip-address depends on the awesome modules sindresorhus/internal-ip and sindresorhus/public-ip.

See Also

License

MIT

You can’t perform that action at this time.