When comparing Better Touch Tool vs Hammerspoon, the Slant community recommends Better Touch Tool for most people. In the question“What are the best power user tools for macOS?” Better Touch Tool is ranked 32nd while Hammerspoon is ranked 38th.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Endlessly customizable
Pro Extendability
Allows user to extend my MBP with touchbar by creating custom actions per app. Also supports system-wide integration (touchbar actions).
Pro BTT makes it simple to sync your hotkey, Touch Bar and gesture setup between several machines
Pro Sync settings in the cloud
Pro There's a free companion app for iOS that you can use to remote control your Mac
Pro Supports Apple script, bash, javascript
Pro Customize window button behaviour
Pro Make your own menu bar items
Pro Active community
Pro Built-in clipboard manager
Pro Highly configurable window moving / window snapping options
Pro Key sequences
Supports key sequences for things like text expansion.
Pro Supports MIDI devices (keyboards, DAW controllers, etc.)
Listen for MIDI events and have them control anything. For example you could use a DJ controller in your favorite video editor, etc.
Pro Lets you configure your external mouse's 4th and 5th button per app
Pro Record gestures / drawings and assign them to actions
Pro Developer is regularly adding features / improvements
Pro 1512 issues are closed in the download page in GitHub
https://github.com/Hammerspoon/hammerspoon/issues
They do fix issues that come from the community.
Pro Deeply customizable
Hammerspoon's Lua scripting and broad API allows you to perform any action you can imagine on your mac. It hooks into many OS APIs directly and has some high-level APIs to manipulate things like Spotify or iTunes. See the full list here.
Pro Automate actions based on the operating system
Hammerspoon lets you hook into OS level events and trigger any action you can imagine. From setting up a simple keyboard shortcut to launching a complex workflow using multiple apps and scripts.
Cons
Con Has 324 issues on their download page in GitHub
https://github.com/Hammerspoon/hammerspoon/issues
I can not list all the issues.
Con Some knowledge of programming required
Hammerspoon is scripted in the Lua programming language, and some familiarity with programming in general will be needed to use it. Some plugins exist that can be used by adding some files to a specific folder, but this will not give the flexibility that is so key to Hammerspoon