{"id":15432632,"url":"https://github.com/chriscarini/speedtest-to-mysql","last_synced_at":"2025-04-05T22:16:16.475Z","repository":{"id":187321781,"uuid":"641700399","full_name":"ChrisCarini/speedtest-to-mysql","owner":"ChrisCarini","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-17T13:39:46.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-18T07:39:03.558Z","etag":null,"topics":["speedtest","speedtest-cli","speedtest-py","speedtest-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChrisCarini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-05-17T01:49:10.000Z","updated_at":"2023-05-17T13:41:57.000Z","dependencies_parsed_at":"2023-08-09T21:49:30.529Z","dependency_job_id":null,"html_url":"https://github.com/ChrisCarini/speedtest-to-mysql","commit_stats":null,"previous_names":["chriscarini/speedtest-to-mysql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisCarini%2Fspeedtest-to-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisCarini%2Fspeedtest-to-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisCarini%2Fspeedtest-to-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisCarini%2Fspeedtest-to-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChrisCarini","download_url":"https://codeload.github.com/ChrisCarini/speedtest-to-mysql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406115,"owners_count":20933806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["speedtest","speedtest-cli","speedtest-py","speedtest-python"],"created_at":"2024-10-01T18:27:46.390Z","updated_at":"2025-04-05T22:16:16.391Z","avatar_url":"https://github.com/ChrisCarini.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `speedtest` to MySQL\n\nThis application will perform a network speed test (using the `speedtest` CLI provided by Ookla (speedtest.net)) and\nstore the results in a MySQL DB.\n\n## Prerequisites\n\n1. `docker-compose`\n2. A MySQL DB\n\n## Setup\n\n1. Create a new MySQL DB to use\n2. Copy `config.example.yaml` to `config.yaml`\n3. Edit the `config.yaml` file with the desired settings.\n4. `docker-compose -f docker-compose.yml build`\n5. `docker-compose up speedtest_to_mysql -d`\n\n## Maintainer Notes\n\n### Developing Quick Start\n\nThe below commands to get the basic setup for developing on this repository.\n\n```shell \npython3 -m venv venv\nln -s venv/bin/activate activate\nsource activate\npip install --upgrade pip\npip install -r requirements.txt\n```\n\n### Building the `Dockerfile`\n\n```shell\ndocker-compose -f docker-compose.yml build\ndocker-compose -f docker-compose.yml up -d\n```\n\n### Publish the Docker image to Docker Hub\n\n```shell\ndocker login --username chriscarini\n\nVERSION=0.0.1\nIMAGE=\"chriscarini/speedtest-to-mysql\"\n\n# Give the image two tags; one version, and one `latest`.\ndocker build -t \"$IMAGE:latest\" -t \"$IMAGE:$VERSION\" .\n\ndocker push \"$IMAGE:latest\" \u0026\u0026 docker push \"$IMAGE:$VERSION\"\n```\n\n## References\n\nThe `speedtest` CLI is as provided by Ookla (speedtest.net).\n\nYou can find [installation instructions for your platform here](https://www.speedtest.net/apps/cli).\n\nThis project pulls in this CLI into a docker container for easier use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchriscarini%2Fspeedtest-to-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchriscarini%2Fspeedtest-to-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchriscarini%2Fspeedtest-to-mysql/lists"}