{"id":20417072,"url":"https://github.com/0x77dev/frame-sdk","last_synced_at":"2026-04-21T13:31:43.853Z","repository":{"id":256685932,"uuid":"856118454","full_name":"0x77dev/frame-sdk","owner":"0x77dev","description":"JavaScript SDK for Brilliant Labs Frame with support for Browser and Node.js","archived":false,"fork":false,"pushed_at":"2024-09-12T05:20:39.000Z","size":248,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T12:37:11.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/0x77dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-09-12T02:49:50.000Z","updated_at":"2024-09-12T05:20:42.000Z","dependencies_parsed_at":"2024-09-12T12:59:09.429Z","dependency_job_id":"dd827ed5-1075-44bb-b269-fd6834a677f5","html_url":"https://github.com/0x77dev/frame-sdk","commit_stats":null,"previous_names":["0x77dev/frame-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0x77dev/frame-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x77dev%2Fframe-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x77dev%2Fframe-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x77dev%2Fframe-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x77dev%2Fframe-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x77dev","download_url":"https://codeload.github.com/0x77dev/frame-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x77dev%2Fframe-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32094345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"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":[],"created_at":"2024-11-15T06:24:22.345Z","updated_at":"2026-04-21T13:31:43.834Z","avatar_url":"https://github.com/0x77dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# frame-sdk\n\n[![npm](https://img.shields.io/npm/v/@0x77/frame-sdk.svg)](https://www.npmjs.com/package/@0x77/frame-sdk)\n\n![Standard](https://img.shields.io/badge/code_style-standard-brightgreen.svg)\n\nJavaScript SDK for [Brilliant Labs Frame](https://docs.brilliant.xyz/frame/building-apps) with support for Browser and Node.js\n\n_(Work in progress for React Native support)_\n\n## Examples\n\n- [Node.js / Bun](./example/node/index.ts)\n- [Browser](./example/vite/src/main.ts)\n\n## Usage\n\n### Initialize\n\n```ts\nimport { Frame } from \"@0x77/frame-sdk\";\n\nconst frame = new Frame();\n```\n\nOr using a custom Bluetooth implementation:\n\n```ts\nimport { Frame } from \"@0x77/frame-sdk\";\nimport { NobleTransport } from \"@0x77/frame-sdk/dist/transport/noble\";\n\nconst frame = new Frame({\n  transport: new NobleTransport(),\n});\n```\n\n### Connect\n\n```ts\nawait frame.connect();\n```\n\n### Disconnect\n\n```ts\nawait frame.disconnect();\n```\n\n### Display Text\n\n```ts\nawait frame.display.text({ text: \"hello world\" });\nawait frame.display.show();\n```\n\n### Receive Data\n\n```ts\nframe.onData.subscribe((data: string) =\u003e {\n  console.log(data);\n});\n```\n\n### Send Lua Code\n\n```ts\nawait frame.sendData(\"print('Hello, World!')\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x77dev%2Fframe-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x77dev%2Fframe-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x77dev%2Fframe-sdk/lists"}