Skip to content

axrorback/internet-speed-test-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 Flask Speedtest App

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.

πŸš€ Features

  • Real-time internet speed testing
  • Displays download, upload speeds, and ping
  • Simple and clean frontend

πŸ“¦ Requirements (Dependencies)

pip install flask speedtest-cli

πŸ“ File Structure

flask-speedtest/
β”œβ”€β”€ app.py
β”œβ”€β”€ templates/
β”‚   └── index.html
β”œβ”€β”€ static/
β”‚   └── style.css  (optional)
└── README.md

▢️ Running the App

python app.py

Then open your browser and go to: πŸ‘‰ http://127.0.0.1:5000


πŸ“‘ API Endpoints

/run_test

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
}

πŸ“„ License

This project is open-source and free to use for any purpose.


Author: Ahrorjon Powered by Flask + Speedtest-cli ❀️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors