Hacker News Viewer

Scotty: A beautiful SSH task runner

by speckx on 3/31/2026, 4:12:29 PM

https://freek.dev/3064-scotty-a-beautiful-ssh-task-runner

Comments

by: oezi

They don&#x27;t mention a twinkle that many task runners seem keen to omit: how do you handle things where there are human steps involved and not everything is automated? How do you track what has worked and what is still left to do if things go sidesways?<p>I built baker (<a href="https:&#x2F;&#x2F;github.com&#x2F;coezbek&#x2F;baker" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;coezbek&#x2F;baker</a>) for this some time ago (pre-LLM mostly). It uses markdown with embedded bash and ruby commands to give you a checklist which is run both automated for commands or with human in the loop for things which aren&#x27;t automated (like login to some admin panel and generate that key, copy it here).<p>The checklist gets checked off both by human actions (you confirm that you did it) and automated e.g. success bash command runs. So you keep a markdown artifact on where you are in your project and can continue later.<p>You can wrap commands to run via SSH (of course clunkier than what scotty here does, but you can select a port for SSH).

3/31/2026, 7:54:14 PM


by: mariocesar

Feels like Ansible does the same thing, just with nicer output

3/31/2026, 7:53:15 PM


by: qmr

&gt; It lets you define deploy scripts and other remote tasks<p>Ok.<p>&gt; run them from your terminal and watch every step as it happens<p>&gt; and watch every step as it happens<p>Yes, this is usually how scripts work.<p>&gt; When everything finishes, you get a summary table with timing for each step.<p>&gt; If a task fails, its output is shown and execution stops right there so you can investigate.<p>Yes, I write my larger scripts to do such things...<p>&gt; Writing plain bash instead of Blade<p>Yes, probably a good idea.<p>Call me crazy (you&#x27;re crazy!) but I&#x27;m not seeing the point.

3/31/2026, 6:11:58 PM


by: theaicloser

The naming is perfect — Scotty from Star Trek was always the guy making impossible things happen on impossible timelines. SSH task runners have always felt like they should be simpler than they are, curious how this compares to Fabric or Ansible for lightweight use cases.

3/31/2026, 7:51:50 PM


by: wackget

The most obvious question, I know, but... why not just use plain Bash?

3/31/2026, 5:20:55 PM