{"id":15287645,"url":"https://github.com/improv-wifi/sdk-ble-js","last_synced_at":"2026-05-24T21:00:45.917Z","repository":{"id":36989547,"uuid":"368917832","full_name":"improv-wifi/sdk-ble-js","owner":"improv-wifi","description":"JavaScript SDK to add Improv Wi-Fi over BLE to your website.","archived":false,"fork":false,"pushed_at":"2025-12-22T16:23:55.000Z","size":758,"stargazers_count":61,"open_issues_count":13,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-24T04:38:30.779Z","etag":null,"topics":["esp32","esp8266","webbluetooth","wifi-provisioning"],"latest_commit_sha":null,"homepage":"https://www.improv-wifi.com","language":"TypeScript","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/improv-wifi.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-05-19T15:33:22.000Z","updated_at":"2025-12-22T16:23:03.000Z","dependencies_parsed_at":"2024-10-13T21:21:11.718Z","dependency_job_id":"b4e4338c-9320-4c69-a07a-f3406c52107e","html_url":"https://github.com/improv-wifi/sdk-ble-js","commit_stats":null,"previous_names":["improv-wifi/sdk-js"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/improv-wifi/sdk-ble-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/improv-wifi%2Fsdk-ble-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/improv-wifi%2Fsdk-ble-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/improv-wifi%2Fsdk-ble-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/improv-wifi%2Fsdk-ble-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/improv-wifi","download_url":"https://codeload.github.com/improv-wifi/sdk-ble-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/improv-wifi%2Fsdk-ble-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33450402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-24T19:21:36.376Z","status":"ssl_error","status_checked_at":"2026-05-24T19:21:10.562Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["esp32","esp8266","webbluetooth","wifi-provisioning"],"created_at":"2024-09-30T15:33:45.842Z","updated_at":"2026-05-24T21:00:45.898Z","avatar_url":"https://github.com/improv-wifi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JavaScript SDK for Improv Wi-Fi over BLE\n\n## Installation\n\nYou can use the JavaScript SDK by adding the following HTML to your website:\n\n```html\n\u003cscript type=\"module\" src=\"https://www.improv-wifi.com/sdk-js/launch-button.js\"\u003e\u003c/script\u003e\n```\n\nIf you are using a bundler and JavaScript package manager, you can install the SDK via NPM:\n\n```\nnpm install --save improv-wifi-sdk\n```\n\nAnd then import it in your code:\n\n```\nimport 'improv-wifi-sdk';\n```\n\n## Usage\n\nAdd the following to your website to show a button to start the provisioning process:\n\n```html\n\u003cimprov-wifi-launch-button\u003e\u003c/improv-wifi-launch-button\u003e\n```\n\nA warning message will be rendered if the browser does not support WebBluetooth.\n\n### Attributes\n\nThe following attributes are automatically added to `\u003cimprov-wifi-launch-button\u003e` and can be used for styling:\n\n| Attribute | Description |\n| -- | -- |\n| `supported` | Added if this browser is supported\n| `unsupported` | Added if this browser is not supported\n\n### Slots\n\nIt is possible to customize the button and the message. You do this by putting your elements inside the `\u003cimprov-wifi-launch-button\u003e` element and adding the appropriate `slot` attribute. Use `activate` to replace the activation button and `unsupported` to replace the unsupported message:\n\n```html\n\u003cimprov-wifi-launch-button\u003e\n  \u003cbutton slot='activate'\u003eStart provisioning!\u003c/button\u003e\n  \u003cspan slot='unsupported'\u003eYour browser does not support provisioning.\u003c/span\u003e\n\u003c/improv-wifi-launch-button\u003e\n```\n\n## Events\n\nWhen the state of provisioning changes, a `state-changed` event is fired.\n\nA `state-changed` event contains the following information:\n\nField | Description\n-- | --\nstate | The current state (`CONNECTING`, `AUTHORIZATION_REQUIRED`, `AUTHORIZED`, `PROVISIONING`, `PROVISIONED`, `ERROR`, `UNKNOWN`)\n\n## Browser Support\n\nThis SDK requires a browser with support for WebBluetooth. Currently this is supported by Google Chrome, Microsoft Edge and other browsers based on the Blink engine.\n\nNo iOS devices are supported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimprov-wifi%2Fsdk-ble-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimprov-wifi%2Fsdk-ble-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimprov-wifi%2Fsdk-ble-js/lists"}