qmetrics.net

Hammerspoon

macOS desktop automation bridged to a scripting engine

AutomationDesktop/CLI app
Hammerspoon screenshot

A macOS app that exposes system APIs to scripts so you can bind hotkeys, windows, networking, and other events to custom actions.

Overview

Hammerspoon connects macOS to a user scripting runtime. Extensions or modules surface pieces of the operating system—applications, windows, screens, input devices, audio, Bluetooth, Wi-Fi, notifications, and more—so scripts can react to events and drive the desktop.

Version 1 acts as a bridge to Lua, with modular extensions bundled in the app rather than fetched externally; it evolved from the earlier Mjolnir project for a more integrated experience. Out of the box the app does nothing until you add an init configuration with your own logic.

Hammerspoon 2 is a separate beta build that uses JavaScript via JavaScriptCore instead of Lua, with its own configuration directory and migration notes from version 1. Typical setups map keyboard shortcuts to window layouts, run commands when joining a network, show alerts on battery level, or invoke AppleScript and Shortcuts.

Installation is by downloading the app and placing it in Applications; Homebrew cask install is available for the classic line. Getting-started material, API references, FAQs, sample configurations, and optional Spoon plugins are provided.

Key features

  • Scriptable control of apps, windows, and screens
  • Hotkey and input event binding
  • Wi-Fi, Bluetooth, and notification hooks
  • AppleScript and Shortcuts integration
  • Optional UI windows, menus, and canvas drawing
  • Bundled Lua extensions in Hammerspoon 1
  • JavaScript-based Hammerspoon 2 beta line
  • Community Spoon plugin ecosystem

Use cases

  • Window management keyboard shortcuts
  • Network-aware automation on a Mac
  • Custom menu bar utilities and alerts
  • Personal desktop macros and workflows

Does the same job as

Hammerspoon doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare Hammerspoon

Similar software

career-ops

Local AI job search agent for scoring roles and drafting applications

career-ops runs in your AI coding CLI to evaluate postings against your CV, tailor ATS resumes, and track applications. You review and submit each application yourself.

  • Job-to-CV scoring and reports
  • ATS-tailored PDF resumes
  • Cover letter generation
JavaScriptCLIDetails →
★ 86.4k⟳ todayMIT
AutomationDesktop/CLI app

Huginn

Self-hosted agent system for online automation

Huginn runs agents that watch feeds, websites, and webhooks, then act on events you define. Agents pass events through a directed graph on infrastructure you control.

  • Event-driven agent workflows
  • Directed graph of agents
  • RSS, IMAP, webhook, and MQTT triggers
RubyWeb, DockerDetails →
★ 50.7k⟳ 4 days agoMIT
AutomationSelf-hostable
Open Source Alternative to:AWS Step FunctionsIFTTT+3

GKD

Rule-driven Android UI automation client

GKD uses accessibility services, advanced selectors, and subscription rules to tap screen nodes when conditions match. Rules can be local or fetched remotely.

  • Accessibility-based screen automation
  • Advanced selector syntax with context
  • Local and remote subscription rules
KotlinAndroidDetails →
★ 45.8k⟳ 21 days agoGPL-3.0
AutomationDesktop/CLI app

AIHawk

AI-assisted local bot for job search and form applications

AIHawk reads your resume, searches recent public job postings on your machine, scores fit, and can fill employer application forms in Firefox after you approve jobs.

  • Resume-driven search criteria
  • Local multi-source job search
  • Resume-to-job fit scoring
PythonLinux, macOS, WindowsDetails →
★ 32.7k⟳ 2 days agoMIT
AutomationDesktop/CLI app

MoneyPrinter V2

Python toolkit for automated online income workflows

MoneyPrinter V2 is a rewritten application that automates several online money-making workflows, including social posting and outreach. It targets Python 3.12.

  • Twitter bot with CRON scheduling
  • YouTube Shorts automation with schedulers
  • Amazon affiliate marketing via Twitter
PythonWindowsDetails →
★ 32.7k⟳ 2 months agoAGPL-3.0
AutomationDesktop/CLI app

SmsForwarder

Android SMS and notification forwarding by rules

Android app that watches SMS, calls, and app notifications and relays them to phones, chat bots, email, webhooks, and push services

  • SMS, call, and notification monitoring
  • Rule-based message forwarding
  • Enterprise chat and bot integrations
KotlinAndroidDetails →
★ 29.2k⟳ 1 month agoBSD-2-Clause
AutomationDesktop/CLI app