{"id":15961259,"url":"https://github.com/pwntus/mcu-server","last_synced_at":"2025-04-04T12:13:02.585Z","repository":{"id":113366319,"uuid":"82732995","full_name":"Pwntus/mcu-server","owner":"Pwntus","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-27T18:42:01.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T04:47:10.102Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pwntus.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,"publiccode":null,"codemeta":null}},"created_at":"2017-02-21T22:20:24.000Z","updated_at":"2017-02-22T00:12:44.000Z","dependencies_parsed_at":"2023-06-26T19:23:16.678Z","dependency_job_id":null,"html_url":"https://github.com/Pwntus/mcu-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pwntus%2Fmcu-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pwntus%2Fmcu-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pwntus%2Fmcu-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pwntus%2Fmcu-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pwntus","download_url":"https://codeload.github.com/Pwntus/mcu-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247174468,"owners_count":20896078,"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":[],"created_at":"2024-10-07T15:41:20.213Z","updated_at":"2025-04-04T12:13:02.567Z","avatar_url":"https://github.com/Pwntus.png","language":"JavaScript","readme":"# MQTT client with Cloud Connect cognito authentication\n\nDemonstration on how to use the `cloud-connect` Node.js module to authenticate with Cognito identity.\n\n## Install local cloud-connect NPM module\n\n```\n$ cd cloud-connect\n/cloud-connect$ npm link \u0026\u0026 cd ..\n$ npm link cloud-connect\n$ npm install\n```\n\n### Run cloud-connect with Cognito identity\n\n```\n$ node lib/cognito.js -u \u003cCC username\u003e -P \u003cCC password\u003e -v -a 064445364562 -e prod -s '\u003csub topic\u003e' -p '\u003cpub topic\u003e'\n```\n\n#### MQTT topic format\n\n`pub/\u003croot domain\u003e/\u003csub domain\u003e/\u003cthing name\u003e`\n\n`sub/\u003croot domain\u003e/\u003csub domain\u003e/\u003cthing name\u003e`\n\n\nE.g.\n\n`sub/UIT IFI course/pau001/00000273`\n\n**N.B.** Replace dash `-` with whitespace.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwntus%2Fmcu-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwntus%2Fmcu-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwntus%2Fmcu-server/lists"}