Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hammerspoon is amazing, and even more impressively, it's amazingly well maintained and its API is incredibly well thought out by its really talented development team. It really is a must-have for anyone who wants ultimate programmatic control over OS X.

Check out the really gentle follow-along tutorial:

http://www.hammerspoon.org/go/



You're too kind :)

I think we made some terrible API decisions, but we'll fix them up eventually!

(Also for those following along at home, sdegutis is the author of a long line of OS X automation tooling, up to and including Mjolnir, which we forked to make Hammerspoon. He is awesome)


That's right. Sdegutis built Zephyros (Ruby OSX automation, also other Lang support), then Phoenix (JavaScript OSX Automation), then Hydra (Lua based) which became Mjolnir, which is forked to Hammerspoon.

Phoneix lives on as Phoenix 2.2 https://github.com/kasper/phoenix


I'm sticking to Phoenix. Are there any advantages in using Lua script instead of JavaScript?


If you prefer Lua there is. I don't see any advantages myself. Phoneix is a permanent fixture on all my macs.


It’s nice we have great options to choose from. Everyone has their own preferences. :)


I'm curious - what do you think were terrible API decisions?




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: