{"id":51031359,"url":"https://github.com/devbeno/home-detector","last_synced_at":"2026-06-22T01:00:56.092Z","repository":{"id":365917891,"uuid":"1274220129","full_name":"devbeno/home-detector","owner":"devbeno","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-19T13:40:32.000Z","size":1851,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-19T14:07:08.436Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devbeno.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-19T09:44:20.000Z","updated_at":"2026-06-19T13:40:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/devbeno/home-detector","commit_stats":null,"previous_names":["devbeno/home-detector"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/devbeno/home-detector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbeno%2Fhome-detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbeno%2Fhome-detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbeno%2Fhome-detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbeno%2Fhome-detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devbeno","download_url":"https://codeload.github.com/devbeno/home-detector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devbeno%2Fhome-detector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34630753,"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-06-21T02:00:05.568Z","response_time":54,"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-06-22T01:00:55.341Z","updated_at":"2026-06-22T01:00:56.086Z","avatar_url":"https://github.com/devbeno.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/icon.png\" width=\"140\" alt=\"HomeDetector\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eHomeDetector\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  A private, Apple-native security camera for your Mac.\u003cbr\u003e\n  It \u003cb\u003ewatches\u003c/b\u003e and \u003cb\u003elistens\u003c/b\u003e with on-device AI, records what matters, and texts you on iMessage.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Platform\" src=\"https://img.shields.io/badge/platform-macOS%2026-black?logo=apple\"\u003e\n  \u003cimg alt=\"Swift\" src=\"https://img.shields.io/badge/Swift-6.3-orange?logo=swift\"\u003e\n  \u003cimg alt=\"UI\" src=\"https://img.shields.io/badge/UI-SwiftUI%20·%20Liquid%20Glass-blue\"\u003e\n  \u003cimg alt=\"Cost\" src=\"https://img.shields.io/badge/cost-100%25%20free-brightgreen\"\u003e\n\u003c/p\u003e\n\n\u003c!-- Add a screenshot at docs/screenshot.png and uncomment:\n\u003cp align=\"center\"\u003e\u003cimg src=\"docs/screenshot.png\" width=\"720\"\u003e\u003c/p\u003e\n--\u003e\n\n## Why\n\nMost “smart” cameras need a subscription, ship your video to someone else's cloud, and fire on\nevery shadow. HomeDetector turns the Mac you already own into a camera that runs **entirely on\nyour hardware** — Apple's Neural Engine does the thinking, your clips live in **your** storage,\nand alerts arrive as a normal **iMessage**. No server, no account, **no cost**.\n\n## Features\n\n- 👁️ **Sees with AI** — Vision framework labels what triggered the motion (person, dog, bird, car…), not just “motion”.\n- 🦻 **Hears with AI** — SoundAnalysis listens for glass breaking, alarms, knocking and more, even off-camera.\n- 🎬 **Motion/sound‑triggered recording** — short 720p H.264 clips, never continuous, so storage stays tiny.\n- ✉️ **iMessage alerts** — the Mac texts you the label + a tap‑to‑play link. Debounced so it never spams.\n- ☁️ **Your storage** — clips upload to your private **Cloudflare R2** bucket (free 10 GB); links are time‑limited.\n- 📱 **Remote control** — mute / arm from your iPhone with a **Shortcut** (via a private GitHub gist).\n- 🛰️ **Presence-aware** — auto Arm/Disarm based on your phone being on the Wi-Fi; alerts on unknown devices (local ARP, no root).\n- 🔊 **Voice deterrent** — speaks a warning aloud (local TTS) when a person is seen; route to a HomePod to fill the room.\n- 🖥️ **Real Mac app** — Liquid Glass UI, sidebar, live preview, menu‑bar background mode, launch at login.\n- 🔒 **Private by design** — all AI is on‑device; the camera/mic indicators only show while active.\n\n## How it works\n\n```mermaid\nflowchart LR\n    cam([Camera]):::inp --\u003e vision[\"Vision AI — sees\u003cbr/\u003eperson · dog · car\"]:::ai\n    mic([Microphone]):::inp --\u003e sound[\"SoundAnalysis AI — hears\u003cbr/\u003eglass · alarm · knock\"]:::ai\n    vision --\u003e rec[\"Record clip\"]:::act\n    sound --\u003e rec\n    rec --\u003e r2[(\"Cloudflare R2\")]:::store\n    r2 --\u003e msg[\"iMessage → iPhone\"]:::out\n    phone([iPhone Shortcut]):::inp --\u003e gist[(\"GitHub gist\")]:::store\n    gist --\u003e ctrl[\"Mac mutes / arms\"]:::act\n\n    classDef ai fill:#0A84FF,color:#fff,stroke:#0A84FF\n    classDef inp fill:#48484A,color:#fff,stroke:#48484A\n    classDef act fill:#30D158,color:#06310F,stroke:#30D158\n    classDef store fill:#FF9F0A,color:#3A2400,stroke:#FF9F0A\n    classDef out fill:#BF5AF2,color:#fff,stroke:#BF5AF2\n```\n\nTwo parallel **on-device AI pipelines** (Vision for images, SoundAnalysis for audio) on the Neural\nEngine. See [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) for the full module breakdown.\n\n## Install\n\n1. Download `HomeDetector.dmg` from the [**Releases**](../../releases) page.\n2. Open it and drag **HomeDetector** to **Applications**.\n3. First launch: right‑click the app → **Open** (it's locally signed, not notarized).\n4. Open **Settings** and follow the in‑app **Setup Guide**.\n\n\u003e The Mac must stay awake while monitoring — detection only runs while it's on.\n\nSee [`CHANGELOG.md`](CHANGELOG.md) for what's new in each version.\n\n## Build from source\n\nRequires **macOS 26** and **Xcode 26** (Swift 6.3).\n\n```bash\n# run in debug\ncd macos-app \u0026\u0026 swift run\n\n# build a universal, signed .app + .dmg\n./packaging/build.sh        # → packaging/build/HomeDetector.dmg\n```\n\nFor stable Keychain/camera permissions across rebuilds, create a self‑signed **“HomeDetector\nLocal”** code‑signing certificate in Keychain Access (Certificate Assistant → Create a\nCertificate → Code Signing); `build.sh` uses it automatically and falls back to ad‑hoc signing\notherwise.\n\n## Configuration\n\nEverything is configured in‑app (**Settings** + **Setup Guide**), and documented here:\n\n- [`docs/R2_SETUP.md`](docs/R2_SETUP.md) — create the Cloudflare R2 bucket + token.\n- [`shortcuts/README.md`](shortcuts/README.md) — build the iPhone mute/arm Shortcuts.\n\n## Privacy\n\nOn‑device AI (Neural Engine) — **no images or audio leave your Mac for analysis**. Clips live in\nyour private R2 bucket behind time‑limited links. The green camera / orange microphone dots in the\nmenu bar are macOS's mandatory “in use” indicators and only appear while a sensor is active.\n\n\u003e **One opt‑in exception:** if you enable the **Gemini analyst** (off by default), a single\n\u003e downscaled JPEG of the triggering frame is sent to Google's Gemini API to filter false alarms,\n\u003e describe the scene, and rate severity. Nothing else leaves the Mac.\n\n## License\n\nPersonal project — all rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbeno%2Fhome-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevbeno%2Fhome-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevbeno%2Fhome-detector/lists"}