Tether API exposes your phone's connection status via a local HTTP API, accessible from tethered devices like laptops.
Perfect for integrating phone status into desktop widgets, status bars (waybar, polybar), or custom scripts.
Features:
• Auto-start when tethering is enabled
• Real-time connection info: 5G, LTE, 3G, WiFi
• Signal strength in dBm and bars (0-4)
• Carrier name and roaming status
• Battery level and charging state
• Simple REST API with JSON responses
API Endpoints:
• GET /status - Full phone status
• GET /health - Health check
Example usage from your laptop:
curl http://192.168.42.1:8765/status
Use cases:
• Waybar/polybar modules showing phone signal
• KDE Plasma widgets
• Custom scripts and automation
• Any app that can make HTTP requests
The server runs on port 8765 and is only accessible from your tethered device, not the internet.
Expose phone status via HTTP API when tethering