Note
This README was AI-generated and may require verification and updates.
A modern, fast, and beautiful internet speed test application powered by Cloudflare's global network. QwkSpd provides real-world speed measurements by testing against Cloudflare's servers, giving you insights into your actual browsing experience rather than idealized speed test results.
- Real-world Speed Testing: Uses Cloudflare's global network for practical speed measurements
- Beautiful Modern UI: Clean, responsive design built with Mantine components
- Comprehensive Metrics: Download, upload, ping, and jitter measurements
- Location-aware: Automatically detects your location and nearest Cloudflare server
- Advanced Statistics: Detailed insights into your network performance
- Usage Estimates: See what you can do with your current connection speed
- Debug Mode: Manual speed value setting for testing (Cmd+G to toggle)
- Mobile Responsive: Works seamlessly across all devices
- Frontend: React 19 + TypeScript
- UI Framework: Mantine v8
- Build Tool: Vite
- Speed Testing: Cloudflare Speedtest API
- Styling: CSS with custom animations
- Icons: React Icons
- Node.js (v16 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/barxilly/BenJSSpeedTest.git
cd BenJSSpeedTest- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to
http://localhost:5173
npm run buildThe built files will be in the dist directory, ready for deployment.
- Start a Test: Click the speed test button to begin measuring your connection
- View Results: See real-time updates of download/upload speeds, ping, and jitter
- Location Info: Your location and nearest Cloudflare server are automatically detected
- Advanced Stats: Click to view detailed network performance insights
- Usage Estimates: See what activities your connection can handle
- Debug Mode: Press
Cmd+Gto access debug controls for manual testing
Unlike traditional speed tests that use dedicated speed test servers, QwkSpd uses Cloudflare's Content Delivery Network (CDN). This provides:
- Real-world Results: Tests against the same infrastructure that powers much of the modern web
- Global Coverage: Cloudflare's extensive network ensures testing from nearby servers
- Practical Insights: Results reflect actual browsing and streaming performance
- Consistency: Standardized testing across different locations and ISPs
- Download speed measurement in real-time
- Upload speed testing
- Ping latency measurement
- Network jitter analysis
- Automatic IP-based location detection
- Fallback to browser geolocation API
- Distance calculation to nearest Cloudflare server
- Server location display with distance in km/miles
- Gradient background design
- Smooth animations and transitions
- Responsive layout for all screen sizes
- Modal overlays for detailed information
- Custom loading states and progress indicators
- Keyboard shortcuts for power users
- Debug mode for developers and testing
- Comprehensive error handling
- Performance optimization for smooth testing
npm run dev- Start development server with hot reloadnpm run build- Build for productionnpm run lint- Run ESLint for code qualitynpm run preview- Preview production build locally
src/
├── App.tsx # Main application component
├── App.css # Application styles and animations
├── main.tsx # Application entry point
├── index.css # Global styles
└── assets/ # Static assets
- Speed Test Engine: Handles connection testing using Cloudflare's API
- Location Detection: IP-based and GPS location services
- UI Components: Modal dialogs, progress indicators, and responsive layouts
- Animation System: CSS keyframe animations for smooth transitions
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is open source and available under the MIT License.
- Cloudflare for providing the speed test infrastructure
- Mantine for the excellent React components
- Vite for the lightning-fast build tool
- React Icons for the beautiful icons
If you encounter any issues or have questions:
- Check the Issues page
- Create a new issue with detailed information
- Include your browser, OS, and connection details
QwkSpd - Fast, accurate, beautiful speed testing for the modern web
