Get your public IP from the command line.
From the same collection as show-my-ip, a Firefox extension that does just that.
Type the following in a command line:
gip
And as a result, your public IP is returned.
You can either use a precompiled binary from the release section, or you can build it yourself by doing the following, assuming you have a working Go environment:
go get -u github.com/TwinProduction/gip
By default, this uses my website's API - https://twinnation.org/api/v1/ip
Want to use a different API for getting the IP?
No problem, all you have to do is set the GIP_API_URL environment variable to the API of your choice.
Here are some APIs you can use: