✦ macOS Menu Bar App for Botsitting

Watch your AI work.
Touch nothing.

MirrorLock is a free, open-source macOS app that hard-locks your keyboard and mouse while keeping your screen completely visible. Leave Claude Code, Cursor, or autonomous agents coding safely while you step away.

curl -fsSL https://raw.githubusercontent.com/shubhransh-gupta/mirrorLock/main/scripts/install.sh | bash

Engineered for Safe Botsitting

ScreenCaptureKit

Live Screen Mirror

Your active desktop remains completely visible behind a subtle dimmed overlay so you can monitor your AI agents from across the room.

  • High-efficiency 60fps Metal stream
  • Zero desktop blur or obfuscation
  • Multi-monitor blackout shielding
CGEventTap Kernel

Hard Input Severance

Hardware-blocks all keyboard keys, mouse clicks, trackpad movements, and scrolling before macOS apps can process them.

  • Low-level event tap interception
  • Watching eye on keystroke attempt
  • Red border flash on trackpad touch
LocalAuthentication

Watch & Touch ID

Rest your finger on Touch ID or double-press the side button on your Apple Watch or Wear OS Android Watch for instant release.

  • Apple Watch crown double-tap
  • Tap-to-unlock wearable gestures
  • Hardware Secure Enclave check

Built for Developer Workflows

Keeps Your Mac Awake

Holds an active IOKit power assertion while locked so displays and CPUs never idle-sleep mid-compile.

Auto-Lock When Idle

Configurable auto-lock after 1 to 30 minutes of inactivity, with a 10-second cancelable HUD countdown.

Multi-Display Aware

Keeps primary monitor mirrored while secondary displays are shielded in black. Unplugging never unlocks.

Intruder Tamper Warnings

Keyboard touches summon a watching eye icon, while physical trackpad clicks trigger a red perimeter alert.

100% Local & Private

MIT licensed, zero analytics, zero network telemetry. Runs entirely sandboxed on your Mac.

Emergency Override Key

Optional unauthenticated escape combination (e.g. ⌃⌥⌘Esc) for guaranteed fail-safe access.

Watch & Touch ID Unlock Details

Seamlessly unlock MirrorLock from your wrist or keyboard without having to enter passwords or wake your macOS lock screen.

Apple WatchKit

Apple Watch Unlock

Double-press the side crown button on your Apple Watch while MirrorLock is active to unlock instantly. Includes an optional "Tap to unlock" feature to unlock simply by tapping your watch screen.

  • Side button double-tap
  • Optional wrist tap-to-unlock
  • Apple native LocalAuthentication
Android Wear OS

Android Watch Unlock

Built-in support for Android Wear OS smartwatches. Transmit secure unlock signals from your watch to MirrorLock over a local encrypted network broadcast with the companion framework.

  • Encrypted local LAN connection
  • Same tap-to-unlock convenience
  • Zero cloud relays required
Apple Secure Enclave

Touch ID Sensor

Rest your finger on your Mac's built-in Touch ID sensor for immediate biometric authentication. Operates seamlessly through Apple's hardware Secure Enclave.

  • Instant biometric verification
  • Zero password prompts
  • Hardware-level enclave security

Get MirrorLock

Installs cleanly on macOS Sonoma (14+) and macOS Sequoia via signed package or Homebrew. No Gatekeeper friction.

Default Lock Hotkey
⌘ ⇧ M
Default Unlock Hotkey
⌘ ⇧ U
Emergency Escape Key
⌃ ⌥ ⌘ Esc

Recommended single-line installation (auto-installs & sets up cleanly):

curl -fsSL https://raw.githubusercontent.com/shubhransh-gupta/mirrorLock/\
  main/scripts/install.sh | bash

Places the signed app directly into /Applications with zero Gatekeeper warnings.

Homebrew cask installation:

brew install --cask shubhransh-gupta/tap/mirrorlock

Or step-by-step: brew tap shubhransh-gupta/tap && brew install --cask mirrorlock