{"id":13852714,"url":"https://github.com/sindresorhus/is-camera-on","last_synced_at":"2025-08-25T08:14:27.138Z","repository":{"id":48380816,"uuid":"89207728","full_name":"sindresorhus/is-camera-on","owner":"sindresorhus","description":"Check if the built-in Mac camera is on","archived":false,"fork":false,"pushed_at":"2023-09-14T20:10:20.000Z","size":7,"stargazers_count":146,"open_issues_count":5,"forks_count":13,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-07-30T18:37:06.447Z","etag":null,"topics":["camera","macos","swift","swift-package","swift-package-manager"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/sindresorhus.png","metadata":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","custom":"https://sindresorhus.com/donate"},"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}},"created_at":"2017-04-24T06:59:14.000Z","updated_at":"2025-06-27T20:37:13.000Z","dependencies_parsed_at":"2023-09-24T06:32:47.041Z","dependency_job_id":null,"html_url":"https://github.com/sindresorhus/is-camera-on","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"2bbab31b371e10d05c20939b6e73f072d2093b0c"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sindresorhus/is-camera-on","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fis-camera-on","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fis-camera-on/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fis-camera-on/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fis-camera-on/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/is-camera-on/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fis-camera-on/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271520389,"owners_count":24774282,"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-08-21T02:00:08.990Z","response_time":74,"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":["camera","macos","swift","swift-package","swift-package-manager"],"created_at":"2024-08-04T22:01:33.585Z","updated_at":"2025-08-25T08:14:27.071Z","avatar_url":"https://github.com/sindresorhus.png","language":"Swift","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["Swift"],"sub_categories":[],"readme":"# is-camera-on\n\n\u003e Check if the built-in Mac camera is on\n\nThe camera is commonly known as FaceTime HD or iSight.\n\nThis module can be useful to check if the camera is already in use or notify you if it's turned on when you didn't intend it to be.\n\n## Requirements\n\nmacOS 10.13+\n\n## Install\n\nAdd the following to `Package.swift`:\n\n```swift\n.package(url: \"https://github.com/sindresorhus/is-camera-on\", from: \"2.0.2\")\n```\n\n[Or add the package in Xcode.](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app)\n\n## Usage\n\n```swift\nimport IsCameraOn\n\nprint(isCameraOn())\n//=\u003e true\n```\n\n## Related\n\n- [node-is-camera-on](https://github.com/sindresorhus/node-is-camera-on) - Node.js wrapper for this module\n- [is-camera-on-cli](https://github.com/sindresorhus/is-camera-on-cli) - CLI for this module\n- [macos-wallpaper](https://github.com/sindresorhus/macos-wallpaper) - Manage the desktop wallpaper\n- [do-not-disturb](https://github.com/sindresorhus/do-not-disturb) - Control the macOS `Do Not Disturb` feature\n- [More…](https://github.com/search?q=user%3Asindresorhus+language%3Aswift+archived%3Afalse\u0026type=repositories)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fis-camera-on","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fis-camera-on","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fis-camera-on/lists"}