{"id":51680359,"url":"https://github.com/emerytech/homebrew-mirror","last_synced_at":"2026-07-15T12:39:55.460Z","repository":{"id":359481213,"uuid":"1246267108","full_name":"emerytech/homebrew-mirror","owner":"emerytech","description":"Mirror: a continuous security-camera recorder for macOS, installable via Homebrew","archived":false,"fork":false,"pushed_at":"2026-05-22T03:27:24.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-22T12:26:34.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/emerytech.png","metadata":{"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,"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":"2026-05-22T03:10:15.000Z","updated_at":"2026-05-22T03:27:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/emerytech/homebrew-mirror","commit_stats":null,"previous_names":["emerytech/homebrew-mirror"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/emerytech/homebrew-mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emerytech%2Fhomebrew-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emerytech%2Fhomebrew-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emerytech%2Fhomebrew-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emerytech%2Fhomebrew-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emerytech","download_url":"https://codeload.github.com/emerytech/homebrew-mirror/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emerytech%2Fhomebrew-mirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35505612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-15T02:00:06.706Z","response_time":131,"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":[],"created_at":"2026-07-15T12:39:50.722Z","updated_at":"2026-07-15T12:39:55.455Z","avatar_url":"https://github.com/emerytech.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mirror\n\nA continuous security-camera recorder for macOS. Mirror captures your built-in\n(or external) camera and microphone and writes rolling, time-stamped MP4\nsegments to a folder you choose, automatically pruning old clips. It ships as a\nlightweight menu bar app plus a set of shell scripts you can run headlessly at\nlogin.\n\n\u003e **Note:** the green camera indicator light is a hardware feature on Macs and\n\u003e **cannot** be disabled. It will be lit the entire time Mirror is recording.\n\n## Install\n\n```sh\nbrew install emerytech/mirror/mirror\n```\n\nThis installs:\n\n- `Mirror.app` — the menu bar app (start/stop, settings, recordings folder).\n- `mirror-record`, `mirror-status`, `mirror-prune` — the underlying scripts.\n- [`ffmpeg`](https://ffmpeg.org/) as a dependency.\n\nHomebrew prints the path to `Mirror.app` after install; open it with `open`\n(see the caveats brew shows, or run `brew info mirror`).\n\n## Usage\n\n### Menu bar app\n\nLaunch `Mirror.app`. The menu bar icon lets you start/stop recording, open the\nrecordings folder, and configure quality, segment length, retention, camera,\nmicrophone, and launch-at-login. macOS will prompt for camera and microphone\npermission on first record.\n\n**Show Mirror** opens a live, horizontally-flipped camera preview so you can\nuse it like an actual mirror to check your appearance. The green camera light\nstays on while the preview window is open.\n\n### Headless (record at login, no UI)\n\nTo run the recorder as a background service that starts at login:\n\n```sh\nbrew services start mirror\n```\n\nStop it with `brew services stop mirror`. Check what's happening with:\n\n```sh\nmirror-status\n```\n\n## Configuration\n\nThe scripts read these environment variables (the menu bar app sets them for\nyou):\n\n| Variable                 | Default                     | Meaning                          |\n| ------------------------ | --------------------------- | -------------------------------- |\n| `MIRROR_DIR`             | `~/Documents/SecurityCam`   | Where clips are written          |\n| `MIRROR_VIDEO`           | `FaceTime HD Camera`        | Capture device name              |\n| `MIRROR_AUDIO`           | `MacBook Pro Microphone`    | Mic name (empty = video only)    |\n| `MIRROR_SEGMENT`         | `600`                       | Segment length in seconds        |\n| `MIRROR_FPS`             | `30`                        | Frame rate                       |\n| `MIRROR_BITRATE`         | `4000k`                     | Video bitrate                    |\n| `MIRROR_RETENTION_DAYS`  | `3`                         | Days of clips to keep            |\n| `MIRROR_MAX_GB`          | `0`                         | Max folder size in GB (0 = none) |\n\n## Build from source\n\n```sh\ngit clone https://github.com/emerytech/homebrew-mirror.git\ncd homebrew-mirror\n./menubar/build.sh        # produces menubar/Mirror.app\n```\n\nTo install the headless LaunchAgents from a source checkout:\n\n```sh\n./install.sh              # uninstall with ./uninstall.sh\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femerytech%2Fhomebrew-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femerytech%2Fhomebrew-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femerytech%2Fhomebrew-mirror/lists"}