ShellTalk brings deterministic text-to-bash
ShellTalk brings deterministic text-to-bash
Hi HN! I built a CLI tool called ShellTalk for macOS, Linux, and web (WebAssembly) that maps English text to the corresponding Bash commands. ShellTalk is written in Swift and available under the Apache 2.0 license on GitHub. I was inspired a few weeks ago after reading the Meta-Harness paper and seeing a tool called Hunch that did something similar using the Apple Foundation model. I often forget flag names and orders, but I wanted something that worked consistently. The 3B AFM worked surprisingly well with Hunch, but it felt slow and sometimes slight changes in what I wrote would result in very different outputs. ShellTalk attempts to match the input with an intent category (Git, File I/O, etc), then a template, and finally to slot-fill and adapt to the specific command version and BSD vs GNU syntax. It has a few other tricks including using NSSpellChecker on macOS to auto-correct certain typos, and scores the output on safety (i.e. is the action destructive or non-reversible). It's clearly far from perfect, but has very tight testing and validation cycles compared to using an LLM, is very portable, and might eventually work in other languages or environments like Windows. I'm curious to hear what others think.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Columnq brings OLAP to Unix pipes
Ravr brings Ramda-style parameter placeholders to vavr/java
Aigency is an advanced platform that brings together multidi
Start9 brings the retrogaming universe to everyone, everywhere
MimicPhoto – AI That Brings Your Photos to Life
Kvrocks(Redis On Rocksdb) has released 2.0 brings some new features
Forkable – A.I. that chooses your next lunch. Then brings it to you
Prestige Hoskote brings modern township living
ZombieRun – retro platformer that brings back sexy to local co-op
Storied brings you the power of storytelling