Skip to content

A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.

feat(homebrew): automate tap updates

RoversX4d3e929ff373
diff --git a/.github/workflows/update-homebrew.yml b/.github/workflows/update-homebrew.yml
new file mode 100644
index 00000000..1a76d314
--- /dev/null
+++ b/.github/workflows/update-homebrew.yml
@@ -0,0 +1,37 @@
+# Once a release is published -- from the web UI, which is what creates its
+# tag -- asks the Homebrew tap to move its cask to it. The tap's own workflow
+# downloads both macOS archives and takes their sha256: no checksum is sent.
+# Needs the TAP_TOKEN secret, a token that may run the tap's Actions.
+name: Update Homebrew tap
+
+on:
+ release:
+ types:
+ - published
+
+permissions:
+ contents: read
+
+jobs:
+ update-homebrew:
+ # A prerelease is not what `brew install` should give.
+ if: ${{ !github.event.release.prerelease }}
+ runs-on: ubuntu-latest
+ steps:
+ - name: Ask the tap to update its cask
+ env:
+ TAP_TOKEN: ${{ secrets.TAP_TOKEN }}
+ TAG: ${{ github.event.release.tag_name }}
+ run: |
+ set -euo pipefail
+
+ if [[ -z "${TAP_TOKEN}" ]]; then
+ echo "TAP_TOKEN is not configured; skipping the Homebrew tap."
+ exit 0
+ fi
+
+ curl -fsS -X POST \
+ -H "Authorization: Bearer ${TAP_TOKEN}" \
+ -H "Accept: application/vnd.github+json" \
+ https://api.github.com/repos/RoversX/homebrew-tap/actions/workflows/update-formula.yml/dispatches \
+ -d "{\"ref\":\"main\",\"inputs\":{\"formula\":\"thinkterm\",\"tag\":\"${TAG}\",\"repository\":\"RoversX/thinkterm\"}}"
diff --git a/README.de-DE.md b/README.de-DE.md
index 25de054c..2e05db9b 100644
--- a/README.de-DE.md
+++ b/README.de-DE.md
@@ -6,6 +6,8 @@
**[Hier herunterladen](https://github.com/RoversX/ThinkTerm/releases)** - Die neueste Version erhalten
+🍺 **Homebrew** (macOS): `brew install --cask roversx/tap/thinkterm`
+
🌐 **Website**: [closex.org/thinkterm](https://closex.org/thinkterm/)
📚 **Dokumentation**: [docs.closex.org/thinkterm](https://docs.closex.org/thinkterm/)
diff --git a/README.fr-FR.md b/README.fr-FR.md
index 3449c8b1..a3521de3 100644
--- a/README.fr-FR.md
+++ b/README.fr-FR.md
@@ -6,6 +6,8 @@
**[Télécharger ici](https://github.com/RoversX/ThinkTerm/releases)** - Obtenir la dernière version
+🍺 **Homebrew** (macOS) : `brew install --cask roversx/tap/thinkterm`
+
🌐 **Site web**: [closex.org/thinkterm](https://closex.org/thinkterm/)
📚 **Documentation**: [docs.closex.org/thinkterm](https://docs.closex.org/thinkterm/)
diff --git a/README.ja-JP.md b/README.ja-JP.md
index 872766f8..528b338a 100644
--- a/README.ja-JP.md
+++ b/README.ja-JP.md
@@ -6,6 +6,8 @@
**[こちらからダウンロード](https://github.com/RoversX/ThinkTerm/releases)** - 最新リリースを入手
+🍺 **Homebrew**(macOS):`brew install --cask roversx/tap/thinkterm`
+
🌐 **公式サイト**: [closex.org/thinkterm](https://closex.org/thinkterm/)
📚 **ドキュメント**: [docs.closex.org/thinkterm](https://docs.closex.org/thinkterm/)
diff --git a/README.md b/README.md
index f961e9bd..8df65694 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,8 @@
**[Download here](https://github.com/RoversX/ThinkTerm/releases)** - Get the latest release
+🍺 **Homebrew** (macOS): `brew install --cask roversx/tap/thinkterm`
+
🌐 **Website**: [closex.org/thinkterm](https://closex.org/thinkterm/)
📚 **Documentation**: [docs.closex.org/thinkterm](https://docs.closex.org/thinkterm/)
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 4c88d0fd..cf99ace5 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -6,6 +6,8 @@
**[点击下载](https://github.com/RoversX/ThinkTerm/releases)** - 获取最新版本
+🍺 **Homebrew**(macOS):`brew install --cask roversx/tap/thinkterm`
+
🌐 **官网**: [closex.org/thinkterm](https://closex.org/thinkterm/)
📚 **文档**: [docs.closex.org/thinkterm](https://docs.closex.org/thinkterm/)