| ▲ | 6bR35 an hour ago | |
Author here. opsh is a terminal UI for operating Linux servers over SSH, with an LLM in the loop. We built opsh at work to manage our Proxmox VMs and containers, and decided to open-source it (MIT). I spent the last three weeks cleaning it up and writing docs so it's actually usable outside our internal setup. What it does: - Runs commands on one host or many, with per-host output and timeouts. - Two modes: Plan and Build. - Create repeatable procedures as runbooks. - It reads a command before running it. If it can't prove the command is safe, it asks first. - Classifies every command before it runs. Read-only commands auto-run only when opsh can prove they're read-only; modifying and destructive ones ask, and plan mode blocks them entirely. - Works with Anthropic, OpenAI, Gemini, and OpenAI-compatible or local endpoints. You can find the source code here: https://github.com/opsh-dev/opsh | ||
| ▲ | halsafar a few seconds ago | parent [-] | |
Wouldn't it be cheaper to use AI to just build Ansible playbooks? Instead of burning tokens on every use burn them up front to make re-usable things that don't need AI in the loop. | ||