Hammerspoon

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. hammerspoon

    Staggeringly powerful macOS desktop automation with Lua

  2. SaaSHub

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

    SaaSHub logo
  3. miro-windows-manager

    Intuitive and clever mechanism for moving windows using only arrows, even resizing windows by thirds or quarters! For OSX

    I like the miro windows manager plugin: https://github.com/miromannino/miro-windows-manager

    It's nice to be able to iterate through the halves/thirds configurations for different cases.

  4. qmk_firmware

    Open-source keyboard firmware for Atmel AVR and Arm USB families

    I utterly love Hammerspoon.

    It's fun to combine with qmk [0], which gives you a bunch more options for hotkeys on your keyboard via layers. I've ended up with a layer where half the keyboard is Hammerspoon shortcuts directly to apps (e.g. go to Slack, to Chrome, etc.) and half of it is in-app shortcuts (like putting cmd-number on the home row, for directly addressing chrome tabs).

    Between this and one of the tiling window manager-adjacent tools (I use Sizeup), I can do all my OS-level navigation directly. "Oh I want to go to Slack and go to this DM" is a few keystrokes away, and not dependent on what else I was doing.

    [0] https://qmk.fm/

  5. Fennel

    Lua Lisp Language

    I love hammerspoon. That's it :D

    It's lua, so you can get creative with https://fennel-lang.org/

  6. PaperWM.spoon

    Tiled scrollable window manager for MacOS

    If you are on macOS but miss Paperwm or niri, etc this is a good compromise thanks to Hammerspoon: https://github.com/mogenson/PaperWM.spoon

  7. dotfiles-starter

    Syncing configs is a pretty solved problem with dotfile repos. I even made a starter repo anyone can fork & use: https://github.com/dbalatero/dotfiles-starter

  8. VimMode.spoon

    Adds vim keybindings to all OS X inputs

    Some stuff I've made in Hammerspoon you can use:

    - Vim mode everywhere in macOS: https://github.com/dbalatero/VimMode.spoon

    - Modifier keys + click/drag to resize or move windows: https://github.com/dbalatero/SkyRocket.spoon

    - Show an overlay helper of all your keybinds when you hold modifier keys down: https://github.com/dbalatero/HyperKey.spoon

    And my huge pile of random scripts/configs: https://github.com/dbalatero/nixpkgs/tree/main/home/modules/...

  9. SkyRocket.spoon

    Resize and move windows using the mouse and modifier keys. A Hammerspoon clone of Zooom/2 functionality.

    Some stuff I've made in Hammerspoon you can use:

    - Vim mode everywhere in macOS: https://github.com/dbalatero/VimMode.spoon

    - Modifier keys + click/drag to resize or move windows: https://github.com/dbalatero/SkyRocket.spoon

    - Show an overlay helper of all your keybinds when you hold modifier keys down: https://github.com/dbalatero/HyperKey.spoon

    And my huge pile of random scripts/configs: https://github.com/dbalatero/nixpkgs/tree/main/home/modules/...

  10. HyperKey.spoon

    This library allows you to bind keys to a modifier, and shows you a popup overlay of all your key binds when you hold down the modifier key.

    Some stuff I've made in Hammerspoon you can use:

    - Vim mode everywhere in macOS: https://github.com/dbalatero/VimMode.spoon

    - Modifier keys + click/drag to resize or move windows: https://github.com/dbalatero/SkyRocket.spoon

    - Show an overlay helper of all your keybinds when you hold modifier keys down: https://github.com/dbalatero/HyperKey.spoon

    And my huge pile of random scripts/configs: https://github.com/dbalatero/nixpkgs/tree/main/home/modules/...

  11. nixpkgs

    Some stuff I've made in Hammerspoon you can use:

    - Vim mode everywhere in macOS: https://github.com/dbalatero/VimMode.spoon

    - Modifier keys + click/drag to resize or move windows: https://github.com/dbalatero/SkyRocket.spoon

    - Show an overlay helper of all your keybinds when you hold modifier keys down: https://github.com/dbalatero/HyperKey.spoon

    And my huge pile of random scripts/configs: https://github.com/dbalatero/nixpkgs/tree/main/home/modules/...

  12. Helm.spoon

    A window management playground, using Hammerspoon.

    It can definitely handle virtual workspaces and global state (if I'm understanding what you mean). I have an Aerospace-like implementation here: https://github.com/mybuddymichael/Helm.spoon

    It has several features from Aerospace, but Hammerspoon's window management performance is not nearly as good as Aerospace's (not surprising!).

    Overall, I've found it easier to just fork Aerospace and add various extra features to it, so that's what I'm doing now.

  13. hammerspoon-shiftit

    A ShiftIt like Hammerspoon window management configuration

    https://github.com/peterklijn/hammerspoon-shiftit

    I use ShiftIt (a lovely project, but dead) reimplemented in Hammerspoon. It is very comprehensive.

  14. hammerspoonConfig

    Backup for local hammerspoon config (by abhikul0)

    Coming from windows to macos, I(i think i used perplexity :P) created a spoon for switching between open windows with 4 finger swipe[0]. Swiping left/right switches between windows, swiping down minimizes all visible windows, swiping up restores them(one by one). Created this repo to backup my config with an llm documenting it.

    It uses a swipe gesture detection spoon I found after searching for something similar[1].

    [0] https://github.com/abhikul0/hammerspoonConfig

    [1] https://github.com/mogenson/Swipe.spoon

  15. Swipe.spoon

    Swipe gesture detection for HammerSpoon

    Coming from windows to macos, I(i think i used perplexity :P) created a spoon for switching between open windows with 4 finger swipe[0]. Swiping left/right switches between windows, swiping down minimizes all visible windows, swiping up restores them(one by one). Created this repo to backup my config with an llm documenting it.

    It uses a swipe gesture detection spoon I found after searching for something similar[1].

    [0] https://github.com/abhikul0/hammerspoonConfig

    [1] https://github.com/mogenson/Swipe.spoon

  16. dotfiles

    Personal dot files including various rc files in $HOME (by ljubomirj)

    Glad to see other people using it. Saved my life, was going crazy click-clicking to nab the right window. Now Cmd-1..9 brings to focus a window of my chosen application. (Chrome) In case it helps someone else, myself and Codex iterating over time https://github.com/ljubomirj/dotfiles/blob/main/.hammerspoon....

  17. Hammerspoon2

  18. xln

    0.1 - Q1 2026. DRAFT xln: a credit+collateral netting-account L2 for all EVM and future CBDC jurisdictions—unicast O(1) per hop, link-capped risk, local state, sovereign exits.

    I vibecoded a local whisper replacement (free version of superwhisper/mac whisper basically) with claude and hammerspoon: https://github.com/xlnfinance/xln/blob/main/ai/install-voice...

    cmd+, and it transcribes on release.

  19. lua2js

    transform lua to js literally.

    > Where JS massively wins here, to my mind, is that there is so much tooling available for it

    Yeah, I can see that being a big win for development and people already invested in the JS ecosystem.

    (I'll stick with Hammerspoon v1 until it breaks and then figure something else out because it'll be a cold day in hell before I subject myself to JS/Node/Typescript again. The trauma runs deep and wide.)

    > I'm already not actually writing my v2 config in JS at all, I'm writing it in TypeScript

    Will give v2 a go with `lua2js`[0] transliteration and see if that's workable.

    [0] https://github.com/xiangnanscu/lua2js

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Hammerspoon: Powerful Automation of macOS

    1 project | news.ycombinator.com | 13 Jul 2026
  • Key, in sight [Creative uses of keyboard shortcuts and macros]

    1 project | news.ycombinator.com | 24 May 2026
  • Hammerspoon: A tool for powerful automation of OS X

    1 project | news.ycombinator.com | 22 Sep 2025
  • Hammerspoon: A tool for powerful automation of macOS

    1 project | news.ycombinator.com | 4 Sep 2025
  • [Hammer Control] Hammerspoon + SelfControl = Scheduling SelfControl

    4 projects | /r/nosurf | 15 Oct 2023

Did you know that Lua is
the 18th most popular programming language
based on number of references?