LivePing is a real-time network latency monitoring tool that provides a web-based interface for visualizing ping results. It features a responsive design, real-time graphing, and detailed statistics.
- Real-time ping visualization with interactive graph
- Web-based interface with responsive design
- Detailed statistics including min/max/avg RTT and packet loss
- Visual indication of lost packets
- Automatic reconnection on disconnection
- Cross-platform support
# Install using go install
go install github.com/rodrigopv/liveping/cmd/liveping@latest
# Or clone and build from source
git clone https://github.com/rodrigopv/liveping.git
cd liveping
go build -o liveping ./cmd/livepingBasic usage:
liveping <target>Options:
# Specify a custom listen address (default :8080)
liveping -l :9000 <target>
# Set ping interval in milliseconds (default 100ms)
liveping -i 1000 <target>
# Enable verbose output for ping responses
liveping -v <target>
# Show help
liveping -hPing Google's DNS server:
liveping 8.8.8.8Ping with custom port and interval:
liveping -l :9000 -i 500 google.comPing with verbose output:
liveping -v cloudflare.comOnce started, open your browser and navigate to:
http://localhost:8080
The web interface provides:
- Real-time latency graph
- Current latency display
- Detailed statistics
- Restart button
- Responsive design for mobile devices
- Clone the repository:
git clone https://github.com/rodrigopv/liveping.git
cd liveping- Build the binary:
go build -o liveping ./cmd/liveping- Run the tool:
./liveping <target>liveping/
├── cmd/
│ └── liveping/
│ └── main.go
├── internal/
│ └── ping/
│ ├── assets/
│ │ └── index.html
│ ├── assets.go
│ ├── config.go
│ └── server.go
├── go.mod
├── go.sum
├── LICENSE
└── README.md
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
