{"id":15648578,"url":"https://github.com/daniel-beard/iszoomusingcamera","last_synced_at":"2026-05-07T18:47:40.282Z","repository":{"id":43283922,"uuid":"250648126","full_name":"daniel-beard/isZoomUsingCamera","owner":"daniel-beard","description":"Simple SwiftUI app that shows if Zoom is actively using the camera or if screen sharing is currently activated.","archived":false,"fork":false,"pushed_at":"2022-03-12T05:54:04.000Z","size":2940,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-05T01:28:25.879Z","etag":null,"topics":["app","dnd","do-not-disturb","macos","swift","swiftui","zoom"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/daniel-beard.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}},"created_at":"2020-03-27T21:09:06.000Z","updated_at":"2024-02-28T20:05:17.000Z","dependencies_parsed_at":"2022-09-13T08:21:11.634Z","dependency_job_id":null,"html_url":"https://github.com/daniel-beard/isZoomUsingCamera","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-beard%2FisZoomUsingCamera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-beard%2FisZoomUsingCamera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-beard%2FisZoomUsingCamera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-beard%2FisZoomUsingCamera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniel-beard","download_url":"https://codeload.github.com/daniel-beard/isZoomUsingCamera/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246258861,"owners_count":20748573,"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":["app","dnd","do-not-disturb","macos","swift","swiftui","zoom"],"created_at":"2024-10-03T12:25:19.668Z","updated_at":"2026-05-07T18:47:40.143Z","avatar_url":"https://github.com/daniel-beard.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# isZoomUsingCamera\n\nSimple SwiftUI app that checks if Zoom is actively using the camera.\n\nCan automatically toggle Do Not Disturb based on when zoom is using the camera.\n\n\u003cimg src=\"./Resources/mainwindow.png\" width=\"500\" /\u003e\n\n# Usage\n\nThere aren't any provided builds yet.\n\n# Setting up do not disturb\n\nNote: Do not disturb settings only take effect when the preference: `Automatically enable DND when Zoom video is on` is set.\n\n## Monterey and newer\n\nUse shortcuts. Setup two shortcuts within the Shortcuts.app. \n\nIn the examples below, I've named these `dndon` and `dndoff`:\n\n\u003cimg src=\"./Resources/dndon.png\" width=\"700\" /\u003e\n\n\u003cimg src=\"./Resources/dndoff.png\" width=\"700\" /\u003e\n\nNow you can select and save the shortcut names for each do not disturb action in the preferences:\n\n\u003cimg src=\"./Resources/prefs.png\" width=\"700\" /\u003e\n\n## Big Sur\n\nThis app doesn't have any native support for setting do not disturb states on Big Sur, but you can emulate the behavior with custom scripts.\n\n### Example\n\nRequirements: `brew install vitorgalvao/tiny-scripts/calm-notifications`\n\nTo toggle DnD on camera states:\n\n`~/.iszoomusingcamera/camera_enabled.sh`\n\n```bash\n#!/bin/bash\n\ncalm-notifications on\n```\n\n`~/.iszoomusingcamera/camera_disabled.sh`\n\n```bash\n#!/bin/bash\n\ncalm-notifications off\n```\n\n# Custom Scripts\n\nThere are a few events that can trigger custom scripts if you choose. You must enable the preference: `Run custom scripts in ~/.iszoomusingcamera` for the following to take effect.\nRemember to make these scripts user executable with `chmod +x ~/.iszoomusingcamera/{name of file}`.\n\n| Event | Path to script |\n| --------------- | --------------- |\n| Application started | `~/.iszoomusingcamera/app_started.sh` |\n| Application ended | `~/.iszoomusingcamera/app_ended.sh` |\n| Camera enabled | `~/.iszoomusingcamera/camera_enabled.sh` |\n| Camera disabled | `~/.iszoomusingcamera/camera_disabled.sh` |\n| Screen sharing started | `~/.iszoomusingcamera/screen_sharing_started.sh` |\n| Screen sharing ended | `~/.iszoomusingcamera/screen_sharing_ended.sh` |\n\n## Custom Script Example\n\nHere's some example scripts that I use. You'll need to `brew install terminal-notifier` for this to work. Note: paths are correct for M1 machines, if you are on x86_64, change these to `/usr/local/bin/`:\n\n`~/.iszoomusingcamera/camera_enabled.sh`:\n\n```bash\n#!/bin/bash\n\n/opt/homebrew/bin/terminal-notifier -title \"isZoomUsingCamera\" \\\n  -message \"Camera was STARTED\" \\\n  -contentImage \"https://raw.githubusercontent.com/daniel-beard/isZoomUsingCamera/master/isZoomUsingCamera/Assets.xcassets/AppIcon.appiconset/icon_128.png\" \\\n```\n\n`~/.iszoomusingcamera/camera_disabled.sh`:\n\n```bash\n#!/bin/bash\n\n/opt/homebrew/bin/terminal-notifier -title \"isZoomUsingCamera\" \\\n  -message \"Camera was STOPPED\" \\\n  -contentImage \"https://raw.githubusercontent.com/daniel-beard/isZoomUsingCamera/master/isZoomUsingCamera/Assets.xcassets/AppIcon.appiconset/icon_128.png\" \\\n```\n\nSo I get notifications when the camera starts or stops:\n\n\u003cimg src=\"./Resources/notifs.png\" width=\"500\" /\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-beard%2Fiszoomusingcamera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniel-beard%2Fiszoomusingcamera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-beard%2Fiszoomusingcamera/lists"}