{"id":16489579,"url":"https://github.com/alvinwan/motiosecure","last_synced_at":"2026-05-01T17:36:18.795Z","repository":{"id":89467765,"uuid":"94544687","full_name":"alvinwan/motiosecure","owner":"alvinwan","description":"toy security platform with motion detection implementation for cheap, low-quality camera lens","archived":false,"fork":false,"pushed_at":"2017-07-06T06:26:13.000Z","size":866,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-14T04:50:56.304Z","etag":null,"topics":["desktop","ios","mac","mobile","motion-detection","python","security","swift"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alvinwan.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}},"created_at":"2017-06-16T13:06:12.000Z","updated_at":"2020-07-22T13:10:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8f7693a-4746-448b-a370-285b7e682a77","html_url":"https://github.com/alvinwan/motiosecure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alvinwan/motiosecure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvinwan%2Fmotiosecure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvinwan%2Fmotiosecure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvinwan%2Fmotiosecure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvinwan%2Fmotiosecure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvinwan","download_url":"https://codeload.github.com/alvinwan/motiosecure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvinwan%2Fmotiosecure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32507091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["desktop","ios","mac","mobile","motion-detection","python","security","swift"],"created_at":"2024-10-11T13:44:37.779Z","updated_at":"2026-05-01T17:36:18.776Z","avatar_url":"https://github.com/alvinwan.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"![mockup](https://user-images.githubusercontent.com/2068077/27844312-bb4019f4-60d4-11e7-95b6-11abaac2690f.png)\n\n\n# MotioSecure\nSimple security platform with motion detection implementation for cheap, low-quality camera lens\n\n**Mac and iOS apps are coming soon**\n\nEver have a friend hijack your computer while you're away? Ever wanted to catch them red-handed? Run this application to do just that. With just an iOS app and a mac app, you'll be good to go. **Applications are pending review. Want it now? See Development installation instructions below.**\n\n- Sends a notification to your phone when motion is detected\n- Saves all detected motion as mp4 videos for playback\n- Surprise the intruder with a live camera feed, and engage with your invader in conversation!\n- Uses Apple security protocols to make live feed, notifications available; no janky, inter-device, unencrypted communication\n\n\u003e This is not a serious security platform. For all intents and purposes, I wrote it to prank my friends. With that said, the application actually does what I claim above. I make no guarantees about its ability to prevent theft or its security. Please don't use this seriously.\n\n# How it Works\n\nOn server-side, `opencv` abstracts away the camera. We compute the difference across `l` timesteps and use `scipy`'s `SVD` to analyze explained variance ratios. If the sum of the top `k` ratios exceed a threshold, we consider motion to be detected.\n\n`opencv` provides additional utilities that allow us to encode and write to mp4 videos. A Python interface for Apple's Push Notification Service `pyapns` allows the Python app to interface with iOS notifications accordingly. A third-party library `websockets` is used to launch a local socket, giving the application live updates for \"motion detected\" or not.\n\n- See the [`web/` README](http://github.com/alvinwan/motiosecure/tree/master/web) for more on a locally-hosted web application.\n- See the [`desktop/` README](http://github.com/alvinwan/motiosecure/tree/master/desktop) for how we packaged the application for Mac App Store distribution.\n- See the [`ios/` README](http://github.com/alvinwan/motiosecure/tree/master/ios) for the mobile component.\n\n![screen shot 2017-07-04 at 6 07 28 pm](https://user-images.githubusercontent.com/2068077/27845420-35d9e348-60e4-11e7-98b8-678f87ad2a74.png)\n![screen shot 2017-07-04 at 6 07 36 pm](https://user-images.githubusercontent.com/2068077/27845417-35d66a7e-60e4-11e7-9786-e3e0be2dc05e.png)\n![screen shot 2017-07-04 at 6 07 44 pm](https://user-images.githubusercontent.com/2068077/27845421-35dc051a-60e4-11e7-9899-44d506017347.png)\n![screen shot 2017-07-04 at 6 07 50 pm](https://user-images.githubusercontent.com/2068077/27845418-35d77b76-60e4-11e7-853e-f5e7f4b5baee.png)\n![screen shot 2017-07-04 at 6 10 26 pm](https://user-images.githubusercontent.com/2068077/27845419-35d81ee6-60e4-11e7-8b1b-3d4ec012e1d0.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvinwan%2Fmotiosecure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvinwan%2Fmotiosecure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvinwan%2Fmotiosecure/lists"}