Skip to content

vextoly/request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Request

Ping but with color!

What is Request?

A user-friendly, high-visibility alternative to the standard ping command. Built in pure Bash with zero dependencies, featuring real-time stability tracking and color-coded latency diagnostics.

Feature Standard ping Request (request.sh)
Output readability Plain text Color-coded
Jitter tracking
Alerts
Summary Minimal Detailed min/max/avg + loss
Dependencies None Bash
Ease of install Pre-installed Download

Features

  • Color-Coded Status: Instantly identify connection quality.
  • Jitter Tracking: Calculates the variance between pings to detect "micro-stutter."
  • Zero Dependencies: No awk, no bc. Uses pure Bash arithmetic and sed.
  • Detailed Summary: Comprehensive report on exit (Min/Max/Avg latency and Packet Loss).
  • Audible Alerts: Optional beeps when packets are dropped.
  • Fully Configurable: Supports custom packet sizes, intervals, and TTL.

Installation

  1. Download the script:
curl -O https://raw.githubusercontent.com/vextoly/request/main/request.sh
  1. Make it executable:
chmod +x request.sh
  1. (Optional) Move to your PATH:
sudo mv request.sh /usr/local/bin/request

Usage

Basic usage

./request.sh google.com

Advanced options

./request.sh -i 0.5 -s 128 -a 1.1.1.1
Flag Description Default
-c <num> Stop after X packets Infinite
-i <sec> Interval between probes 1s
-s <bytes> Packet size 56B
-t <ttl> Set Time To Live 64
-a Audible alert (beep) on packet loss Off

Stability Guide

Status Range Description
🟢 STABLE < 30ms Optimal for gaming and VOIP
🔵 GOOD 30ms - 80ms Smooth browsing and streaming
🟡 LATE 80ms - 150ms Noticeable delay/lag
🔴 CRIT > 150ms Significant connection issues

About

A user-friendly, high-visibility alternative to the standard ping command. Built in pure Bash with zero dependencies, featuring real-time stability tracking and color-coded latency diagnostics.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages