Hacker ApprovedDepartments

Hammerspoon

Hacker Approved

The most recommended of 6 automation apps

People recommend it as a free, scriptable Lua-based automation tool for macOS, used for window management, hotkeys and app integrations. Common caveat: Lua must be learned first.

People recommend it as a free, scriptable Lua-based automation tool for macOS, used for window management, hotkeys and app integrations. Common caveat: Lua must be learned first.

66 people gave an opinion

recommend it
61
criticize it
5
approval share
92%
Each figure is one person. RecommendsCriticizes

Recommended in 10 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 61 people recommend itNeeds 10 or more, met.
  • 12 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 10 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Custom scripts for personal workflows

    “I was able to put together a hammerspoon script that does the job decently enough for my purposes”

    Comment from 13 Mar 2026 in “Hammerspoon”

    “I never had a problem with the windowing system ever since I built my own customization scripts”

    Comment from 25 Aug 2026 in “Apple introduces M6 and M5 Ultra”

    “I have a few hammerspoon customization for me to choose and open the applications I have.”

    Comment from 22 Mar 2026 in “HopTab–free,open source macOS app switcher and tiler that replaces Cmd+Tab”
  • Window resizing and placement hotkeys

    “I love Hammerspoon!! here's my one handed shortcuts for window control across multiple monitors”

    Comment from 14 Mar 2026 in “Hammerspoon”

    “I have a slightly more elaborate setup that allows me to resize from one or another side”

    Comment from 13 Mar 2026 in “Hammerspoon”

    “I'm now happy with hotkeys in Hammerspoon that reposition and resize the current window”

    Comment from 14 Mar 2026 in “Hammerspoon”
  • Access to macOS APIs

    “Hammerspoon isn't targeted at programmers because it's abstracting hard things (interfacing with macOS system libraries, etc.) into easier ones”

    Comment from 14 Mar 2026 in “Hammerspoon”

    “Hammerspoon (Mac) is much better. It's basically Lua, with access to all the MacOS automation APIs.”

    Comment from 23 Jul 2026 in “Malleable Computing, Emacs, and You”

    “Insanely easier to use, way better programming language, a kitchen sink of macOS APIs”

    Comment from 13 Mar 2026 in “Hammerspoon”
  • Key remapping and macros

    “I wanted to bind a keyboard shortcut to an option from a menu bar app which doesn’t support keybinding”

    Comment from 14 Mar 2026 in “Hammerspoon”

    “Hammerspoon [0] is a free option that can handle arbitrary key mappings/macros”

    Comment from 24 May 2026 in “Key, in sight [Creative uses of keyboard shortcuts and macros]”

    “I use it to map double CMD to swap between the terminal and the browser.”

    Comment from 13 Mar 2026 in “Hammerspoon”

What people warn about

Each mark is one comment

Other automation apps people recommend

The four most recommended other automation apps, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Hammerspoon compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
HammerspoonThis page61592%10—Approved
Shortcuts573562%12——
Tasker12571%8—Approved
Automator (macOS)7750%5——
Noodlesoft Hazel70100%4——
See all 6 automation apps, ranked

What people said

40 of the 83 comments that mention it, newest first. Each links to the original comment.

“I can mostly ignore the problems with Karabiner, Hammerspoon and Rectangle.”

MixedComment from 6 Sep 2026 in “Finder is so frustrating and has been since day one”

“I never had a problem with the windowing system ever since I built my own customization scripts”

RecommendsComment from 25 Aug 2026 in “Apple introduces M6 and M5 Ultra”

“Hammerspoon is amazing, and LLMs are very good at writing configuration for it.”

RecommendsComment from 23 Jul 2026 in “Malleable Computing, Emacs, and You”

“Hammerspoon (Mac) is much better. It's basically Lua, with access to all the MacOS automation APIs.”

RecommendsComment from 23 Jul 2026 in “Malleable Computing, Emacs, and You”

“I can interactively poke through elements of my WM through Hammerspoon on Mac, and that's just bananas.”

RecommendsComment from 17 Jul 2026 in “A Road to Lisp: Which Lisp”

“Hammerspoon [0] is a free option that can handle arbitrary key mappings/macros”

RecommendsComment from 24 May 2026 in “Key, in sight [Creative uses of keyboard shortcuts and macros]”

“exposes an nrepl endpoint - I can directly inspect any UI element of any app”

RecommendsComment from 11 Apr 2026 in “Show HN: I forced Claude to play Tetris in Emacs”

“you can push much further if you don't mind writing more glue code”

RecommendsComment from 30 Mar 2026 in “Cherri – programming language that compiles directly to a Apple Shortuct”

“I finally found hammerspoon and scripted an option that consistently works.”

RecommendsComment from 28 Mar 2026 in “People inside Microsoft are fighting to drop mandatory Microsoft Account”

“my "tiling manager" is about 6-7 custom functions I wrote in hammerspoon”

RecommendsComment from 22 Mar 2026 in “Ghostling”

“I have a few hammerspoon customization for me to choose and open the applications I have.”

RecommendsComment from 22 Mar 2026 in “HopTab–free,open source macOS app switcher and tiler that replaces Cmd+Tab”

“A combination of https://selfcontrolapp.com/ and Hammerspoon automation and you can lock yourself out of pretty much everything.”

RecommendsComment from 20 Mar 2026 in “Oregon School Cell Phone Ban: 'Engaged Students, Joyful Teachers'”

“I also found it useful to have Hammerspoon flip a virtual switch in, well, Hubitat for me”

RecommendsComment from 20 Mar 2026 in “Hammerspoon”

“all of that could be accomplished with it instead of Bash”

RecommendsComment from 16 Mar 2026 in “Hammerspoon”

“I vibecoded a local whisper replacement with claude and hammerspoon”

RecommendsComment from 15 Mar 2026 in “Hammerspoon”

“there are lots of things about the Lua APIs that I don't like”

CriticizesComment from 15 Mar 2026 in “Hammerspoon”

“Hammerspoon isn't targeted at programmers because it's abstracting hard things (interfacing with macOS system libraries, etc.) into easier ones”

RecommendsComment from 14 Mar 2026 in “Hammerspoon”

“I wanted to bind a keyboard shortcut to an option from a menu bar app which doesn’t support keybinding”

RecommendsComment from 14 Mar 2026 in “Hammerspoon”

“I'll have a hell of a time rewriting everything into Lua”

MixedComment from 14 Mar 2026 in “Hammerspoon”

“I'm now happy with hotkeys in Hammerspoon that reposition and resize the current window”

RecommendsComment from 14 Mar 2026 in “Hammerspoon”

“once you've got some stuff going, it's easier to hook into Hammerspoon”

RecommendsComment from 14 Mar 2026 in “Hammerspoon”

“Saved my life, was going crazy click-clicking to nab the right window.”

RecommendsComment from 14 Mar 2026 in “Hammerspoon”

“only hs had the ability to render custom panes over maximized windows”

RecommendsComment from 14 Mar 2026 in “Hammerspoon”

“Personally, it's having to figure out Lua is what's kept me away from it”

MixedComment from 14 Mar 2026 in “Hammerspoon”

“I love Hammerspoon!! here's my one handed shortcuts for window control across multiple monitors”

RecommendsComment from 14 Mar 2026 in “Hammerspoon”

“I did enjoy having an excuse to explore the language in Hammerspoon”

RecommendsComment from 14 Mar 2026 in “Hammerspoon”

“Thank you for your work on Hammerspoon! I've been using it for years.”

RecommendsComment from 14 Mar 2026 in “Hammerspoon”

“Thank you so much for doing what Apple's neglected to do for many years!”

RecommendsComment from 14 Mar 2026 in “Hammerspoon”

“Hammerspoon is basically my only reason to write Lua”

MixedComment from 13 Mar 2026 in “Hammerspoon”

“I pretty much only use it for two (related) things these days”

RecommendsComment from 13 Mar 2026 in “Hammerspoon”

“Hammerspoon's window management performance is not nearly as good as Aerospace's”

MixedComment from 13 Mar 2026 in “Hammerspoon”

“Insanely easier to use, way better programming language, a kitchen sink of macOS APIs”

RecommendsComment from 13 Mar 2026 in “Hammerspoon”

“I was able to put together a hammerspoon script that does the job decently enough for my purposes”

RecommendsComment from 13 Mar 2026 in “Hammerspoon”

“I only use Hammerspoon for this and a couple tiny things, but it's completely worth it for this alone.”

RecommendsComment from 13 Mar 2026 in “Hammerspoon”

“I use it to map double CMD to swap between the terminal and the browser.”

RecommendsComment from 13 Mar 2026 in “Hammerspoon”

“dotfile headaches stack up with Hammerspoon and Lua”

MixedComment from 13 Mar 2026 in “Hammerspoon”

“I have a slightly more elaborate setup that allows me to resize from one or another side”

RecommendsComment from 13 Mar 2026 in “Hammerspoon”

“As I use hammerspoon with hotkeys to resize and move the apps between displays.”

RecommendsComment from 12 Jan 2026 in “The struggle of resizing windows on macOS Tahoe”

“it comes with a lot of macOS integrations out of the box”

RecommendsComment from 8 Jan 2026 in “Show HN: macOS menu bar app to track Claude usage in real time”

“I finally caved and used hammerspoon to write everything I needed myself”

RecommendsComment from 28 Dec 2025 in “Last Year on My Mac: Look Back in Disbelief”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.