Skip to content
/ myip Public

"myip" is a tiny utility to show external and local IP with binded adapter name.

License

Notifications You must be signed in to change notification settings

iqhater/myip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f10e998 Β· Mar 9, 2025

History

23 Commits
Mar 9, 2025
Mar 9, 2025
Mar 9, 2025
Dec 1, 2018
Sep 4, 2023
Mar 9, 2025
Mar 9, 2025
Sep 23, 2024
Sep 23, 2024
Sep 7, 2023

Repository files navigation

myip

myip is a simple and convenient CLI tool for retrieving your local and external IP address.

πŸš€ Installation

Install myip using go install:

go install github.com/iqhater/myip@latest

Then, add it to your PATH if necessary:

export PATH=$HOME/go/bin:$PATH

πŸ›  Usage

Simply run the command:

myip

You will get the following output:

Local interface name: vEthernet (hyperV-external)
  Internal IP (IPv4): 10.180.0.60
  External IP (IPv4): 42.30.210.106
             Country: Netherlands
        Country Code: NL

πŸ“œ License

This project is licensed under the MIT License.


πŸ’‘ Star us on GitHub if you like this project! ⭐

About

"myip" is a tiny utility to show external and local IP with binded adapter name.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published