Skip to content

felixity1917/cxx-net-speed-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cxx-net-speed-monitor

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.

Features

  • 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.

Usage

  1. Clone the repository:

    git clone https://github.com/felixity1917/cxx-net-speed-monitor.git
    cd cxx-net-speed-monitor
  2. Install the required packages (if not already installed):

    sudo pacman -S gcc ncurses iputils
  3. Run the program:

    ./dist/cxx-net-speed-monitor

Building

Prerequisites

  • C++20 or newer compiler (e.g., g++)
  • ncurses library
  • ping command (usually available by default on most Linux distributions)

Steps

  1. Build the project:

    make
  2. Package the release:

    make dist

    This will create a .tar.gz archive in the dist/ folder containing the executable and necessary headers.

  3. Clean build artifacts:

    make clean
  4. Clean everything, including distribution files:

    make dist-clean

Contributing

Feel free to fork this repository and submit pull requests for any improvements or new features. Contributions are always welcome!

Code of Conduct

Please follow the project's code of conduct when contributing. Ensure that your code is well-documented and tested.

License

This project is licensed under the GPLv3 License - see the LICENSE file for details.

Acknowledgments

  • ncurses: For providing the TUI framework.
  • ping: For network latency measurement.

About

TUI-based network latency monitor using ncurses in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published