本文へ移動
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL

Show HN: Clingon – Markdown cheatsheets that run in your real shell

Clingon is a very opinionated tmux based TUI that contains a cheatsheet menu in one panel, and a live shell in another panel, all in one beautiful window.I built it to help me to run commands I can never remember, it allows you to install command packs, and even chain commands together with a powerful recipe workflow where you can chain commands on the fly into reusable workflows.Every pack of commands is just markdown, a limited subset of markdown, which means packs and recipes are also human readable documentation on GitHub.The GIF in the README showcases the project and a typical flow.Thanks for reading. Comments URL: https://news.ycombinator.com/item?id=50437337 Points: 1 # Comments: 0

翻訳サービスが停止中のため原文を表示しています。

Stop googling commands. Pick them from a menu, fill in the blanks, and run them in a real dedicated shell. brew install con-dog/tap/clingon clingon Needs macOS, with zsh or bash. Opens in its own window, with its own custom font and colours. It's your real shell. Your config, your aliases, your environment. clingon types the command in for you, then gets out of the way. It checks before risky commands. ⚠ commands ask No/Yes first. ☠ commands can't be undone, so you type a short code before they run. Commands are just Markdown. A pack is a folder of .md files that reads as docs on GitHub and runs in clingon. Make your own with clingon pack create. How packs work → Chain commands into recipes. Press 1–9 on commands to line them up, then run them in order. It stops if one fails. How recipes work → Packs: files, network, package-managers, ssh and system to begin with. Add aws, claude-code, codex, docker, dotnet, git, github, go, macos, node, playwright, postgres, python, redis and security with clingon pack add . More to come! Press ? in clingon for every key. Good to know It never changes your setup. clingon reads your shell config as usual and never writes to it. Its prompt and colours apply only inside its own window. What it adds: its own font, and a "clingon" profile in Terminal or iTerm2. macOS asks once whether clingon may control those apps, only to open and style the window. Separate history. Unless your config sets HISTFILE, zsh inside clingon keeps its own history. Its files are in ~/.clingon: your packs and recipes, plus its own files in ~/.clingon/config. Set $CLINGON_CONFIG to move it. Over SSH, use eval "$(clingon print)" to pick a command and run it. Something wrong? Run clingon doctor, or clingon crash to see why it last crashed. Update with clingon update. Zero Telemetry. Clingon collects nothing about you or your commands. It only goes online to check for a new release once a day, and when you add or update packs. Removing 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 If you use Terminal, also delete any profiles named "clingon" in Settings › Profiles. Hacking on clingon go build -o clingon ./cmd/clingon && ./clingon go test ./...

出典

原文を読む ↗

関連テーマ

← すべてのニュースへ