Local webapp for watching a selected area of a Magic Webcam for iPhone stream and sending notifications when that area changes.
npm install
npm run devOpen:
http://127.0.0.1:5173/
The default stream URL is:
ws://192.168.178.83/ws
- Open the app.
- Click
Connect. - Click
Enable Notifications. - Drag on the video to select the area to watch.
- Tune sensitivity, sample interval, and notification cooldown.
The app connects directly from the browser to the iPhone WebSocket stream and decodes it with the same jsmpeg decoder bundled by Magic Webcam.
Chrome on macOS may accept browser notification permission but still suppress Web Notifications. While running through npm run dev, the app also exposes a local /api/notify endpoint that uses osascript as a native macOS notification fallback.