This project uses Flask and speedtest-cli to measure internet speed (download, upload, and ping). Users can run the test with a single click via a simple web interface and see the results.
- Real-time internet speed testing
- Displays download, upload speeds, and ping
- Simple and clean frontend
pip install flask speedtest-cliflask-speedtest/
βββ app.py
βββ templates/
β βββ index.html
βββ static/
β βββ style.css (optional)
βββ README.md
python app.pyThen open your browser and go to:
π http://127.0.0.1:5000
This endpoint runs the internet speed test and returns the following JSON result:
{
"download": 23.45,
"upload": 8.76,
"ping": 21.43,
"duration": 7.32
}This project is open-source and free to use for any purpose.
Author: Ahrorjon Powered by Flask + Speedtest-cli β€οΈ