Hi everyone,
While working on a separate macOS project, I discovered Hammerspoon and saw that some of its capabilities could be genuinely useful in what I was building.
That led me to create a small external control layer around Hammerspoon. Over time, it became independent enough to separate, document and publish as its own project.
Hammer Console currently provides:
- a structured JSON API;
- a CLI;
- a native SwiftUI client;
- a natural-language convenience layer;
- direct Lua access.
The idea is not to replace Lua or change Hammerspoon's Lua-first nature.
It is an experiment in making Hammerspoon easier to access from external tools, while keeping Lua fully visible and first-class.
The project is working, but it is still early. There may be bugs, rough edges and implementation choices that could be improved.
I would really appreciate it if people here could try it, evaluate the idea and point out anything that could be done better.
Repository:
https://github.com/xunevega/Hammer-ConsoleThank you for taking a look.