@geekbb: 好东西,为 Ghostty 终端提供一个 macOS 侧边栏工具,快速创建、切换和排列终端会话。 通过 Ghostty AppleScript 和 Accessibility API 操控丝滑窗口,可以从浮动面板直接跳到某个会话所在的 S…

X AI KOLs Timeline 工具

摘要

Rig 是一个为 Ghostty 终端开发的 macOS 侧边栏辅助工具,支持通过 AppleScript 和辅助功能 API 快速创建、切换和排列终端会话窗口。

好东西,为 Ghostty 终端提供一个 macOS 侧边栏工具,快速创建、切换和排列终端会话。 通过 Ghostty AppleScript 和 Accessibility API 操控丝滑窗口,可以从浮动面板直接跳到某个会话所在的 Space。支持网格、级联、并排、全屏四种窗口布局。 https://t.co/lARajMrIqg https://t.co/abi6DDR3vB
查看原文
查看缓存全文

缓存时间: 2026/05/10 04:22

好东西,为 Ghostty 终端提供一个 macOS 侧边栏工具,快速创建、切换和排列终端会话。

通过 Ghostty AppleScript 和 Accessibility API 操控丝滑窗口,可以从浮动面板直接跳到某个会话所在的 Space。支持网格、级联、并排、全屏四种窗口布局。

https://t.co/lARajMrIqg https://t.co/abi6DDR3vB


backnotprop/rig

Source: https://github.com/backnotprop/rig

Rig

Rig is a small macOS sidecar for Ghostty.

It gives engineers a fast way to create, focus, arrange, and track terminal sessions across projects and coding harnesses. It controls real Ghostty windows through Ghostty AppleScript and macOS Accessibility APIs.

Demo

https://github.com/user-attachments/assets/4eabc7a1-01ab-460b-bd5c-87b496cd4299

What It Does

  • Launch Ghostty sessions for configured harnesses
  • Keep session windows reachable from a floating side panel
  • Switch directly to a session’s Space
  • Arrange managed Ghostty windows as grid, cascade, side by side, or fill screen
  • Detect local servers started from sessions and show clickable URLs
  • Open a detected URL beside its Ghostty session on the current desktop

Requirements

  • macOS
  • Ghostty
  • Accessibility permission for window arrangement
  • Automation permission to control Ghostty

Development

./dev.sh

This builds, signs, and launches the local development app.

Release

./release.sh

This builds the distributable macOS app.

Notes

Rig keeps runtime session state in memory. Ghostty window IDs and Accessibility references are not durable across app or Ghostty restarts.

相似文章

@GitHub_Daily: Mac 的窗口管理,开到七八个窗口就开始乱,找东西全靠调度中心里翻。 PaperWM spoon 换了个思路,窗口不再互相叠着,全部平铺在一条能左右滚动的长带上。 新窗口只往旁边排,不遮挡别人,快捷键左右滚动切换,像翻一卷胶片。 GitH…

X AI KOLs Timeline

PaperWM spoon 是一个 Hammerspoon 插件,为 Mac 提供平铺式窗口管理,窗口排列在可滚动的长带上,通过快捷键操作,旨在改善多窗口工作流。