{"id":15496821,"url":"https://github.com/ahkohd/macos_accessibility_client","last_synced_at":"2025-04-22T21:29:06.610Z","repository":{"id":172823369,"uuid":"649832452","full_name":"ahkohd/macos_accessibility_client","owner":"ahkohd","description":"A Node.JS Wrapper around macOS' accessibility client APIs","archived":false,"fork":false,"pushed_at":"2023-06-05T19:06:38.000Z","size":1033,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T17:39:17.420Z","etag":null,"topics":["accessibility","client","electron","macos","napi","napi-rs","node-js","rust"],"latest_commit_sha":null,"homepage":"https://github.com/ahkohd/macos_accessibility_client","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/ahkohd.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":"2023-06-05T18:30:24.000Z","updated_at":"2025-03-07T16:06:12.000Z","dependencies_parsed_at":"2023-07-06T14:01:50.949Z","dependency_job_id":null,"html_url":"https://github.com/ahkohd/macos_accessibility_client","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"b663842f7429e63d90b3b7cd308abc5723566123"},"previous_names":["ahkohd/macos_accessibility_client"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahkohd%2Fmacos_accessibility_client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahkohd%2Fmacos_accessibility_client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahkohd%2Fmacos_accessibility_client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahkohd%2Fmacos_accessibility_client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahkohd","download_url":"https://codeload.github.com/ahkohd/macos_accessibility_client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248886314,"owners_count":21177643,"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":["accessibility","client","electron","macos","napi","napi-rs","node-js","rust"],"created_at":"2024-10-02T08:28:39.182Z","updated_at":"2025-04-22T21:29:06.590Z","avatar_url":"https://github.com/ahkohd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# macOS accessibility client\n\nA Node.JS package, in its current state, only provides the functionality to query whether the running application is a trusted accessibility client, and if not, display the following rather well known prompt:\n\n\u003cimg src=\"doc/prompt.png\" alt=\"Screenshot of macOS accessibility prompt\" width=\"500\"\u003e\n\nMore functionality may be added in the future. Feel free to open an issue if you think there's something missing.\n\nHow to use:\n\n```js\nimport { applicationIsTrusted, applicationIsTrustedWithPrompt } from 'macos_accessibility_client'\n\nfunction query_accessibility_permissions() {\n    const trusted = applicationIsTrusted();\n    if (trusted) {\n        console.log(\"Application is totally trusted!\");\n    } else {\n        console.error(\"Application isn't trusted :(\");\n    }\n    return trusted\n}\n\nfunction query_accessibility_permissions_with_prompt() {\n    const trusted = applicationIsTrustedWithPrompt();\n    if (trusted) {\n        console.log(\"Application is totally trusted!\");\n    } else {\n        console.error(\"Application isn't trusted :(\");\n    }\n    return trusted\n}\n```\n\nBuilt with [napi-rs](https://napi.rs/) and [macos_accessibility_client](https://github.com/next-slide-please/macos-accessibility-client) crate.\n\n## License\n\nCopyright 2021 Victor Aremu\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahkohd%2Fmacos_accessibility_client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahkohd%2Fmacos_accessibility_client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahkohd%2Fmacos_accessibility_client/lists"}