iharshitmaurya/HeyMac

👋 Your face is the password. Face unlock for your Mac's lock screen, plus App Lock for chosen apps. 100% on-device, built with Swift and Core ML.

Swift

23

125 commits

updated Sep 24, 2026

See the code

See what people are saying

SourceMessageScoreDate

I wanted Face ID on my Mac, so I tried building it myself (r/SideProject)

​ I wanted my Mac to recognize me when I sat down in front of it, similar to how Face ID works on iPhone. After looking into it, I realized there are quite a few annoying problems to solve once you actually try building it. So I ended up making HeyMac, an open-source project for…

1

Sep 28, 2026

README

Animated Hey Mac Logo

Hey Mac

Your face is the password.
Unlock your Mac's lock screen and secure individual apps with a single look.


macOS Apple Silicon Privacy Views



✨ Features

Hey Mac bridges the gap between iOS-level convenience and macOS security, bringing native-feeling facial recognition to your desktop.

  • 🔓 Zero-Touch Unlock: Wake your Mac, look at the screen, and you're immediately logged in. No keyboard required.
  • 🛡️ Application-Level Shielding: Protect sensitive apps (Messages, Notes, Mail). Unauthorized viewers see a blurred interface until your identity is verified via Face, Touch ID, or password.
  • 🌫️ Adaptive Privacy Blurs: Choose your obfuscation level. Blur the entire display for maximum privacy, or strictly blur the locked application window to maintain workflow context.
  • ⏱️ Intelligent Relock Policies: Granular control per application. Require authentication immediately upon launch, after a set duration (5-15 mins), or gracefully lock after you switch focus away from the app.
  • 🏝️ Dynamic Notch Island: A fluid, native-feeling UI drops down from the macOS notch, providing instant visual feedback during biometric scans.
  • 🧑‍🚀 Frictionless Onboarding: A polished 6-step setup wizard guides you through camera permissions, facial enrollment, testing, and security preferences.

📦 Install

Download

⚠️ IMPORTANT: If macOS blocks Hey Mac, go to System Settings → Privacy & Security → Open Anyway.

Download the latest .dmg and drag Hey Mac into your Applications folder.

Download Hey Mac

Homebrew

brew install --cask iharshitmaurya/tap/heymac

🔒 Private & Secure by Design

Security is not an afterthought; it is the foundation of Hey Mac. This application operates on a strict zero-trust, local-only model.

100% On-Device Processing: All facial recognition is handled locally by the Apple Neural Engine via Core ML. No data ever leaves your machine.

  • Zero Photo Storage: Hey Mac does not save images of your face. It generates a mathematical, numeric embedding of your facial structure, encrypted securely within the native macOS Keychain.
  • Advanced Anti-Spoofing: Built-in liveness detection ensures a physical, three-dimensional human is present. It actively rejects photographs, screens, or printed masks.
  • Quit Protection: If Hey Mac is securing an app, quitting the app requires biometric authentication. A persistent background launch agent ensures the security layer cannot be bypassed by force-quitting the process.
appkit
apple-silicon
app-lock
biometrics
coreml
face-id
face-recognition
face-unlock
macos
macos-app
menu-bar-app
on-device-ml
privacy
swift
swiftui

iharshitmaurya/HeyMac

👋 Your face is the password. Face unlock for your Mac's lock screen, plus App Lock for chosen apps. 100% on-device, built with Swift and Core ML.

Swift

23

125 commits

updated Sep 24, 2026

See the code

See what people are saying

SourceMessageScoreDate

I wanted Face ID on my Mac, so I tried building it myself (r/SideProject)

​ I wanted my Mac to recognize me when I sat down in front of it, similar to how Face ID works on iPhone. After looking into it, I realized there are quite a few annoying problems to solve once you actually try building it. So I ended up making HeyMac, an open-source project for…

1

Sep 28, 2026

README

Animated Hey Mac Logo

Hey Mac

Your face is the password.
Unlock your Mac's lock screen and secure individual apps with a single look.


macOS Apple Silicon Privacy Views



✨ Features

Hey Mac bridges the gap between iOS-level convenience and macOS security, bringing native-feeling facial recognition to your desktop.

  • 🔓 Zero-Touch Unlock: Wake your Mac, look at the screen, and you're immediately logged in. No keyboard required.
  • 🛡️ Application-Level Shielding: Protect sensitive apps (Messages, Notes, Mail). Unauthorized viewers see a blurred interface until your identity is verified via Face, Touch ID, or password.
  • 🌫️ Adaptive Privacy Blurs: Choose your obfuscation level. Blur the entire display for maximum privacy, or strictly blur the locked application window to maintain workflow context.
  • ⏱️ Intelligent Relock Policies: Granular control per application. Require authentication immediately upon launch, after a set duration (5-15 mins), or gracefully lock after you switch focus away from the app.
  • 🏝️ Dynamic Notch Island: A fluid, native-feeling UI drops down from the macOS notch, providing instant visual feedback during biometric scans.
  • 🧑‍🚀 Frictionless Onboarding: A polished 6-step setup wizard guides you through camera permissions, facial enrollment, testing, and security preferences.

📦 Install

Download

⚠️ IMPORTANT: If macOS blocks Hey Mac, go to System Settings → Privacy & Security → Open Anyway.

Download the latest .dmg and drag Hey Mac into your Applications folder.

Download Hey Mac

Homebrew

brew install --cask iharshitmaurya/tap/heymac

🔒 Private & Secure by Design

Security is not an afterthought; it is the foundation of Hey Mac. This application operates on a strict zero-trust, local-only model.

100% On-Device Processing: All facial recognition is handled locally by the Apple Neural Engine via Core ML. No data ever leaves your machine.

  • Zero Photo Storage: Hey Mac does not save images of your face. It generates a mathematical, numeric embedding of your facial structure, encrypted securely within the native macOS Keychain.
  • Advanced Anti-Spoofing: Built-in liveness detection ensures a physical, three-dimensional human is present. It actively rejects photographs, screens, or printed masks.
  • Quit Protection: If Hey Mac is securing an app, quitting the app requires biometric authentication. A persistent background launch agent ensures the security layer cannot be bypassed by force-quitting the process.
appkit
apple-silicon
app-lock
biometrics
coreml
face-id
face-recognition
face-unlock
macos
macos-app
menu-bar-app
on-device-ml
privacy
swift
swiftui

Languages

Swift

95.8%

Shell

3.4%