jnsahaj

jnsahaj / gazectl

Public

Head tracking display focus switcher for macOS

49
1
100% credibility
Found Mar 26, 2026 at 49 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Swift
AI Summary

A macOS utility that uses the built-in webcam to track head direction and automatically focus the matching monitor by moving the cursor and clicking.

How It Works

1
🔍 Discover gazectl

You hear about this clever Mac tool that switches your screen focus just by looking where you want.

2
💻 Install on your Mac

You quickly set it up on your Mac since it only works there and needs no complicated steps.

3
🔐 Grant simple permissions

Your Mac asks to use the camera to see your face and allow mouse moves to switch screens, so you say yes.

4
👀 Train it on your screens

You look straight at each screen, press enter when ready, and it learns your gaze for 2 seconds per screen.

5
▶️ It starts watching

The tool quietly tracks your head turns using your webcam about 30 times a second.

6
Seamless screen switches

Glance at another screen and feel the magic as your mouse jumps there and focuses it instantly.

🎉 Effortless multi-screen life

Now you zip between screens hands-free, making work with multiple monitors super smooth and fun.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 49 to 49 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is gazectl?

gazectl is a Swift CLI tool for macOS 14+ that turns your webcam into a head tracking system, using Apple's Vision framework for real-time head pose estimation to detect which display you're looking at and switch focus automatically. It solves the annoyance of clicking or alt-tabbing between monitors by calibrating yaw/pitch angles per screen on first run—look at each one, hit Enter, done. Install globally via npm, grant camera and accessibility perms, and run `gazectl` for hands-free display focus.

Why is it gaining traction?

No third-party window managers or hardware needed—just native macOS APIs for cursor moves and clicks, with hysteresis to avoid boundary flicker. Stands out with polished CLI options like `--calibrate`, `--verbose` yaw logging, and npm releases for quick github head tracker tests. Delivers smooth ~30fps head tracking pc webcam performance that feels responsive for everyday multi-monitor workflows.

Who should use this?

macOS developers with 2+ screens who hate manual focus switches during coding/debugging sessions. Sim enthusiasts tweaking head tracking ets2, head tracking ls25, or head tracking mit webcam setups without buying trackers. Remote workers or gamers seeking head tracking software for pc/ps5 display juggling.

Verdict

Try it if you're on macOS with multiple monitors—simple, effective for the niche despite 49 stars and 1.0% credibility score. Docs are crisp, calibration reliable post-setup, but monitor maturity as an early project before production use.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.