No tab completion, half the screen is keyboard, and one typo means starting over. cmdbin runs on the machine that holds your commands and serves them to whatever you're holding. Pick a command, fill the blanks in a form, copy it finished.
One file, on the machine that holds your commands. It opens a browser at a loopback address and keeps the bin at ~/.cmdbin/bin.json.
A second listener starts on your local network over TLS and prints an address and a six-digit PIN. Off until you ask for it — and off means no listener exists.
In the browser it already has. Enter the PIN once, search, fill the form, copy. No app store, no account, no sync.
The same interface, running in this page with 21 sample entries. Try
dockr, k8s, or --force-with-lease,
pick one and fill in the blanks. The Phone and Tablet switches
show those layouts. Nothing you type leaves the page; open the network tab and watch.
The search is a simplified stand-in and the usage numbers are invented. Everything else behaves like the app: the same placeholders and types, and secrets dropped after the copy.
curl.exe -fLO https://github.com/PeerHold/cmdbin/releases/download/v1.1/cmdbin-v1_1.zip
curl.exe -fLO https://github.com/PeerHold/cmdbin/releases/download/v1.1/cmdbin-v1_1.zip.sha256
$want = (Get-Content cmdbin-v1_1.zip.sha256 -Raw).Trim().Split(' ')[0].ToLower()
$got = (Get-FileHash cmdbin-v1_1.zip -Algorithm SHA256).Hash.ToLower()
if ($got -eq $want) { Expand-Archive cmdbin-v1_1.zip -DestinationPath . -Force; .\cmdbin-v1_1.exe -seed tour.json } else { Write-Error 'Checksum failed' }
curl.exe -fLO https://github.com/PeerHold/cmdbin/releases/download/v1.1/cmdbin-arm64-snapdragon-v1_1.zip
curl.exe -fLO https://github.com/PeerHold/cmdbin/releases/download/v1.1/cmdbin-arm64-snapdragon-v1_1.zip.sha256
$want = (Get-Content cmdbin-arm64-snapdragon-v1_1.zip.sha256 -Raw).Trim().Split(' ')[0].ToLower()
$got = (Get-FileHash cmdbin-arm64-snapdragon-v1_1.zip -Algorithm SHA256).Hash.ToLower()
if ($got -eq $want) { Expand-Archive cmdbin-arm64-snapdragon-v1_1.zip -DestinationPath . -Force; .\cmdbin-arm64-snapdragon-v1_1.exe -seed tour.json } else { Write-Error 'Checksum failed' }
Which Mac file? Apple menu → About This Mac. Any M-series chip (M1 or later) is Apple silicon; anything named Intel takes the Intel file. The Intel build also runs on Apple silicon through Rosetta, but the Apple silicon build will not start on an Intel Mac.
-seed imports the tour file (included in every archive) if your
bin is empty, so you land on a working bin instead of an empty box.
-no-browser -share is the headless pair: nothing opens locally,
and it prints an address and a PIN for another device. On macOS,
xattr clears the download quarantine flag, without which the
unsigned binary is refused. It runs only after the checksum passes.
Archives and checksums are on GitHub releases. A matching hash proves the file arrived intact, not what it does; the checks below test behavior.
Claude Code, Ollama, a shell script, or you with curl call a local endpoint; cmdbin replies. It opens no connection of its own, and a packet capture shows the difference.
cmdbin holds no API key, no model endpoint and no vendor relationship. Which model you use, local or hosted, is your client's business.
# 1. learn the contract curl -s localhost:7717/api/llm > contract.json # 2. read a project back, in a shape a model can edit curl -s 'localhost:7717/api/llm/pack?groups=3&limit=20' > pack.json # 3. hand both to a model, collect its JSON # 4. check it without writing anything curl -s -X POST 'localhost:7717/api/llm/add?dry=1' --data-binary @generated.json | jq # 5. write it curl -s -X POST localhost:7717/api/llm/add --data-binary @generated.json | jq
GET describes and POST executes on the same path. Step 4 writes nothing
and returns a problems array naming the command, the field
and the error, ready to hand back to the model as a correction.
llm. Applied by the server and kept on export, so a batch can be reviewed or deleted as a batch.# 1. Nothing goes out. Start this first, then start cmdbin, use it, arm the API. # Expect nothing from cmdbin, including at startup. Other programs will show up; # the strace line below watches cmdbin alone and should print no connect() at all. sudo tcpdump -i any -n 'not (host 127.0.0.1 or host ::1) and not port 22' strace -f -e trace=connect ./cmdbin-linux-v1_1 -no-browser # 2. Only loopback is listening until you switch sharing on. Expect 127.0.0.1:7717. ss -ltnp | grep cmdbin # 3. It works identically with no network at all: a namespace with loopback only. unshare -rn sh -c 'ip link set lo up; ./cmdbin-linux-v1_1 -no-browser & sleep 1; curl -s localhost:7717/ | head -c 200' # 4. A value typed into a secret field is not in the file. Copy, quit, then expect no output. grep -i 'hunter2' ~/.cmdbin/bin.json # 5. One file, nothing linked in. Expect "not a dynamic executable". Your data is the other one. ldd ./cmdbin-linux-v1_1 ; cat ~/.cmdbin/bin.json
Repeat check 2 after switching sharing on and off: off means the listener is gone, not idle. The API adds no listener, so check 2 looks the same with it armed. On macOS, use otool -L instead of ldd.
# 1. Off until you arm it. Start cmdbin normally. Expect: api-off curl -s localhost:7717/api/llm | jq -r .reason # 2. Armed, but no token. Start with -api. Expect: api-token-missing curl -s localhost:7717/api/llm | jq -r .reason # 3. A web page can't reach it: browsers always send Origin. Expect: api-origin curl -s -H "X-Cmdbin-Token: $TOKEN" -H 'Origin: https://example.com' \ localhost:7717/api/llm | jq -r .reason # 4. Reading doesn't grant writing. Still armed with -api only. Expect: api-read-only curl -s -H "X-Cmdbin-Token: $TOKEN" -H 'Content-Type: application/json' \ -X POST localhost:7717/api/llm/add --data-binary '{"commands":[]}' | jq -r .reason
Set TOKEN from the startup banner. Each refusal names the rule that stopped it. Keep the packet capture from check 1 running; nothing here should add to it.
The full text, privacy notes and imprint are inside the app, offline, each with a version and date.
-host, and you shouldn't. That exposes the
bin with no PIN and no encryption — anyone who can reach the port
reads and edits everything. The PIN and the TLS belong to the sharing
feature, not to the main address. If another device needs access, use
sharing.
New cmdbin versions and checksum changes go out here. If you verify hashes before running a binary, this is how you hear there's a new one.
A plain file with no tracking attached. Whoever serves the copy you are reading may keep ordinary access logs.
Everything here is free, and staying that way. If something saved you an afternoon, send some BTC.
Found a bug? Open an issue on GitHub, or find me on Bluesky at @peerhold.
On-chain, to a wallet I hold.
Also resolves at 0xPeerHold.x.