{"id":15063444,"url":"https://github.com/bytespider/mqtt-debug","last_synced_at":"2026-02-16T05:31:12.327Z","repository":{"id":45495415,"uuid":"435510031","full_name":"bytespider/mqtt-debug","owner":"bytespider","description":"Eavesdrop on communication between an MQTT client and broker and log the output to the console","archived":false,"fork":false,"pushed_at":"2021-12-10T11:07:39.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-10-06T00:26:53.557Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bytespider.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-06T13:36:22.000Z","updated_at":"2021-12-10T11:07:42.000Z","dependencies_parsed_at":"2022-07-19T02:04:22.814Z","dependency_job_id":null,"html_url":"https://github.com/bytespider/mqtt-debug","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bytespider/mqtt-debug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytespider%2Fmqtt-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytespider%2Fmqtt-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytespider%2Fmqtt-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytespider%2Fmqtt-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bytespider","download_url":"https://codeload.github.com/bytespider/mqtt-debug/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytespider%2Fmqtt-debug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29500832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T03:57:51.541Z","status":"ssl_error","status_checked_at":"2026-02-16T03:55:59.854Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-09-24T23:57:22.594Z","updated_at":"2026-02-16T05:31:12.300Z","avatar_url":"https://github.com/bytespider.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mqtt-debug\n\n\u003e Eavesdrop on communication between an MQTT client and broker\n\n[![Node.js Package](https://github.com/bytespider/mqtt-debug/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/bytespider/mqtt-debug/actions/workflows/npm-publish.yml)\n\nMQTT-Debug leans heavily on the work of [mqtt-spy](https://github.com/jdiamond/mqtt-spy), but it's raw packet packet output wasn't enough.\n\n## Install\n\n```\nnpm install --global mqtt-debug\n```\n\n## Run\n\n```\nmqtt-debug 3883 mqtt.example.com 1883\n```\n\n## TLS Example\n\n```\nmqtt-debug --cert path/to/crt --key path/to/key --up-cert path/to/crt --up-key path/to/key 8883 mqtt.example.com 8883\n```\n\n## Docker\n\nIf you want to use docker, you can. Inside the repo:\n\n### Build\n\n```shell\ndocker build . -t mqtt-debug\n```\n\n### Run\n\n#### Using the built in certificates:\n\nThe following self-signed certificates are provided for you:\n\n- /certs/ca.pem\n- /certs/cert.pem\n- /certs/key.pem\n\n```shell\ndocker run --rm -it -p 8883:8883 mqtt-debug --ca certs/ca.pem --cert certs/cert.pem --key certs/key.pem --up-cert certs/cert.pem --up-key certs/key.pem 8883 mqtt.example.com 8883\n```\n\n#### Using custom certificates:\n\nMount a custom /certs directory.\n\n```shell\ndocker run --rm -it -p 8883:8883 -v $(pwd)/local-certs:/certs mqtt-debug mqtt-debug --ca certs/myca.pem --cert certs/myserver.pem --key certs/myserver-key.pem --up-cert certs/myclient.pem --up-key certs/myclient-key.pem 8883 mqtt.example.com 8883\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytespider%2Fmqtt-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytespider%2Fmqtt-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytespider%2Fmqtt-debug/lists"}