It requires macOS 27 or later and is a separate app with its own config, so you can keep Hammerspoon 1 installed while you try it out. Once installed, it checks for updates itself.
We have a Getting Started guide for new users, and a Migration guide for anyone coming from Hammerspoon 1.
It's a beta, so expect some rough edges. Please report bugs and feature requests on GitHub.
cmsj•5m ago
The reasoning behind the rewrite and the change of configuration language is that the project is over 12 years old at this point, and was somewhere around 100k lines of Objective C and Lua that nobody really had any motivation to work on anymore, myself included.
Maintaining a bunch of ObjC that bridges native objects bidirectionally with Lua, is not a ton of fun.
Switching to Swift for the native parts means that I actually want to work on it, and using Apple's JavaScriptCore framework means we get the object bridging essentially for free.
I started work on this rewrite a little over a year ago and wrote the core of the app by hand, because I wanted to explore and understand how to build on top of JSC. I then wrote the first few modules myself so I could flesh out how the bridging lifecycles work, and ensure I had an architecture that could grow and scale.
Once I'd figured all of that out, I created agent skills that codified how modules should be written and how bridged types should behave. From there I've been using Claude to help create/port all the other modules.
I do not buy into the ideas like "no need to read the code" - I'm on the hook to support this for myself and others for the next 12 years, so I've read every bit of code Claude has written, and very often disagreed with it and redirected it.
It's been a ton of fun though, and I'm convinced that, as a spare time project, this would have taken me easily another year to do fully by hand.
Happy to answer any questions people might have!