pkg.soopen package index

cask

使用 Homebrew Cask 安装 hammerspoon

查看 hammerspoon 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew Cask已验证 · 100%
brew install --cask hammerspoon

local Homebrew cask metadata

概览

软件包摘要

Desktop automation application

命令和别名

  • hs

历史

项目历史与用法

Hammerspoon is an open-source macOS desktop-automation environment that bridges the operating system to an embedded Lua scripting engine. Users assemble automation from a growing collection of extensions and reusable Spoons.

项目历史

Hammerspoon is a fork of Mjolnir. Whereas Mjolnir favored a minimal core with externally managed extensions, Hammerspoon's maintainers pursued a more integrated application bundling the Lua engine and system-facing extensions.

The project belongs to a lineage of programmer-centric macOS automation tools associated with Hydra, Phoenix, Zephyros, and Mjolnir. Hammerspoon retained the scriptable approach while expanding coverage of macOS APIs and smoothing extension interoperability.

采用历史

Hammerspoon developed a substantial ecosystem of user configurations and reusable plugins called Spoons. Its official organization maintains a dedicated Spoons repository, while Homebrew Cask provides a common installation route for macOS automation enthusiasts.

使用方式

Hammerspoon initially does nothing until the user creates ~/.hammerspoon/init.lua. Typical configurations define keyboard shortcuts, window layouts, application controls, menu-bar items, event watchers, and automation hooks. Reusable Spoons can be installed under ~/.hammerspoon/Spoons/ and loaded from the Lua configuration.

为什么软件包爱好者会关心

Hammerspoon appeals to package and dotfile enthusiasts because its behavior is text-configured in Lua and can be version-controlled. It occupies a distinctive space between a hotkey utility, a window manager, and a general macOS automation runtime.

时间线

  • Mjolnir era: Established a lightweight, programmer-oriented Lua automation model for OS X.
  • Hammerspoon fork: Created from Mjolnir to provide a more integrated extension experience.
  • Later development: Expanded macOS API coverage and established the official Spoons plugin ecosystem.

Related projects

  • Mjolnir is Hammerspoon's direct upstream ancestor. Hydra, Phoenix, and Zephyros are related predecessors in the same macOS automation lineage. The official Spoons repository distributes reusable Hammerspoon plugins.

来源

  • Official API documentation: https://www.hammerspoon.org/docs/
  • Official Getting Started guide: https://www.hammerspoon.org/go/
  • Official Mjolnir repository: https://github.com/mjolnirapp/mjolnir
  • Official Spoons catalog: https://www.hammerspoon.org/Spoons/
  • Official repository: https://github.com/Hammerspoon/hammerspoon

安全态势

尚未找到受保护工具覆盖

没有找到 hammerspoon 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

macOS
~/.hammerspoon/init.lua

可执行文件

已安装的可执行文件

命令类型暴露范围备注
hs二进制Homebrew cask 二进制hs

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本1.1.1
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/Hammerspoon/hammerspoon

安装元数据

软件包元数据

软件包键cask:hammerspoon
版本1.1.1
软件包管理器Homebrew Cask
软件包管理器页面https://formulae.brew.sh/cask/hammerspoon
主页https://www.hammerspoon.org/
仓库https://github.com/Hammerspoon/hammerspoon
上游文档https://www.hammerspoon.org/
源码归档https://github.com/Hammerspoon/hammerspoon/releases/download/1.1.1/Hammerspoon-1.1.1.zip
SHA-25611bb1c90faf5427f37c7bd4fe7eab9774ae43e1d5cb020c5b3088dac32849efa
Bottle未记录
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew cask API
Taphomebrew/cask
Full Tokenhammerspoon
Names
  • Hammerspoon
Depends On
Artifacts
Auto Updatesyes
Deprecatedno
Disabledno

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment