SpeedTest Docker App
A simple and modern web-based speed test app that allows users to test their internet speed via a Docker container. The app uses Flask for the backend and speedtest-cli to perform the actual speed test. This app mimics the functionality of popular speed test sites like Speedtest.net with a sleek, user-friendly GUI. Features
Real-time Speed Test: Measure download, upload speeds, and ping in real-time.
Modern GUI: A stylish, minimalistic design with a clean interface, including progress bars during the test.
Dockerized: Easily deploy the app in any environment using Docker.
Flask Backend: Powered by Flask to serve the web interface and interact with speedtest-cli.
Tech Stack
Backend: Flask (Python Web Framework)
Frontend: HTML, CSS, JavaScript
Speed Test: speedtest-cli (Python library)
Containerization: Docker
How to Use
Prerequisites:
Docker installed on your system. Follow this link for installation instructions.
Running the App Locally:
Clone the repository (or pull the Docker image):
git clone https://github.com/your-username/speedtest-docker.git cd speedtest-docker
Build the Docker Image:
docker build -t custom-speedtest .
Run the Docker Container:
docker run -d -p 5079:5079 custom-speedtest
Open a web browser and navigate to http://localhost:5079 to access the speed test interface.
Running the App with Docker Hub Image: If you prefer to use the pre-built image from Docker Hub, you can pull the image directly and run it:
docker pull okassama007/speedtest-app:latest
docker run -d -p 5079:5079 okassama007/speedtest-app:latest
Access the web interface at http://localhost:5079.
Usage:
Open the application in your browser at http://localhost:5079.
Click on the Start Speed Test button to begin testing your internet speed.
Wait for the results to be displayed, including Download Speed, Upload Speed, and Ping.
Contributing
Fork the repository.
Create a new branch (git checkout -b feature-xyz).
Commit your changes (git commit -am 'Add new feature').
Push to the branch (git push origin feature-xyz).
Open a pull request with your changes.
License
This project is licensed under the MIT License - see the LICENSE file for details. Additional Notes
You can customize this app or extend its functionality by modifying the Flask backend or the frontend HTML/CSS.
For faster performance, consider running this app on a system with high network speed.
The app is designed for personal use, and it's ideal for quick, local speed tests via the browser.
Tips for Setting Up the Repository on Docker Hub
Once you create this overview for your Docker repository, you can update your repository on Docker Hub with the following steps:
Add a repository description: Go to your Docker Hub repository page and paste the above content into the Description field.
Add a README file: Consider uploading the README file to your GitHub repository or directly to Docker Hub to provide more detailed documentation.
Add Tags and Categories: Ensure you select appropriate tags and categories so users can easily find your app (e.g., "speedtest", "docker", "internet speed").
This overview provides users with clear and concise information on how to use your Docker app and access its functionality. Make sure to replace any placeholder information (like repository links or your username) with the appropriate values.
docker pull okassama007/speedtest-app:latest