{"id":18686088,"url":"https://github.com/jcosentino11/mqtt-client","last_synced_at":"2025-11-07T23:30:31.997Z","repository":{"id":243012210,"uuid":"807971547","full_name":"jcosentino11/mqtt-client","owner":"jcosentino11","description":"A simple MQTT Client, written in C++","archived":false,"fork":false,"pushed_at":"2024-06-07T18:33:37.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T00:41:21.832Z","etag":null,"topics":["cpp","mqtt-client"],"latest_commit_sha":null,"homepage":"https://josephcosentino.me/blog/mqtt-client/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcosentino11.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-30T06:13:50.000Z","updated_at":"2024-08-29T10:02:10.000Z","dependencies_parsed_at":"2024-11-07T10:33:15.918Z","dependency_job_id":"88fc7563-2a7e-4dc6-b7ef-e99e1d639047","html_url":"https://github.com/jcosentino11/mqtt-client","commit_stats":null,"previous_names":["jcosentino11/mqtt-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcosentino11%2Fmqtt-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcosentino11%2Fmqtt-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcosentino11%2Fmqtt-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcosentino11%2Fmqtt-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcosentino11","download_url":"https://codeload.github.com/jcosentino11/mqtt-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239541851,"owners_count":19656102,"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":["cpp","mqtt-client"],"created_at":"2024-11-07T10:26:03.642Z","updated_at":"2025-11-07T23:30:31.945Z","avatar_url":"https://github.com/jcosentino11.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MQTT Client\n\nBare-bones MQTT CLI for Mac and Linux. \n\nThis project is a personal learning exercise, for diving into MQTT internals and network programming. You can read more about my experience [on my website](https://josephcosentino.me/posts/mqtt-client/).\n\n## Publish to a topic\n```\nmqtt pub -t hello/topic -a localhost:1883 -c clientId '{\"hello\": \"world\"}'\n```\n\n```\nUsage: mqtt pub [-v] -t \u003ctopic\u003e -a \u003caddress\u003e -c \u003cclientId\u003e \u003cmessage\u003e\nOptions:\n  -t, --topic \u003ctopic\u003e           Specify the topic to publish to (required)\n  -a, --address \u003caddress\u003e       \u003chost\u003e[:\u003cport\u003e] address to connect to (required)\n  -c, --client-id \u003cclient id\u003e   Client identifier\n  -v, --verbose                 Enable verbose output\n  -h, --help                    Show this help message\n```\n\n## Subscribe to a topic\n\n```\nmqtt sub -t hello/topic -a localhost:1883 -c clientId\n```\n\n```\nUsage: mqtt sub [-v] -t \u003ctopic\u003e -a \u003caddress\u003e -c \u003cclientId\u003e\nOptions:\n  -t, --topic \u003ctopic\u003e           Specify the topic to publish to (required)\n  -a, --address \u003caddress\u003e       \u003chost\u003e[:\u003cport\u003e] address to connect to (required)\n  -c, --client-id \u003cclient id\u003e   Client identifier\n  -v, --verbose                 Enable verbose output\n  -h, --help                    Show this help message\n```\n\n## Features\n\n|                         | Supported | Planned |\n|-------------------------|-----------|---------|\n| MQTT3                   | x         |         |\n| MQTT5                   |           | x       |\n| QOS0                    | x         |         |\n| QOS1                    | x         |         |\n| QOS2                    |           | x       |\n| PUBLISH                 | x         |         |\n| SUBSCRIBE               | x         |         |\n| Various CONNECT options |           | x       |\n| SSL                     |           | x       |\n\n## Related Projects\n\nHere are some real-world MQTT clients to check out:\n\n* [MQTTX](https://mqttx.app/cli)\n* [mosquitto_pub/sub](https://mosquitto.org/man/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcosentino11%2Fmqtt-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcosentino11%2Fmqtt-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcosentino11%2Fmqtt-client/lists"}