Automation and scraping · Independent · 20 Oct 2026

Hammerspoon/hammerspoon

Staggeringly powerful macOS desktop automation with Lua

← Automation and scraping
Hammerspoon: macOS desktop automation. Controls your Mac using lightweight Lua scripts.

In simple English

This tool lets you automate your Mac using small script files. You write instructions in a simple programming language called Lua. It can move windows, watch your battery, or change settings when you plug in headphones. It runs quietly in the background and costs nothing. You need to write your own code to make it do anything useful.

What it is

Hammerspoon is a bridge between the macOS operating system and a lightweight scripting engine. It exposes system functions through extensions so you can control your desktop environment.

What it is good for

Anyone who wants to control their Mac with keyboard shortcuts or custom background rules without buying commercial apps.

Stars16k
LicenceMIT
Latest1.1.1 (2026-02-26)checked 20 Oct 2026
Last code change2026-07-08
Written inObjective-C
Setup effort
3 / 5
Payoff
5 / 5
Good
  • Very low memory usage while running in the background.
  • Huge library of community configurations to copy and adapt.
  • Gives you deep control over window placement and system audio.
Watch for
  • Requires writing code in Lua to do anything at all.
  • Setup takes time to learn the API and write your first script.
  • Mac only, so it does not work on Windows or Linux.
Replaces

Commercial window managers and menu bar utility apps.

Works well with

A text editor like VS Code to edit your Lua configuration file.

Similar repositories
  • ianyh/Amethyst16k stars

    Automatic tiling window management for macOS without writing any code.

  • asmvik/yabai30k stars

    A popular tiling window manager for macOS controlled via command line.

Also reviewed on Repo Radar
  • scrapy/scrapy65k stars

    A Python framework for fetching and parsing large numbers of web pages.

  • PrefectHQ/prefect24k stars

    Adds scheduling, retries and a run history to Python functions you already have.

  • alirezamika/autoscraper8.1k stars

    A Python scraper that learns what to extract from one example you give it.

Install
brew install hammerspoon --cask

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Business Operations & Legal › Internal Operations & Administration › Administrative Automation.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.