{"id":22870037,"url":"https://github.com/autodesk-platform-services/mqtt-publisher","last_synced_at":"2025-07-06T00:06:18.310Z","repository":{"id":224018180,"uuid":"743870387","full_name":"autodesk-platform-services/mqtt-publisher","owner":"autodesk-platform-services","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-23T07:10:31.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-31T11:29:25.001Z","etag":null,"topics":["iot","iot-device"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/autodesk-platform-services.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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-16T06:56:39.000Z","updated_at":"2024-02-27T11:26:27.000Z","dependencies_parsed_at":"2024-02-23T09:51:00.208Z","dependency_job_id":null,"html_url":"https://github.com/autodesk-platform-services/mqtt-publisher","commit_stats":null,"previous_names":["autodesk-platform-services/mqtt-publisher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/autodesk-platform-services/mqtt-publisher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Fmqtt-publisher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Fmqtt-publisher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Fmqtt-publisher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Fmqtt-publisher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autodesk-platform-services","download_url":"https://codeload.github.com/autodesk-platform-services/mqtt-publisher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Fmqtt-publisher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263828670,"owners_count":23516789,"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":["iot","iot-device"],"created_at":"2024-12-13T13:13:28.498Z","updated_at":"2025-07-06T00:06:18.291Z","avatar_url":"https://github.com/autodesk-platform-services.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MQTT Publisher Sample\n\n![platforms](https://img.shields.io/badge/platform-windows%20%7C%20osx%20%7C%20linux-lightgray.svg)\n[![node.js](https://img.shields.io/badge/Node.js-16.16-blue.svg)](https://nodejs.org)\n[![npm](https://img.shields.io/badge/npm-8.11-blue.svg)](https://www.npmjs.com/)\n[![license](https://img.shields.io/:license-mit-green.svg)](https://opensource.org/licenses/MIT)\n\n[Autodesk Platform Services](https://aps.autodesk.com) application built to demonstrate publishing data to MQTT broker, which can be consumed by any subscriber.\n\n## Development\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org) (we recommend the Long Term Support version)\n- Terminal (for example, [Windows Command Prompt](https://en.wikipedia.org/wiki/Cmd.exe)\nor [macOS Terminal](https://support.apple.com/guide/terminal/welcome/mac))\n- MQTT broker and publisher credentials\n\n### Setup \u0026 Run\n\n- Clone this repository\n- Install dependencies: `yarn install` or `npm install`\n- Setup environment variables:\n  - `APS_CLIENT_ID` - your APS application client ID\n  - `APS_CLIENT_SECRET` - your APS application client secret\n  - `MQTT_URL` - your mqtt broker connection url\n  - `MQTT_CLIENT` - your mqtt client id, this can be created dynamically as well\n  - `MQTT_USERNAME` - your mqtt publisher username\n  - `MQTT_PASSWORD` - your mqtt publisher password\n- Run the server: `yarn install` or `npm start`\n\n\u003e When using [Visual Studio Code](https://code.visualstudio.com),\nyou can specify the env. variables listed above in a _.env_ file in this\nfolder, and run \u0026 debug the application directly from the editor.\n\n## Troubleshooting\n\nPlease contact us via https://forge.autodesk.com/en/support/get-help.\n\n## License\n\nThis sample is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT).\nPlease see the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk-platform-services%2Fmqtt-publisher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautodesk-platform-services%2Fmqtt-publisher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk-platform-services%2Fmqtt-publisher/lists"}