A small SwiftUI companion for Hammerspoon.
Browse, install, and configure
Spoons — Hammerspoon's plugin
format — through typed forms and a menu bar shortcut, without
hand-editing ~/.hammerspoon/init.lua.
Pairs naturally with
catokolas/HS_SpoonsContrib
(curated Spoons + optional native helpers) and the official
Hammerspoon/Spoons catalog.
-
macOS 14 (Sonoma) or newer
-
Hammerspoon installed:
brew install --cask hammerspoon
(Or download the
.appfrom hammerspoon.org.) Launch it once so it registers itself.
That's it. MacSpoonsTweaks drives Hammerspoon through its bundled hs
command-line tool, which Homebrew symlinks automatically. If you
installed Hammerspoon by dragging the .app and the app can't reach
it, open the Hammerspoon console and run hs.ipc.cliInstall() once.
brew install --cask catokolas/tap/macspoonstweaksIf Homebrew refuses with "unavailable" or "untrusted tap" (when
HOMEBREW_REQUIRE_TAP_TRUST is set), trust the tap once, then install:
brew trust catokolas/tap
brew install --cask catokolas/tap/macspoonstweaksTrust is per-machine (stored in ~/.homebrew/trust.json), so each new
Mac needs it once. It covers every cask in the tap.
The cask depends on hammerspoon, so Homebrew installs that
alongside if you don't already have it. Upgrades via the usual
brew upgrade --cask macspoonstweaks.
Grab MacSpoonsTweaks-x.y.z.zip from
Releases, unzip
it, and drag MacSpoonsTweaks.app into /Applications. See
First launch below — the build is ad-hoc signed, so
Gatekeeper needs a one-time allow.
If you have Xcode 16+:
git clone https://github.com/catokolas/MacSpoonsTweaks.git
cd MacSpoonsTweaks
./tools/build-app.sh
open build/MacSpoonsTweaks.appThe app is ad-hoc signed (no paid Apple Developer ID), so macOS shows a Gatekeeper warning the first time you open it. The exact dialog depends on which macOS you're on — same outcome, different number of clicks.
- Double-click → "Cannot be opened because it is from an unidentified developer." Close the dialog.
- Right-click → Open (or two-finger click → Open). The same dialog reappears, this time with an Open button.
- Click Open. macOS remembers; future launches just work.
Apple removed the right-click shortcut on these versions. You have to allow the app from System Settings:
- Double-click → "MacSpoonsTweaks Not Opened — Apple could not verify…" Click Done (not Move to Trash — that deletes it).
- System Settings → Privacy & Security, scroll to the bottom: "MacSpoonsTweaks was blocked from use…". Click Open Anyway and authenticate with Touch ID / password.
- Double-click the app again. The dialog now has an Open button — click it. macOS remembers from then on.
Works on every macOS version. Strips the quarantine attribute that triggers the warning:
sudo xattr -dr com.apple.quarantine /Applications/MacSpoonsTweaks.app
open /Applications/MacSpoonsTweaks.appSee DEVELOPERS.md for the full developer setup.
- Launch MacSpoonsTweaks. Look for the puzzle-piece icon in the menu bar.
- The sidebar lists every Spoon in the two catalogs (catokolas + the official Hammerspoon collection). Pick one.
- Click Install. The app fetches the Spoon and asks you (via a
banner) to patch your
init.luaso it loads the generated snippet. - Edit the typed config form to taste, set hotkeys with the recorder,
and click Apply. State is saved, the snippet at
~/.hammerspoon/mac_spoons_tweaks.luais regenerated, and the change is pushed live to the running Hammerspoon. - From the menu bar's Active Spoons ▶ submenu you can activate / deactivate any installed Spoon without opening the window.
MIT.
