GithubHelp home page GithubHelp logo

felixnext / docker-speedtest-v2 Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 1.0 1.28 MB

New Version of the docker speed-test tool

License: Apache License 2.0

Python 16.66% JavaScript 81.62% HTML 1.72%

docker-speedtest-v2's Introduction

docker-speedtest-v2

New version of the docker speedtest tool. The components are more decoupled and the UI is reworked to allow manual tests and more data.

New Features:

  • Change scan interval
  • Invoke scan manually
  • Component based approach to ensure more fail safty + Leverage Docker-Compose

Screenshot: Screenshot

Getting Started

First create an environment file (db.env) that contains the line POSTGRES_PASSWORD=<YOUR PASSWORD HERE>. Next you will need to adjust the API_HOST variable with the IP address of the machine you want to run the system on in the webapp/app/config.js file.

You can then run the docker compose script:

docker-compose up -d

This will automatically build and deploy the containers.

Code Structure

The code is structured into 4 components, each of which are packaged into a docker container and then orchastrated through docker-compose. The compontents are:

  • database - Postgres Database that stores the relevant information
  • speedtest - Python scripts based on speedtest-cli that continously measures internet speeds and writes to database (along with meta information)
  • webapi - Exposes the data stored in the database through a REST interface (based on Node.js)
  • webapp - React App that leveraged the webapi to display and filter the information

ToDo List

  • Integrate Tags into Frontend (Filter by Tags and allow tagging of single datapoints)
  • Update Stylesheet (better formating on page)
  • Add additional information (ISP & Country) into the display

License

The code is published under the Apache-2 License.

Contribution

If you want to contribute, feel free to create a PR

docker-speedtest-v2's People

Contributors

dependabot[bot] avatar felixnext avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jlittl80

docker-speedtest-v2's Issues

Add Refresh Button

Add an explicit Feedback button. Related to a bug that breaks the update Effect loop if the task is inactive.
Two ways to fix this:

  • Make the effect loop more robust
  • Add an explicit update button to restart the loop

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.