Myip
Get your external IP address using multiple STUN servers
Install / Use
/learn @Snawoot/MyipREADME
myip
Reliably and quickly get your external IP address from public STUN servers. Program issues parallel queries to public STUN servers to determine public IP address and returns result as soon as quorum of matching responses reached. By default quorum is 2. Useful for scripting.
Installation
Binary download
Pre-built binaries available on releases page.
From source
Alternatively, you may install myip from source. Run within source directory
go install
Docker
Docker image is available as well:
docker run --rm ghcr.io/snawoot/myip
Snap Store
sudo snap install go-myip
Usage
$ myip
1.2.3.4
Synopsis
-6 use IPv6
-q uint
required number of matches for success (default 2)
-s string
STUN server list (default "stun.l.google.com:19302;stun.ekiga.net:3478;stun.ideasip.com:3478;stun.schlund.de:3478;stun.voiparound.com:3478;stun.voipbuster.com:3478;stun.voipstunt.com:3478")
-t duration
hard timeout. Examples values: 1m, 3s, 1s500ms
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
