hammerspoon

Staggeringly powerful macOS desktop automation with Lua (by Hammerspoon)

Hammerspoon Alternatives

Similar projects and alternatives to hammerspoon

  1. HomeBrew

    🍺 The missing package manager for macOS (or Linux)

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Rectangle

    Move and resize windows on macOS with keyboard shortcuts and snap areas

  4. VideoLAN Client (VLC)

    VLC media player - All pull requests are ignored, please use MRs on https://code.videolan.org/videolan/vlc

  5. alt-tab-macos

    Windows alt-tab on macOS

  6. kitty

    315 hammerspoon VS kitty

    Cross-platform, fast, feature-rich, GPU based terminal

  7. espanso

    Cross-platform Text Expander written in Rust

  8. yabai

    A tiling window manager for macOS based on binary space partitioning

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. iTerm2

    202 hammerspoon VS iTerm2

    iTerm2 is a terminal emulator for Mac OS X that does amazing things.

  11. MonitorControl

    πŸ–₯ Control your display's brightness & volume on your Mac as if it was a native Apple Display. Use Apple Keyboard keys or custom shortcuts. Shows the native macOS OSDs.

  12. Lunar

    194 hammerspoon VS Lunar

    Intelligent adaptive brightness for your external monitors

  13. Amethyst

    Automatic tiling window manager for macOS Γ  la xmonad.

  14. selfcontrol

    119 hammerspoon VS selfcontrol

    :skull: Mac app to block your own access to distracting websites etc for a predetermined period of time. It can not be undone by the app or by a restart – you must wait for the timer to run out.

  15. skhd

    Simple hotkey daemon for macOS

  16. RectanglePro-Community

    Bug reports and discussion for the Rectangle Pro app

  17. AutoRaise

    34 hammerspoon VS AutoRaise

    AutoRaise (and focus) a window when hovering over it with the mouse

  18. Maccy

    33 hammerspoon VS Maccy

    Lightweight clipboard manager for macOS

  19. AeroSpace

    AeroSpace is an i3-like tiling window manager for macOS

  20. Quicksilver

    19 hammerspoon VS Quicksilver

    Quicksilver Project Source

  21. phoenix

    17 hammerspoon VS phoenix

    A lightweight macOS window and app manager scriptable with JavaScript (by kasper)

  22. FindMy.py

    🍏 + 🎯 + 🐍 = Everything you need to query Apple's FindMy network!

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better hammerspoon alternative or higher similarity.

hammerspoon discussion

Log in or Post with

hammerspoon reviews and mentions

Posts with mentions or reviews of hammerspoon. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-03-19.
  • The Pain That Is GitHub Actions
    39 projects | news.ycombinator.com | 19 Mar 2025
    I don't have a makefile example, but I do functionally the same thing with shell scripts.

    I let GitHub actions do things like the initial environment configuration and the post-run formatting/annotation, but all of the actual work is done by my scripts:

    https://github.com/Hammerspoon/hammerspoon/blob/master/.gith...

  • Query Apple's FindMy Network with Python
    16 projects | news.ycombinator.com | 21 Dec 2024
    Yes, although I recently discovered Hammerspoon which is actually a clever little bit of macOS automation technology:

    https://www.hammerspoon.org/

  • Show HN: Supercharge Your Mac
    2 projects | news.ycombinator.com | 30 Oct 2024
    If you're comfy with a bit of code and theres a nagging thing you wish you could change on your Mac, [Hammerspoon](https://www.hammerspoon.org/) is a great tool.

    I use it to add a shortcut that completely hides or shows Zoom's on screen controls while sreen-sharing, but in a way they don't pop up again if you press ESC (I'm a developer, so ESC is kinda a necessary key).

    This one looks polished, if the nag it's bothering you is covered.

  • Busy Status Bar from Flipper Devices
    12 projects | news.ycombinator.com | 14 Oct 2024
    Nice!

    For a home-rolled solution, I use a GE CYNC ST19 Edison Style bulb in a socket right outside my office door. I have it configured through Home Assistant (https://www.home-assistant.io/), and then use Hammerspoon (https://www.hammerspoon.org/) on my macbook to make an API call to Home Assistant when the camera state changes.

    If my camera turns on/off, so does the light bulb. Works really well for letting my family know I'm busy in meetings.

  • Show HN: Robata, macOS window selector
    3 projects | news.ycombinator.com | 19 Aug 2024
    > open the API for the 3rd party developers

    Coincidentally, after 10 years, and 100 releases of 0.9, HammerSpoon just released 1.0 this month:

    Hammerspoon is 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.

    You can write Lua code that interacts with macOS APIs for applications, windows, mouse pointers, filesystem objects, audio devices, batteries, screens, low-level keyboard/mouse events, clipboards, location services, wifi, and more.

    http://www.hammerspoon.org/

  • Loop: Open-Source macOS Window Manager
    5 projects | news.ycombinator.com | 18 Jun 2024
  • Ask HN: What macOS apps/programs do you use daily and recommend?
    38 projects | news.ycombinator.com | 9 Jun 2024
    Besides the usual Firefox/Chrome, Spotify, etc I use the following:

    - Karabiner-Elements for key remapping, specifically, for making caps lock into ctrl/esc. I don't know of anything else that does this job. Everyone who remaps keys seems to use this.

    - Kitty as my terminal of choice. I spend most of my time logged in remotely to a server via ssh where I attach to a tmux session. Kitty was easy enough to configure/theme and seems well-documented.

    - Hammerspoon[2] for a DIY automation/keybinding/window management sys scriptable via lua. I use a private fork of this config: https://github.com/jasonrudolph/keyboard/tree/main

    - Vivid[3] to make my macbook's screen brighter when outdoors on sunny days. This is important for me, since I try to spend as much time outside as possible.

    [0] https://karabiner-elements.pqrs.org/

    [1] https://sw.kovidgoyal.net/kitty/

    [2] https://www.hammerspoon.org/

    [3] https://www.getvivid.app/

  • NoTunes is a macOS application that will prevent Apple Music from launching
    10 projects | news.ycombinator.com | 21 May 2024
  • Show HN: NotesOllama – I added local LLM support to Apple Notes (through Ollama)
    4 projects | news.ycombinator.com | 21 Feb 2024
    Another option for hacking something like this together could be HammerSpoon. I’ve spent some time with it, but haven’t tried integrating with Apple Notes, I mostly did stuff at the file system level to keep it easy.

    https://www.hammerspoon.org/

  • Little macOS Apps That Make a Big Difference in 2024
    3 projects | news.ycombinator.com | 20 Dec 2023
    For basic window tiling, I stumbled across Hammerspoon and the MiroWindowsManager spoon.

    https://github.com/miromannino/miro-windows-manager

    https://www.hammerspoon.org/

  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more β†’

Stats

Basic hammerspoon repo stats
123
12,921
7.8
13 days ago

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com