PingFlow v2 is a powerful, cross-platform command-line tool that provides comprehensive network analysis including internet speed testing, connectivity detection, WiFi information, and latency measurements. Built with TypeScript and designed to work flawlessly on Windows, macOS, and Linux.
- Internet Speed Testing - Accurate download speed measurement with multiple fallback servers
- Network Connectivity Detection - Smart detection of internet connectivity issues
- WiFi Information - Display current WiFi network name and connection details
- Ping Latency Testing - Comprehensive latency testing to multiple hosts
- Network Interface Details - IP address, gateway, and interface information
- Windows - Full support including WiFi name detection
- macOS - Native support with system integration
- Linux - Compatible with major distributions
- Robust Error Handling - Graceful handling of network issues
- Interactive CLI - Modern, user-friendly command-line interface
- Real-time Progress - Live progress bars with speed indicators
- Colorful Output - Intuitive color-coded results
- Multiple Modes - Interactive, automatic, and specific test modes
- Multiple Test Servers - Automatic failover between speed test servers
- Smart Server Selection - Chooses the best available server automatically
- Comprehensive Error Messages - Clear, actionable error reporting
- Detailed Statistics - Min/max/average latency, packet loss, and more
First, ensure you have Node.js (version 14 or higher) installed on your system.
Install PingFlow v2 globally via npm:
npm install -g pingflow
pingflow
# Run all tests automatically
pingflow --auto
# Speed test only
pingflow --speed
# Ping test only
pingflow --ping
# Network information only
pingflow --network
# Show detailed system information
pingflow --auto --verbose
# Skip intro banner
pingflow --network --no-intro
# Show help
pingflow --help
# Show version
pingflow --version
____ _ _____ _ ____
| _ \(_)_ __ __ _| ___| | _____ __ __ _|___ \
| |_) | | '_ \ / _` | |_ | |/ _ \ \ /\ / / \ \ / / __) |
| __/| | | | | (_| | _| | | (_) \ V V / \ V / / __/
|_| |_|_| |_|\__, |_| |_|\___/ \_/\_/ \_/ |_____|
|___/
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π Comprehensive Internet Speed & Network Analysis Tool
Cross-platform β’ Accurate β’ Reliable
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π‘ Network Information:
ββββββββββββββββββββββββββββββββββββββββ
β Status: Connected
πΆ Connection Type: WIFI
π‘ WiFi Network: MyHomeNetwork
π IP Address: 192.168.1.100
πͺ Gateway: 192.168.1.1
ββββββββββββββββββββββββββββββββββββββββ
π Ping Test Results:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 4/4 hosts reachable
π Overall Average Latency: 25.3ms
π Latency Rating: Excellent
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π Speed Test Results:
ββββββββββββββββββββββββββββββββββββββββββββββββββ
β Test completed successfully
π Server: Cloudflare
β¬οΈ Download Speed: 85.42 Mbps
π¦ Data Transferred: 10.00 MB
β° Duration: 0.94 seconds
β‘ Speed Rating: Very Good
ββββββββββββββββββββββββββββββββββββββββββββββββββ
PingFlow v2 uses multiple high-quality speed test servers with automatic failover:
- Cloudflare - Global CDN with excellent performance
- Fast.com (Netflix) - Netflix's speed testing infrastructure
- ThinkBroadband - Reliable UK-based testing server
- SpeedTest.net - Popular speed testing service
- Proof General - European testing server
- Windows: Uses
netsh
commands for WiFi detection andipconfig
for network details - macOS: Leverages
airport
utility and system commands - Linux: Compatible with
iwconfig
,nmcli
, and standard networking tools - Fallback: Uses Node.js built-in network interfaces as backup
- Tests connectivity to multiple reliable hosts (Google DNS, Cloudflare DNS, etc.)
- Provides detailed statistics including min/max/average latency and packet loss
- Cross-platform ping command compatibility
"No internet connectivity detected"
- Check your network connection
- Verify firewall settings aren't blocking the application
- Try running with administrator/sudo privileges
"All speed test servers failed"
- Check if your ISP or firewall is blocking HTTP/HTTPS requests
- Verify DNS resolution is working
- Try the network info test first:
pingflow --network
WiFi name not detected
- On Windows: Run as Administrator for full WiFi access
- On Linux: Ensure
iwconfig
ornmcli
is available - On macOS: Grant terminal network access permissions
Permission errors
- Run as Administrator (Windows) or with sudo (Linux/macOS)
- Check antivirus software isn't blocking the application
Windows
- For best results, run Command Prompt as Administrator
- Windows Defender may require permission for network access
- PowerShell and Command Prompt are both supported
macOS
- May require granting network access permissions
- Works with both Terminal and iTerm2
- Compatible with macOS 10.14 and later
Linux
- Requires
ping
command (usually pre-installed) - For WiFi detection:
iwconfig
ornmcli
recommended - Tested on Ubuntu, Debian, CentOS, and Arch Linux
- β Full Windows Compatibility - Fixed all Windows-specific issues
- β WiFi Name Detection - Cross-platform WiFi network identification
- β Multiple Speed Test Servers - Automatic failover for reliability
- β Enhanced Error Handling - Clear, actionable error messages
- β Interactive CLI - Modern, user-friendly interface
- β Comprehensive Ping Testing - Detailed latency analysis
- β Network Information Display - Complete connection details
- β Command Line Options - Flexible usage modes
- Rewritten in TypeScript for better reliability
- Modular architecture for easier maintenance
- Improved cross-platform compatibility
- Better error recovery and retry logic
- Enhanced progress indicators and user feedback
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Make your changes and add tests if applicable
- Commit your changes:
git commit -m 'Add amazing feature'
- Push to the branch:
git push origin feature/amazing-feature
- Open a Pull Request
# Clone the repository
git clone https://github.com/Romaric250/pingflow.git
cd pingflow
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run dev
# Test the built version
npm run test
This project is licensed under the ISC License. See the LICENSE file for details.
- Thanks to all the speed test server providers
- Built with love using Node.js and TypeScript
- Inspired by the need for reliable, cross-platform network testing
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: lonfonyuyromaric@gmail.com