cxx-net-speed-monitor
is a command-line network speed monitor built with C++ using ncurses
for a dynamic TUI (Text User Interface). It pings multiple servers in various regions (South Asia, CIS, EU, NA) and displays the speed dynamically with color-coded indicators (green, yellow, red) to reflect the network status.
- Pings servers from different regions to check network latency and speed.
- Real-time dynamic updates on the network status.
- Color-coded output using
ncurses
for a simple and effective TUI display. - Easy to use and extend for different server regions or metrics.
-
Clone the repository:
git clone https://github.com/felixity1917/cxx-net-speed-monitor.git cd cxx-net-speed-monitor
-
Install the required packages (if not already installed):
sudo pacman -S gcc ncurses iputils
-
Run the program:
./dist/cxx-net-speed-monitor
- C++20 or newer compiler (e.g.,
g++
) - ncurses library
- ping command (usually available by default on most Linux distributions)
-
Build the project:
make
-
Package the release:
make dist
This will create a
.tar.gz
archive in thedist/
folder containing the executable and necessary headers. -
Clean build artifacts:
make clean
-
Clean everything, including distribution files:
make dist-clean
Feel free to fork this repository and submit pull requests for any improvements or new features. Contributions are always welcome!
Please follow the project's code of conduct when contributing. Ensure that your code is well-documented and tested.
This project is licensed under the GPLv3 License - see the LICENSE file for details.
- ncurses: For providing the TUI framework.
- ping: For network latency measurement.