{"id":16804254,"url":"https://github.com/thegecko/microbit-web-bluetooth","last_synced_at":"2025-09-18T08:55:23.102Z","repository":{"id":34299789,"uuid":"174854056","full_name":"thegecko/microbit-web-bluetooth","owner":"thegecko","description":"Web Bluetooth library for micro:bit","archived":false,"fork":false,"pushed_at":"2024-09-26T10:28:58.000Z","size":1782,"stargazers_count":57,"open_issues_count":3,"forks_count":11,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-08-09T10:50:49.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://thegecko.github.io/microbit-web-bluetooth/","language":"TypeScript","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/thegecko.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":"2019-03-10T17:03:37.000Z","updated_at":"2025-06-18T06:12:01.000Z","dependencies_parsed_at":"2023-01-15T06:05:02.959Z","dependency_job_id":"337361f6-825c-46d2-a786-1db6f33e939e","html_url":"https://github.com/thegecko/microbit-web-bluetooth","commit_stats":{"total_commits":57,"total_committers":4,"mean_commits":14.25,"dds":0.2807017543859649,"last_synced_commit":"79f369045dabde63bc6078674e829c831fb686da"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/thegecko/microbit-web-bluetooth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thegecko%2Fmicrobit-web-bluetooth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thegecko%2Fmicrobit-web-bluetooth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thegecko%2Fmicrobit-web-bluetooth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thegecko%2Fmicrobit-web-bluetooth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thegecko","download_url":"https://codeload.github.com/thegecko/microbit-web-bluetooth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thegecko%2Fmicrobit-web-bluetooth/sbom","scorecard":{"id":878580,"data":{"date":"2025-08-11","repo":{"name":"github.com/thegecko/microbit-web-bluetooth","commit":"21e7c44fb13f0682aa38e304fa7df86977c34155"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Code-Review","score":0,"reason":"Found 0/13 approved changesets -- score normalized to 0","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/gh-pages.yml:14","Info: no jobLevel write permissions found"],"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":"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":"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":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/thegecko/microbit-web-bluetooth/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/thegecko/microbit-web-bluetooth/gh-pages.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/thegecko/microbit-web-bluetooth/gh-pages.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/thegecko/microbit-web-bluetooth/gh-pages.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/thegecko/microbit-web-bluetooth/gh-pages.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:20","Warn: npmCommand not pinned by hash: .github/workflows/gh-pages.yml:39","Info:   2 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"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":"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":"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:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 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"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T07:05:29.202Z","repository_id":34299789,"created_at":"2025-08-24T07:05:29.202Z","updated_at":"2025-08-24T07:05:29.202Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275739373,"owners_count":25519601,"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","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"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-10-13T09:44:32.984Z","updated_at":"2025-09-18T08:55:23.056Z","avatar_url":"https://github.com/thegecko.png","language":"TypeScript","funding_links":[],"categories":["🗿 JavaScript and MakeCode"],"sub_categories":["🗿 Node.js and Browser"],"readme":"# micro:bit Web Bluetooth\n\n[![npm](https://img.shields.io/npm/dm/microbit-web-bluetooth.svg)](https://www.npmjs.com/package/microbit-web-bluetooth)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://spdx.org/licenses/MIT.html)\n\nWeb Bluetooth library for micro:bit implementing the [micro:bit Bluetooth Profile](https://lancaster-university.github.io/microbit-docs/resources/bluetooth/bluetooth_profile.html).\n\nSee the [microbit-web-components library](https://github.com/thegecko/microbit-web-components) for some ready-to-use web components which use this library.\n\n## Prerequisites\n\n[Node.js \u003e v10.16.0](https://nodejs.org), which includes `npm`\n\n## Getting Started\n\nRefer to the [micro:bit Web Bluetooth API Documentation](https://thegecko.github.io/microbit-web-bluetooth/) for more information.\n\n## Implementation Status\n- [x] micro:bit Discovery\n- [x] Service enumeration\n\n### Device Information Service\n- [x] Model Number\n- [x] Serial Number\n- [x] Hardware Revision\n- [x] Firmware Revision\n- [x] Manufacturer\n\n### LED Service\n- [x] LED Matrix State\n- [x] LED Text\n- [x] Scrolling Delay\n\n### Button Service\n- [x] Button A State\n- [x] Button A State Changed Event\n- [x] Button B State\n- [x] Button B State Changed Event\n\n### Temperature Service\n- [x] Temperature\n- [x] Temperature Changed Event\n- [x] Temperature Period\n\n### Accelerometer Service\n- [x] Accelerometer Data\n- [x] Accelerometer Data Changed Event\n- [x] Accelerometer Period\n\n### Magnetometer Service\n- [x] Magnetometer Data\n- [x] Magnetometer Data Changed Event\n- [x] Magnetometer Period\n- [x] Magnetometer Bearing\n- [x] Magnetometer Bearing Changed Event\n- [x] Magnetometer Calibration\n\n### UART Service\n- [x] Send\n- [x] Receive Event\n- [x] SendString\n- [x] ReceiveString Event\n\n### Event Service\n- [x] MicroBit Requirements\n- [x] MicroBit Event\n- [x] Client Requirements\n- [x] Client Event\n\n### IO Pin Service\n- [x] Pin Data\n- [x] Pin Data Changed Event\n- [x] Pin AD Configuration\n- [x] Pin IO Configuration\n- [x] PWM Control\n\n### DFU Control Service\n- [x] Request DFU\n- [x] Request Flash Code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthegecko%2Fmicrobit-web-bluetooth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthegecko%2Fmicrobit-web-bluetooth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthegecko%2Fmicrobit-web-bluetooth/lists"}