jason5ng32/myip
A better IP Toolbox. 一个更好的 IP 工具箱。 check https://ipcheck.ing for detail.
100K+
MyIP is an advanced IP utility designed to provide a wide range of information and diagnostics about your IP address. It's perfect for users who need to view and analyze their IP details, check website accessibility, perform DNS leak tests, and more.
You can try out the application at https://ipcheck.ing. Please note, this demo is for non-commercial use only. For commercial purposes, it's recommended to deploy your own instance.
?
to view the shortcut list.Running with Docker
You can easily run MyIP using Docker. Here are a few command options for deploying it:
Standard Deployment:
docker run -d -p 18966:18966 --name myip jason5ng32/myip:latest
Access the app at http://localhost:18966.
Deployment with Automatic Restart::
docker run -d -p 18966:18966 --name myip --restart always jason5ng32/myip:latest
Optional: Deployment with ENV Keys:
You can use the program without adding any environment variables, but if you want to use some advanced features, you can add the following environment variables:
Variable Name | Required | Default Value | Description |
---|---|---|---|
BACKEND_PORT | No | "11966" | The running port of the backend part of the program |
FRONTEND_PORT | No | "18966" | The running port of the frontend part of the program |
SECURITY_RATE_LIMIT | No | "0" | Controls the number of requests an IP can make to the backend server every 60 minutes (set to 0 for no limit) |
SECURITY_DELAY_AFTER | No | "0" | Controls the first X requests from an IP every 20 minutes that are not subject to speed limits, and after X requests, the delay will increase |
SECURITY_BLACKLIST_LOG_FILE_PATH | No | "logs/blacklist-ip.log" | Path setting. Records the list of IPs that triggered the limit after SECURITY_RATE_LIMIT is enabled |
BING_MAP_API_KEY | No | "" | API Key for Bing Maps, used to display the location of the IP on a map |
ALLOWED_DOMAINS | No | "" | Allowed domains for access, separated by commas, used to prevent misuse of the backend API |
IPCHECKING_API_KEY | No | "" | API Key for IPCheck.ing, used to obtain accurate IP geolocation information |
IPINFO_API_TOKEN | No | "" | API Token for IPInfo.io, used to obtain IP geolocation information through IPInfo.io |
IPAPIIS_API_KEY | No | "" | API Key for IPAPI.is, used to obtain IP geolocation information through IPAPI.is |
KEYCDN_USER_AGENT | No | "" | The domain name when using KeyCDN, must contain https prefix. Used to obtain IP address information through KeyCDN |
CLOUDFLARE_API | No | "" | API Key for Cloudflare, used to obtain AS system information through Cloudflare |
You can add environment variables when running Docker, for example:
docker run -d -p 18966:18966 \
-e BING_MAP_API_KEY="YOUR_KEY_HERE" \
-e ALLOWED_DOMAINS="example.com" \
-e IPChecking_API_KEY="YOUR_TOKEN_HERE" \
--name myip \
jason5ng32/myip:latest
This application is open for non-commercial use. For commercial deployment, please use the Docker image to set up your own instance.
docker pull jason5ng32/myip