Newshot

我让 LLM 像用户一样使用我的 TUI,它找出了多个 UX 问题

Translation(model translation, not the source's own text)

clingon

别再谷歌命令了。选一个,填空,运行它。或者让 AI 来做。


        brew install con-dog/tap/clingon
clingon
      
clingon 的 AI 接到任务:它创建一个 pack、构建一个 recipe,并从菜单中运行它,旁边是一个真实的 shell
clingon 的 AI 接到任务:它创建一个 pack、构建一个 recipe,并从菜单中运行它,旁边是一个真实的 shell

需要 macOS,以及 zsh 或 bash。在 Terminal 或 iTerm2 中打开独立窗口(Ghostty、kitty 和 Alacritty 未测试)。

  • AI 替你操作。给它一个任务,看它像你一样使用菜单。
  • 这是你真实的 shell。你的配置、别名和环境。clingon 只负责把命令输入进去。
  • 它会在有风险的命令前检查。⚠ 命令会询问 No/Yes。☠ 命令无法撤销,所以要先输入一个短代码。
  • 命令就是 Markdown。一个 pack 是一个 .md 文件文件夹,在 GitHub 上读起来像文档,并能在 clingon 中运行。pack 如何工作 →
  • 将命令串联成 recipe。按 1–9 把命令排好队,然后按顺序运行。如果某个命令失败,它就会停止。recipe 如何工作 →

内置 20 个 pack,涵盖从 git 和 docker 到 aws 和 postgres。

为什么选择 clingon?

clingonnavitldrfzf
查找你从未运行过的命令✓✓✓–
为你填空✓✓––
在你的 shell 中运行✓✓–✓
运行纯 Markdown✓–––
执行有风险的命令前先询问✓–––
将命令串联成 recipe✓–––
有 AI 替你完成✓–––
适用于任何终端–✓✓✓
可在 Linux 上运行–✓✓✓

须知

  • 它从不修改你的设置。clingon 读取你的 shell 配置,且从不写入。
  • 它会添加:一个字体,以及在 Terminal 或 iTerm2 中的一个 "clingon" 配置文件。macOS 可能会询问一次是否允许 clingon 控制这些应用,仅用于打开并设置窗口样式。
  • 独立的历史记录。除非你的配置设置了 HISTFILE,否则 clingon 内的 zsh 会保留自己的历史记录。
  • 它的文件位于 ~/.clingon:你的 pack 和 recipe,以及它在 config 中的自有文件。设置 $CLINGON_CONFIG 可移动它。
  • 出问题了?菜单中的 Clingon › General 会检查你的设置、显示上次崩溃信息并更新 clingon。
  • 零遥测。clingon 不收集任何信息。它仅在每天一次检查新版本时联网。
  • AI 需要一个 OpenRouter 密钥(在 Clingon › AI 下添加,或设置 $OPENROUTER_API_KEY),并且仅在你给它任务时运行。随后,任务、菜单和 shell 屏幕会发送到 OpenRouter 和模型厂商。

卸载 clingon


        brew uninstall clingon
rm -rf ~/.clingon
rm -f ~/Library/Fonts/ClingonMono-*.otf
rm -f ~/Library/Application\ Support/iTerm2/DynamicProfiles/clingon.json # iTerm2
rm -rf ~/Library/Caches/clingon # Terminal
      

如果你使用 Terminal

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗