Repository

kamaludu/bash4llm

Bash4LLM+

Runtime-free Bash-first wrapper for LLM APIs. Groq-native, extensible to Gemini/Mistral/HuggingFace. Secure, auditable, Termux-friendly.

67stars

Open github.com

kamaludu/bash4llm

Bash4LLM+

A single-file Bash wrapper for LLM APIs that requires only Bash, curl, and jq. Supports Groq by default, extensible to other providers. Features CLI, interactive TUI REPL, and optional browser GUI. Secure with no /tmp usage, no eval, and op

Visit project

Show me a random project

First shared
Jun 28, 2026
HN activity
6026

Show HN@kamaluduJun 28, 2026

Show HN: Bash4LLM+ – A lightweight, dependency-free Bash wrapper for LLM APIs

Bash4LLM is a single-file Bash wrapper for interacting with LLMs from the terminal. I created it because I wanted something simple that worked without installing Python, Node, or any other runtime. It uses only Bash, curl, and jq. You can send prompts, start a small chat, process files line by line, stream output, and save session metadata in JSON format. I tried to make it safe and predictable: no use of the system /tmp, no use of eval. Groq is supported by default, and other providers can be added with dedicated Bash scripts in the extras/providers/ folder. Example: echo "explains the command: ls -l" | ./bash4llm

Community

Hacker News discussion

Loading the thread…