-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
41 lines (25 loc) · 1.36 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
myip
macOS CLI (shell script) to print public & local IP, network and DNS information, geolocation, address, map links, and share location information via Messages or Mail
myip [--ip=<IP address>] [ARG(s)]
OPTION
--ip= : input your public IP, if it is already known
OUTPUT ARGUMENTS
ip : public IP only
net : public IPs and related info incl. NAT-PMP
bt : torrent IP address (requires transmission CLI & an IP tracking torrent)
ether : additional local data like network IPs, hostname, MAC addresses, SSID etc.
dns : public & local DNS IPs, local resolvers & related info
loc : coordinates & country of public IPs (only with 'net' or 'dns')
geo : local geolocation (latitude & longitude)
addr : local geolocation (address)
map : print URLs to open local geolocation in Apple Maps, OSM or Google Maps
all : all of the above
OTHER ARGUMENTS
msg : share geolocation & address via Apple Messages (requires terminal-share CLI)
mail : share geolocation & address via Apple Mail (requires terminal-share CLI)
version : version number
help : this help document
Optional requisites:
(1) terminal-share: https://github.com/mattt/terminal-share
(2) transmission-cli: https://transmissionbt.com – install manually or with: brew install transmission-cli
Supported tracking torrent available at: https://ipleak.net (manually add with transmission-remote)