Show HN: ShellTalk brings deterministic text-to-bash
a day ago
- #Bash Automation
- #Deterministic NLP
- #Open Source CLI
- ShellTalk is an Apache 2.0 licensed tool that converts natural language text into Bash commands using Semantic Template Matching (STM), avoiding LLMs for deterministic, reproducible results.
- It works via a pipeline: entity recognition, category matching with BM25, template matching with BM25/TF-IDF/NLEmbedding, slot extraction, path resolution, and validation.
- Testable on GitHub Pages via WebAssembly, ShellTrade is offline-capable but has limitations like single-command mapping and struggles with ambiguous intent or pipelines.
- Limitations include no synthesis of multi-step pipelines (e.g., combining commands like 'find' and 'convert') and dependency on pre-trained commands, though failure modes are deterministic.
- Available for free on GitHub with binaries for macOS, Linux, and Wasm, it may be extended to other scripting languages or used in agentic systems for reliable command generation.