{"id":19079137,"url":"https://github.com/lukesthl/motion-detector","last_synced_at":"2026-04-11T19:31:53.681Z","repository":{"id":65246755,"uuid":"586192289","full_name":"lukesthl/motion-detector","owner":"lukesthl","description":"Desktop App and Server for Raspberry Pi to detect motion and configure actions","archived":false,"fork":false,"pushed_at":"2023-05-03T21:58:42.000Z","size":2517,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-29T00:37:12.856Z","etag":null,"topics":["bun","rust","svelte","sveltekit","tailwindcss","tauri-app","typescript"],"latest_commit_sha":null,"homepage":"","language":"Svelte","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/lukesthl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-07T09:08:03.000Z","updated_at":"2023-09-30T11:42:00.000Z","dependencies_parsed_at":"2023-01-15T21:31:20.121Z","dependency_job_id":null,"html_url":"https://github.com/lukesthl/motion-detector","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lukesthl/motion-detector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukesthl%2Fmotion-detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukesthl%2Fmotion-detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukesthl%2Fmotion-detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukesthl%2Fmotion-detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukesthl","download_url":"https://codeload.github.com/lukesthl/motion-detector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukesthl%2Fmotion-detector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263991446,"owners_count":23540665,"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":["bun","rust","svelte","sveltekit","tailwindcss","tauri-app","typescript"],"created_at":"2024-11-09T02:13:30.512Z","updated_at":"2025-12-30T22:15:09.734Z","avatar_url":"https://github.com/lukesthl.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/lukesthl/motion-detector\"\u003e\n  \u003cimg alt=\"Motion Detector\" src=\"https://user-images.githubusercontent.com/44963006/212477797-60f2af55-8942-4747-88c7-50e646d2caff.png\"\u003e\n  \u003ch1 align=\"center\"\u003eMotion Detector\u003c/h1\u003e\n\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\nAn Application that utilizes a sensor on a Raspberry Pi to detect motion and collect the data. It provides an App UI to configure actions, which will then be triggered by the sensor.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#about-the-project\"\u003e\u003cstrong\u003eAbout The Project\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#requirements\"\u003e\u003cstrong\u003eRequirements\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#server-installation\"\u003e\u003cstrong\u003eServer Installation\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#tech-stack\"\u003e\u003cstrong\u003eTech Stack\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#author\"\u003e\u003cstrong\u003eAuthor\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n## About The Project\n\nhttps://user-images.githubusercontent.com/44963006/212476461-877e338d-739c-4798-a310-51b64a1e9e24.mp4\n\n## Requirements\n\n- [Motion Detector App](https://github.com/lukesthl/motion-detector/releases) installed (MacOS, Windows, Ubuntu)\n- Raspberry Pi\n  - 64-bit OS\n  - [Bun](https://github.com/oven-sh/bun#install) installed\n  - Python 3 and [GPIO zero](https://gpiozero.readthedocs.io/en/stable/installing.html) installed\n  - Server (RPi) must only be reached in local network\n  - Raspberry Pi with [Infrared Sensor](https://projects.raspberrypi.org/en/projects/physical-computing/11) connected on GPIO Pin\n\n## Server Installation\n\n### Raspberry Pi\n\n1. Clone the repository onto your Raspberry Pi:\n\n```bash\ngit clone https://github.com/lukesthl/motion-detector.git\n\ncd backend; bun i\n```\n\n2. Setup the Environment:\n\n```bash\ncp .env.example .env\n```\n\nEdit \u003cb\u003eSERVER_ORIGIN\u003c/b\u003e to your preffered name and change the \u003cb\u003eGPIO_PIN\u003c/b\u003e to your connected sensor pin.\n\n2. Start Server:\n\n```bash\nbun run prod\n```\n\n## Tech Stack\n\n### Frontend (App)\n\n- [Tauri](https://tauri.app/) – Tauri is a framework for building tiny, blazingly fast binaries for all major desktop platforms\n- [SvelteKit](https://kit.svelte.dev/) – SvelteKit is built on Svelte, a UI framework for making interactive webpages\n- [Vite](https://vitejs.dev/) – Vite is a build tool for Frontends. It allows for faster development thanks to fast Hot Module Reload (HMR)\n- [TailwindCSS](https://tailwindcss.com/) - Tailwind CSS is basically a utility-first CSS framework for rapidly building custom user interfaces\n\n### Backend (Raspberry Pi Server)\n\n- [Bun](https://bun.sh/) – Bun is a fast all-in-one JavaScript runtime like nodejs or deno\n- [SQLite](https://www.sqlite.org/) – SQL database engine (only one currently supported by bun)\n\n## Ideas\n\n- [ ] Dashboard\n- [ ] Add more Actions (E-Mail, Phillips Hue, Sound)\n- [ ] Mobile App Support (https://tauri.app/blog/2022/12/09/tauri-mobile-alpha/)\n- [ ] Multiple Server/Sensor Support\n\n## Known Limitations\n\n- MacOS Notifications not popping up (only shown in notification panel): https://github.com/tauri-apps/tauri/issues/5488\n- Bun Docker build with aarch64: https://github.com/oven-sh/bun/issues/1219\n\n## Author\n\n- Luke Stahl ([@lukesthl](https://github.com/lukesthl))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukesthl%2Fmotion-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukesthl%2Fmotion-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukesthl%2Fmotion-detector/lists"}