A Python/Kivy application that provides a graphical user interface for the tracert (Windows) or traceroute (macOS/Linux) commands.
- Cross-platform: Works on Windows, macOS, and Linux
- Easy-to-use UI: Simple and intuitive interface built with Kivy
- Real-time Results: View trace results in a scrollable text area
- Status Updates: See current operation status in real-time
- Clear Results: Clear previous results with a single click
- Error Handling: Comprehensive error handling and timeout protection
- Python 3.7+
- Kivy 2.3.0
- Clone or navigate to the project directory:
cd tracert-kivy- Install dependencies:
pip install -r requirements.txtRun the application:
python main.py- Enter a hostname or IP address in the "Target Host" field
- Click "Start Trace" to begin the trace
- Wait for the results to appear in the results area
- Click "Clear Results" to reset the interface
- Windows: Uses the built-in
tracertcommand - macOS/Linux: Uses the
traceroutecommand - Threading: Network operations run in background threads to keep the UI responsive
- Timeout: Traces will timeout after 60 seconds to prevent hanging
- On Windows, ensure
tracertis available (it's built-in) - On macOS/Linux, ensure
tracerouteis installed:- macOS:
brew install traceroute - Linux:
sudo apt-get install traceroute(Debian/Ubuntu)
- macOS:
- Some systems require administrator/root privileges for traceroute
- Run the application with elevated privileges if needed
- The application uses threading, so the UI should remain responsive
- Traces timeout after 60 seconds if they take too long
- The application automatically detects your operating system and uses the appropriate command
- Results are displayed with full output from the trace command
- The UI is designed to be mobile-friendly and works on tablets