{"id":42375374,"url":"https://github.com/sebbo2002/node-pyatv","last_synced_at":"2026-04-02T18:17:49.610Z","repository":{"id":37977609,"uuid":"166105289","full_name":"sebbo2002/node-pyatv","owner":"sebbo2002","description":"A lightweight node.js wrapper around pyatv…","archived":false,"fork":false,"pushed_at":"2026-02-06T10:17:27.000Z","size":14855,"stargazers_count":30,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2026-02-06T18:15:31.876Z","etag":null,"topics":["apple-tv","appletv","node","nodejs","pyatv"],"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/sebbo2002.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-01-16T20:16:30.000Z","updated_at":"2026-02-06T10:14:48.000Z","dependencies_parsed_at":"2022-07-12T15:20:56.885Z","dependency_job_id":"7175b1eb-4d57-4b12-9a55-08de21a66e10","html_url":"https://github.com/sebbo2002/node-pyatv","commit_stats":{"total_commits":470,"total_committers":4,"mean_commits":117.5,"dds":0.6382978723404256,"last_synced_commit":"0eb44b31d4e86369f41196b8030b5b99d8270914"},"previous_names":[],"tags_count":202,"template":false,"template_full_name":null,"purl":"pkg:github/sebbo2002/node-pyatv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebbo2002%2Fnode-pyatv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebbo2002%2Fnode-pyatv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebbo2002%2Fnode-pyatv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebbo2002%2Fnode-pyatv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebbo2002","download_url":"https://codeload.github.com/sebbo2002/node-pyatv/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebbo2002%2Fnode-pyatv/sbom","scorecard":{"id":808749,"data":{"date":"2025-08-11","repo":{"name":"github.com/sebbo2002/node-pyatv","commit":"3ca947f3bb1937443533591fb5e099b0fe778488"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/3 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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: topLevel 'contents' permission set to 'write': .github/workflows/dependabot-auto-merge.yml:5","Warn: no topLevel permission defined: .github/workflows/is-semantic-pr.yml:1","Info: found token with 'none' permissions: .github/workflows/lock-issues.yml:1","Warn: no topLevel permission defined: .github/workflows/release-bot.yml:1","Warn: no topLevel permission defined: .github/workflows/stale-issues.yml:1","Warn: no topLevel permission defined: .github/workflows/template-updater.yml:1","Warn: no topLevel permission defined: .github/workflows/test-release.yml:1","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":"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":"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":"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":"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependabot-auto-merge.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/dependabot-auto-merge.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/is-semantic-pr.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/is-semantic-pr.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lock-issues.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/lock-issues.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-bot.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/release-bot.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-bot.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/release-bot.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-bot.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/release-bot.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale-issues.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/stale-issues.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/template-updater.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/template-updater.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:108: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:110: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:114: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-release.yml:122: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-release.yml:140: update your workflow using https://app.stepsecurity.io/secureworkflow/sebbo2002/node-pyatv/test-release.yml/develop?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating ubuntu:latest to ubuntu:latest@sha256:7c06e91f61fa88c08cc74f7e1b7c69ae24910d745357e0dfe1d2c0322aaf20f9","Warn: pipCommand not pinned by hash: .github/workflows/test-release.yml:64","Warn: pipCommand not pinned by hash: .github/workflows/test-release.yml:121","Warn: pipCommand not pinned by hash: .github/workflows/test-release.yml:35","Info:   0 out of  18 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   6 out of   6 npmCommand dependencies pinned","Info:   0 out of   3 pipCommand 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'","Warn: branch protection not enabled for branch 'main'"],"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/test-release.yml:92"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 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":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-x4c5-c7rf-jjgv","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"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-23T12:32:06.534Z","repository_id":37977609,"created_at":"2025-08-23T12:32:06.534Z","updated_at":"2025-08-23T12:32:06.534Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29381234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T20:34:40.886Z","status":"ssl_error","status_checked_at":"2026-02-12T20:23:00.490Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["apple-tv","appletv","node","nodejs","pyatv"],"created_at":"2026-01-27T20:29:03.970Z","updated_at":"2026-02-12T21:14:06.981Z","avatar_url":"https://github.com/sebbo2002.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-pyatv\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)\n[![Unit Tests](https://img.shields.io/github/actions/workflow/status/sebbo2002/node-pyatv/test-release.yml?style=flat-square)](https://github.com/sebbo2002/node-pyatv/actions?query=workflow%3ARelease+branch%3Amain)\n\nA lightweight wrapper around pyatv's which also supports realtime notifications.\n\n## 📝 Content\n\n- [Installation](#-installation)\n- [Quick Start](#-quick-start)\n- [API Reference](#-api-reference)\n- [Changelog](https://github.com/sebbo2002/node-pyatv/blob/main/CHANGELOG.md)\n- [FAQ](#-faq)\n\n## ☁ Installation\n\nBefore you use `node-pyatv` you need to install pyatv. This module woun't do this for you. Run `atvremote --version` to\ndouble check your installation. See FAQ section for installation tips.\n\nTo install the javascript module via npm just run:\n\n    npm install @sebbo2002/node-pyatv\n\n## ⚒ Quick Start\n\n```typescript\nimport pyatv, { NodePyATVDeviceEvent } from '@sebbo2002/node-pyatv';\n\nconst devices = await pyatv.find(/*{debug: true}*/);\nif (!devices.length) {\n    throw new Error('Oh no.');\n}\n\nconst device = devices[0];\n\n// request current title\nconsole.log(await device.getTitle());\n\n// request full state\nconsole.log(await device.getState());\n\n// subscribe to events\ndevice.on('update:deviceState', (event: NodePyATVDeviceEvent | Error) =\u003e {\n    if (event instanceof Error) return;\n    console.log(`Current device state is ${event.value}`);\n});\n```\n\n## 📑 API Reference\n\nThe API documentation is automatically generated from the code comments and can be found\n[here](https://sebbo2002.github.io/node-pyatv/main/reference/).\n\n## 📑 Changelog\n\nPlease have a look at [CHANGELOG.md](https://github.com/sebbo2002/node-pyatv/blob/main/CHANGELOG.md) to see the changelog.\n\n## 🤨 FAQ\n\n#### How to install pyatv\n\n```bash\npip3 install pyatv\n```\n\n#### How to debug things\n\nYou can pass `\"debug\": true` for any command called. Some debug information is then printed via console.log. Additionaly\nyou can pass a function to process debugs logs.\n\n#### Why are some tests skipped?\n\nSome unit tests require a responding apple tv to pass. These tests are disabled by default. You can set the environment\nvariable `ENABLE_INTEGRATION=1` to enable them.\n\n#### Is this secure?\n\nDefenitely not. For example, there's no escaping for parameters passed to pyatv. So be sure to double check the data you\npass to this library, otherwise it may be possible to run code on your machine.\n\n## Copyright and license\n\nCopyright (c) Sebastian Pekarek under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebbo2002%2Fnode-pyatv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebbo2002%2Fnode-pyatv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebbo2002%2Fnode-pyatv/lists"}