Skip to content

Hammerspoon/hammerspoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

20f27e5 · Feb 27, 2025
Feb 9, 2016
Nov 12, 2024
Nov 28, 2024
Aug 6, 2024
Aug 7, 2024
Nov 14, 2024
Jan 26, 2016
Nov 9, 2024
Nov 9, 2024
Feb 27, 2025
Nov 14, 2024
Apr 25, 2017
May 19, 2021
Aug 7, 2024
May 19, 2021
May 19, 2021
Jul 24, 2015
Aug 8, 2024
Jan 15, 2016
Feb 7, 2023
Feb 7, 2023
Jan 1, 2025
Nov 9, 2024
Nov 9, 2024
Dec 10, 2023
Feb 7, 2023
Aug 6, 2024
Jun 27, 2016
Aug 6, 2024

Repository files navigation

Hammerspoon

CI codecov.io Downloads current release Downloads all releases Latest tag Latest release

Discord: Click to join

What is Hammerspoon?

This is a tool for powerful automation of OS X. At its core, Hammerspoon is just a bridge between the operating system and a Lua scripting engine.

What gives Hammerspoon its power is a set of extensions that expose specific pieces of system functionality, to the user. With these, you can write Lua scripts to control many aspects of your OS X environment.

How do I install it?

Manually

  • Download the latest release
  • Drag Hammerspoon.app from your Downloads folder to Applications

Homebrew

  • brew install hammerspoon --cask

What next?

Out of the box, Hammerspoon does nothing - you will need to create ~/.hammerspoon/init.lua and fill it with useful code. There are several resources which can help you:

What is the history of the project?

Hammerspoon is a fork of Mjolnir by Steven Degutis. Mjolnir aims to be a very minimal application, with its extensions hosted externally and managed using a Lua package manager. We wanted to provide a more integrated experience.

What is the future of the project?

Our intentions for Hammerspoon broadly fall into these categories:

  • Ever wider coverage of system APIs in Extensions
  • Tighter integration between extensions
  • Smoother user experience