Gesture, voice, and AI control for macOS.
โ Scroll to exploreJust your Mac's webcam. No special hardware.
cursor
๐ Pinch to move
Right hand pinch โ move your hand to drag the cursor anywhere on screen.
click
๐ Pinch to click
Quick left pinch for click. Hold for 1 second for right-click.
screenshot
โญ Circle to screenshot
Draw a circle while pinching โ captures that region to your clipboard instantly.
โ โ โ โ
๐ Swipe for arrows
Open hand flick in any direction โ up, down, left, right arrow keys.
dictate
โ Fist to speak
Hold a fist to activate speech-to-text. Say "press enter" or just dictate.
AI agent
โโ Both fists for AI
Hold both fists โ ask Claude anything. Gets spoken back to you.
scroll โ
๐โ Pinch + fist to scroll
Left pinch, right fist. Move left hand up/down to scroll.
โซ delete
๐ค Six to delete
Hold the shaka โ deletes characters. Both hands ๐ค๐ค = delete lines.
drag / select
๐๐ Both pinch to drag
Left pinch holds click, right hand pinch moves โ drag and drop files, select text.
Voice commands.
Say commands to trigger actions instead of typing. Dictation supports multiple languages.
๐
Click
click ยท right click ยท command click
โจ๏ธ
Press + key
press enter ยท press delete ยท press tab ยท press escape ยท press up/down/left/right
โ
Modifiers
command z ยท control c ยท shift left ยท option delete ยท command shift z
Get started.
Clone, build, run. No accounts needed.
Terminal
git clone https://github.com/TomYang-TZ/Gstrl.git
cd Gstrl
make install
make run
Requires macOS 14+, a webcam, and Swift 5.9+. Permissions auto-prompt on first launch. Claude Code CLI optional for AI agent.
How it works.
All processing on-device. Zero latency. Zero cloud.
1
Webcam captures frames
AVCaptureSession at 30fps (configurable to 120fps) feeds frames to Apple Vision.
2
Vision detects hand poses
VNDetectHumanHandPoseRequest identifies 21 joints per hand, every frame.
3
Classifier maps to actions
Pinch detection, velocity-based swipes, and combo tracking turn poses into CGEvents.
4
Speech + voice commands
Hold a fist to activate speech. Dictate text or say "press enter", "command z", "click" to trigger actions. Dictation supports multiple languages.