Skip to content
/ ipby Public

Simply check private/public IP on your terminal

License

Notifications You must be signed in to change notification settings

leelsey/ipby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IPby

Simply check private/public IP

Before using this,

If you want to check through the Web Browser, please visit IPbyNet website and easily check your public IP.

1. Support OS

  • macOS
  • Linux

2. How to use it?

This is a CLI tool.

  1. Quickly and simply use
ipby
  1. Advanced options
ipby <command>
  • version: check ipby version
  • all: show detail IP for public and private
  • public: show detail IP for IP public
  • private: show detail IP for private
  • help: command explains

3. How to own build

Before this, need GIT and GoLang

git clone https://github.com/leelsey/ipby
cd IPby/cmd/ipby && go mod tidy
go build ipby.go

4. OpenSource

This is MIT License.

  • Public IP used by ipify. It checked your x-forwarded-for value.
  • Private IP used ipconfig tool for macOS, hostname tool for Linux and ipconfig tool for Windows. It included in each Operating System.

About

Simply check private/public IP on your terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages