A small Windows-friendly desktop utility that shows your internal and external IP addresses in a compact window and system tray menu. It updates automatically on a timer and lets you refresh on demand.
- Shows internal (LAN) and external (public) IPs
- System tray icon with quick actions (Show/Hide, Refresh, Quit)
- Auto-refresh every hour (configurable in
main.py) - Lightweight Tkinter UI
- Python 3.9+ (3.8+ should work)
- Packages:
pystrayPillow
pip install pystray Pillowpython main.pypip install pyinstaller
pyinstaller --onefile --noconsole --name ucips main.pyThe executable will be in dist/ucips.exe.
- External IP lookup uses
https://api.ipify.org?format=json. - Close the window to send it to the tray; use the tray menu to quit.
- Refresh interval: edit
REFRESH_SECONDSinmain.py. - Tray icon: edit
create_tray_image()inmain.py.