{"id":13607132,"url":"https://github.com/knolleary/pubsubclient","last_synced_at":"2026-10-18T20:24:39.553Z","repository":{"id":493305,"uuid":"119789","full_name":"knolleary/pubsubclient","owner":"knolleary","description":"A client library for the Arduino Ethernet Shield that provides support for MQTT.","archived":false,"fork":false,"pushed_at":"2026-06-10T11:54:58.000Z","size":287,"stargazers_count":4015,"open_issues_count":567,"forks_count":1503,"subscribers_count":204,"default_branch":"master","last_synced_at":"2026-09-22T18:25:43.587Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pubsubclient.knolleary.net/","language":"C++","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/knolleary.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2009-02-02T11:07:58.000Z","updated_at":"2026-09-21T07:25:29.000Z","dependencies_parsed_at":"2023-07-05T15:02:35.837Z","dependency_job_id":"1f7915e8-6c85-4866-99b2-2cfe73eee4ee","html_url":"https://github.com/knolleary/pubsubclient","commit_stats":{"total_commits":158,"total_committers":39,"mean_commits":4.051282051282051,"dds":"0.49367088607594933","last_synced_commit":"2d228f2f862a95846c65a8518c79f48dfc8f188c"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/knolleary/pubsubclient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knolleary%2Fpubsubclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knolleary%2Fpubsubclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knolleary%2Fpubsubclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knolleary%2Fpubsubclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knolleary","download_url":"https://codeload.github.com/knolleary/pubsubclient/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knolleary%2Fpubsubclient/sbom","scorecard":{"id":564661,"data":{"date":"2025-08-11","repo":{"name":"github.com/knolleary/pubsubclient","commit":"2d228f2f862a95846c65a8518c79f48dfc8f188c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Code-Review","score":7,"reason":"Found 14/18 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T14:39:04.024Z","repository_id":493305,"created_at":"2025-08-20T14:39:04.024Z","updated_at":"2025-08-20T14:39:04.024Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38341187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-18T02:00:06.448Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-08-01T19:01:15.833Z","updated_at":"2026-10-18T20:24:39.547Z","avatar_url":"https://github.com/knolleary.png","language":"C++","funding_links":[],"categories":["Other","Interfaces","C++","Libraries","Protocol Library"],"sub_categories":["Scientific Computing","Makers","MQTT"],"readme":"\u003e [!CAUTION]\n\u003e This library is not maintained. It was my first 'popular' Open Source project, and brought MQTT\n\u003e to the Arduino platform just as both were gaining popularity.\n\u003e \n\u003e But times have changed, and I haven't needed to use it for a long time now. This means I simply\n\u003e don't have the setup locally to properly develop, test and maintain the library.\n\u003e Alternative libraries exist and I urge you to pick one that is actively maintained.\n\u003e \n\u003e So Long and Thanks For All The PUBACKs\n\u003e \n\u003e Nick\n\u003e 2026\n\n# Arduino Client for MQTT\n\nThis library provides a client for doing simple publish/subscribe messaging with\na server that supports MQTT.\n\n## Examples\n\nThe library comes with a number of example sketches. See File \u003e Examples \u003e PubSubClient\nwithin the Arduino application.\n\nFull API documentation is available here: https://pubsubclient.knolleary.net\n\n## Limitations\n\n - It can only publish QoS 0 messages. It can subscribe at QoS 0 or QoS 1.\n - The maximum message size, including header, is **256 bytes** by default. This\n   is configurable via `MQTT_MAX_PACKET_SIZE` in `PubSubClient.h` or can be changed\n   by calling `PubSubClient::setBufferSize(size)`.\n - The keepalive interval is set to 15 seconds by default. This is configurable\n   via `MQTT_KEEPALIVE` in `PubSubClient.h` or can be changed by calling\n   `PubSubClient::setKeepAlive(keepAlive)`.\n - The client uses MQTT 3.1.1 by default. It can be changed to use MQTT 3.1 by\n   changing value of `MQTT_VERSION` in `PubSubClient.h`.\n\n\n## Compatible Hardware\n\nThe library uses the Arduino Ethernet Client api for interacting with the\nunderlying network hardware. This means it Just Works with a growing number of\nboards and shields, including:\n\n - Arduino Ethernet\n - Arduino Ethernet Shield\n - Arduino YUN – use the included `YunClient` in place of `EthernetClient`, and\n   be sure to do a `Bridge.begin()` first\n - Arduino WiFi Shield - if you want to send packets \u003e 90 bytes with this shield,\n   enable the `MQTT_MAX_TRANSFER_SIZE` define in `PubSubClient.h`.\n - Sparkfun WiFly Shield – [library](https://github.com/dpslwk/WiFly)\n - TI CC3000 WiFi - [library](https://github.com/sparkfun/SFE_CC3000_Library)\n - Intel Galileo/Edison\n - ESP8266\n - ESP32\n\nThe library cannot currently be used with hardware based on the ENC28J60 chip –\nsuch as the Nanode or the Nuelectronics Ethernet Shield. For those, there is an\n[alternative library](https://github.com/njh/NanodeMQTT) available.\n\n## License\n\nThis code is released under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknolleary%2Fpubsubclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknolleary%2Fpubsubclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknolleary%2Fpubsubclient/lists"}