Catches people trying to use your computer while you're away. Grabs all input devices so nothing works, snaps a timestamped webcam photo when someone tries, and unlocks with a secret key.
Working on macOS and Linux.
The app needs Accessibility API access to grab input devices.
- Open System Preferences > Security & Privacy > Privacy > Accessibility
- Add your terminal app (e.g. Terminal.app, iTerm2, Alacritty) to the list
- Run with
cargo run
The app needs access to /dev/input/* devices to grab keyboards and mice.
- Add your user to the
inputgroup:sudo usermod -aG input $USER - Log out and back in for the group change to take effect
- Verify with
groups— you should seeinputin the list - Run with
cargo run
- Run
cargo run - All keyboard and mouse input will be grabbed — the desktop becomes unresponsive
- Any input triggers a timestamped webcam photo saved to
captures/ - Press Escape to release all devices and exit