feat: initial release of myip v1.0.0

This commit is contained in:
2026-10-03 05:52:34 +03:00
commit bf4a509794
10 changed files with 354 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
{
"app": {
"name": "MyIP",
"tagline": "Zero-Latency IP Address Resolver & Network Diagnostic Utility",
"version_output": "{name} v{version} by {author}"
},
"cli": {
"usage": "Usage: myip [options]",
"options_title": "Options:",
"opt_help": "Show this help message and exit",
"opt_version": "Show version information and exit",
"opt_json": "Output results as structured JSON",
"opt_local": "Output local LAN IP address only",
"opt_public": "Output public WAN IP address only",
"opt_verbose": "Show detailed interface list and geolocation metadata"
},
"output": {
"single_line": "Local IP: {local_ip} | Public IP: {public_ip}",
"local_only": "{local_ip}",
"public_only": "{public_ip}",
"unknown": "Unavailable",
"resolving": "Resolving network configuration...",
"verbose_header": "Network Configuration & Public Geolocation:",
"field_hostname": "Hostname",
"field_local_ip": "Local IP (LAN)",
"field_public_ip": "Public IP (WAN)",
"field_city": "City",
"field_region": "Region",
"field_country": "Country",
"field_org": "ISP / Organization",
"field_timezone": "Timezone",
"interfaces_header": "Active Network Interfaces:"
},
"errors": {
"public_resolution_failed": "Failed to resolve public IP address.",
"local_resolution_failed": "Failed to resolve local IP address."
}
}