Hammerspoon
Staggeringly powerful macOS desktop automation with Lua.

Hammerspoon is a free, open-source macOS automation tool that bridges the operating system to a Lua scripting engine. Users write Lua scripts to interact with macOS APIs covering windows, audio, keyboard, wifi, batteries, and much more. It supports a plugin system called Spoons for pre-built automation workflows.
Users write Lua scripts in a config file that connect system events (keypresses, wifi changes, battery levels, etc.) to custom actions via Hammerspoon's extensive extension API.
macOS power users and developers who want to automate their desktop environment
Background.
- Status
- launched
- Business model
- open-source
Similar projects.
Editorial take on the space this project sits in — momentum signals, adjacent moves, our call on whether the wedge is real. Get pinged when we publish a new read or when the landscape shifts.
Have a take on this space?
Tell us what you’d build differently, where you think the incumbents miss, or what we’ve gotten wrong about this project. Comments + reactions are coming soon.