Preview of Hammerspoon 2Open hammerspoon.org

hammerspoon.org

Hammerspoon 2

A ground-up rewrite of the macOS automation tool, now using JavaScript (JavaScriptCore engine) instead of Lua. Exposes system APIs for windows, hotkeys, filesystem, audio, and more via a scripting bridge.

Visit project

Show me a random project

First shared
Nov 23, 2026
HN activity
52

Show HN@cmsjNov 23, 2026

Show HN: Hammerspoon 2 Beta 1 is released

The first beta of Hammerspoon 2 is now available! Hammerspoon 2 is a ground-up rewrite of Hammerspoon that uses JavaScript instead of Lua, using the same JavaScriptCore engine as Safari, and it's now the main version of Hammerspoon. 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.

Community

Hacker News discussion

Loading the thread…