{"id":26571741,"url":"https://github.com/cybcon/docker.dockerhubstats2mqtt","last_synced_at":"2026-04-14T06:02:27.672Z","repository":{"id":281799554,"uuid":"946456843","full_name":"cybcon/docker.dockerhubstats2mqtt","owner":"cybcon","description":"Collect repository statistics from Dockerhub and publish them to a MQTT topic.","archived":false,"fork":false,"pushed_at":"2026-01-10T09:40:12.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-11T03:05:49.825Z","etag":null,"topics":["docker-image","dockerhub","mosquitto-pub","statistics"],"latest_commit_sha":null,"homepage":"https://www.oberdorf-itc.de/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cybcon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.paypal.com/donate/?hosted_button_id=BHGJGGUS6RH44"]}},"created_at":"2025-03-11T07:03:08.000Z","updated_at":"2026-01-10T09:40:04.000Z","dependencies_parsed_at":"2025-03-11T08:22:38.964Z","dependency_job_id":"3b07bafc-3e82-4ee3-98a3-a6e9fda5a7bc","html_url":"https://github.com/cybcon/docker.dockerhubstats2mqtt","commit_stats":null,"previous_names":["cybcon/docker.dockerhubstats2mqtt"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/cybcon/docker.dockerhubstats2mqtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybcon%2Fdocker.dockerhubstats2mqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybcon%2Fdocker.dockerhubstats2mqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybcon%2Fdocker.dockerhubstats2mqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybcon%2Fdocker.dockerhubstats2mqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cybcon","download_url":"https://codeload.github.com/cybcon/docker.dockerhubstats2mqtt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybcon%2Fdocker.dockerhubstats2mqtt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31784255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker-image","dockerhub","mosquitto-pub","statistics"],"created_at":"2025-03-22T23:15:51.719Z","updated_at":"2026-04-14T06:02:27.660Z","avatar_url":"https://github.com/cybcon.png","language":"Shell","funding_links":["https://www.paypal.com/donate/?hosted_button_id=BHGJGGUS6RH44"],"categories":[],"sub_categories":[],"readme":"# Quick reference\n\nMaintained by: [Michael Oberdorf IT-Consulting](https://www.oberdorf-itc.de/)\n\nSource code: [GitHub](https://github.com/cybcon/docker.dockerhubstats2mqtt)\n\nContainer image: [DockerHub](https://hub.docker.com/r/oitc/dockerhubstats2mqtt)\n\n\u003c!-- SHIELD GROUP --\u003e\n[![][github-action-test-shield]][github-action-test-link]\n[![][github-action-release-shield]][github-action-release-link]\n[![][github-release-shield]][github-release-link]\n[![][github-releasedate-shield]][github-releasedate-link]\n[![][github-stars-shield]][github-stars-link]\n[![][github-forks-shield]][github-forks-link]\n[![][github-issues-shield]][github-issues-link]\n[![][github-license-shield]][github-license-link]\n\n[![][docker-release-shield]][docker-release-link]\n[![][docker-pulls-shield]][docker-pulls-link]\n[![][docker-stars-shield]][docker-stars-link]\n[![][docker-size-shield]][docker-size-link]\n\n\n# Supported tags and respective `Dockerfile` links\n\n* [`latest`, `1.1.0`](https://github.com/cybcon/docker.dockerhubstats2mqtt/blob/v1.1.0/Dockerfile)\n* [`1.0.3`](https://github.com/cybcon/docker.dockerhubstats2mqtt/blob/v1.0.3/Dockerfile)\n* [`1.0.2`](https://github.com/cybcon/docker.dockerhubstats2mqtt/blob/v1.0.2/Dockerfile)\n* [`1.0.1`](https://github.com/cybcon/docker.dockerhubstats2mqtt/blob/v1.0.1/Dockerfile)\n* [`1.0.0`](https://github.com/cybcon/docker.dockerhubstats2mqtt/blob/v1.0.0/Dockerfile)\n\n# Summary\n\nThe container image is based on Alpine Linux and sends a curl request result with the [mosquitto-client](https://mosquitto.org/)\nto a MQTT server topic.\n\n# Prerequisites to run the docker container\nYou need an MQTT server to send the data to it.\n\n# Configuration\n## Container configuration\n\nThe container grab the configuration via environment variables.\n\n| Environment variable name | Description | Required | Default value |\n|--|--|--|--|\n| `MQTT_SERVER` | The MQTT server hostname or IP address | **OPTIONAL** | `localhost` |\n| `MQTT_PORT` | The TCP port of the MQTT server | **OPTIONAL** | `1883` |\n| `MQTT_TLS_enabled` | Should SSL communication be enabled (`true`) or not (`false`) | **OPTIONAL** | `false` |\n| `MQTT_CACERT_FILE` | If TLS is enabled, the path to the CA certificate file to validate the MQTT server certificate | **OPTIONAL** | |\n| `MQTT_TLS_no_hostname_validation` | If TLS is enabled, skip the hostname validation of the TLS certificate | **OPTIONAL** | `false` |\n| `MQTT_USER` | The MQTT username for MQTT authentication | **OPTIONAL** | |\n| `MQTT_PASSWORD` | The MQTT password for MQTT authentication | **OPTIONAL** | |\n| `MQTT_PASSWORD_FILE` | The filepath where the MQTT password is stored for MQTT authentication | **OPTIONAL** | |\n| `MQTT_TOPIC` | The MQTT topic to send the docker hub statistics to | **MANDATORY** | |\n| `MQTT_RETAIN`| Set the retain flag when publishing the docker hub statistics to MQTT topic | **OPTIONAL** | `false` |\n| `REPOSITORIES` | A whitespace separated list of docker hub repositories where to collect the statistics | **MANDATORY** | |\n| `MQTT_TOPIC_REPO_EXTENSION` | Use the docker hub repository name as MQTT topic appendix | **OPTIONAL** | `false` |\n\n# Docker compose configuration\n\n```yaml\nservices:\n  dockerhubstats2mqtt:\n    restart: \"no\"\n    user: 5241:5241\n    image: oitc/dockerhubstats2mqtt\n    environment:\n      MQTT_SERVER: test.mosquitto.org\n      MQTT_PORT: 1883\n      MQTT_TOPIC: com/docker/hub/repositories/metrics\n      REPOSITORIES: oitc/dockerhubstats2mqtt oitc/modbus-server\n```\n\nA bigger example can be found here: [`docker-compose.yaml`](./docker-compose.yaml)\n\n# Donate\nI would appreciate a small donation to support the further development of my open source projects.\n\n\u003ca href=\"https://www.paypal.com/donate/?hosted_button_id=BHGJGGUS6RH44\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/stefan-niedermann/paypal-donate-button/master/paypal-donate-button.png\" alt=\"Donate with PayPal\" width=\"200px\"\u003e\u003c/a\u003e\n\n\n# License\n\nCopyright (c) 2025-2026 Michael Oberdorf IT-Consulting\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\u003c!-- LINK GROUP --\u003e\n[docker-pulls-link]: https://hub.docker.com/r/oitc/dockerhubstats2mqtt\n[docker-pulls-shield]: https://img.shields.io/docker/pulls/oitc/dockerhubstats2mqtt?color=45cc11\u0026labelColor=black\u0026style=flat-square\n[docker-release-link]: https://hub.docker.com/r/oitc/dockerhubstats2mqtt\n[docker-release-shield]: https://img.shields.io/docker/v/oitc/dockerhubstats2mqtt?color=369eff\u0026label=docker\u0026labelColor=black\u0026logo=docker\u0026logoColor=white\u0026style=flat-square\n[docker-size-link]: https://hub.docker.com/r/oitc/dockerhubstats2mqtt\n[docker-size-shield]: https://img.shields.io/docker/image-size/oitc/dockerhubstats2mqtt?color=369eff\u0026labelColor=black\u0026style=flat-square\n[docker-stars-link]: https://hub.docker.com/r/oitc/dockerhubstats2mqtt\n[docker-stars-shield]: https://img.shields.io/docker/stars/oitc/dockerhubstats2mqtt?color=45cc11\u0026labelColor=black\u0026style=flat-square\n[github-action-release-link]: https://github.com/cybcon/docker.dockerhubstats2mqtt/actions/workflows/release-from-label.yaml\n[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/cybcon/docker.dockerhubstats2mqtt/release-from-label.yaml?label=release\u0026labelColor=black\u0026logo=githubactions\u0026logoColor=white\u0026style=flat-square\n[github-action-test-link]: https://github.com/cybcon/docker.dockerhubstats2mqtt/actions/workflows/container-image-build-validation.yaml\n[github-action-test-shield-original]: https://github.com/cybcon/docker.dockerhubstats2mqtt/actions/workflows/container-image-build-validation.yaml/badge.svg\n[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/cybcon/docker.dockerhubstats2mqtt/container-image-build-validation.yaml?label=tests\u0026labelColor=black\u0026logo=githubactions\u0026logoColor=white\u0026style=flat-square\n[github-forks-link]: https://github.com/cybcon/docker.dockerhubstats2mqtt/network/members\n[github-forks-shield]: https://img.shields.io/github/forks/cybcon/docker.dockerhubstats2mqtt?color=8ae8ff\u0026labelColor=black\u0026style=flat-square\n[github-issues-link]: https://github.com/cybcon/docker.dockerhubstats2mqtt/issues\n[github-issues-shield]: https://img.shields.io/github/issues/cybcon/docker.dockerhubstats2mqtt?color=ff80eb\u0026labelColor=black\u0026style=flat-square\n[github-license-link]: https://github.com/cybcon/docker.dockerhubstats2mqtt/blob/main/LICENSE\n[github-license-shield]: https://img.shields.io/badge/license-MIT-blue?labelColor=black\u0026style=flat-square\n[github-release-link]: https://github.com/cybcon/docker.dockerhubstats2mqtt/releases\n[github-release-shield]: https://img.shields.io/github/v/release/cybcon/docker.dockerhubstats2mqtt?color=369eff\u0026labelColor=black\u0026logo=github\u0026style=flat-square\n[github-releasedate-link]: https://github.com/cybcon/docker.dockerhubstats2mqtt/releases\n[github-releasedate-shield]: https://img.shields.io/github/release-date/cybcon/docker.dockerhubstats2mqtt?labelColor=black\u0026style=flat-square\n[github-stars-link]: https://github.com/cybcon/docker.dockerhubstats2mqtt\n[github-stars-shield]: https://img.shields.io/github/stars/cybcon/docker.dockerhubstats2mqtt?color=ffcb47\u0026labelColor=black\u0026style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybcon%2Fdocker.dockerhubstats2mqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybcon%2Fdocker.dockerhubstats2mqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybcon%2Fdocker.dockerhubstats2mqtt/lists"}