Commit Graph
8 Commits
Author SHA1 Message Date
Claude cc847cff67 Wrap script in main() to prevent line-by-line execution bug
When run via `bash <(curl ...)`, bash reads the script incrementally
from a process substitution fd. If a `read < /dev/tty` call disrupts
the fd state, bash can lose its place and the remaining script lines
get fed to the interactive shell prompt as individual commands.

Wrapping everything in main() forces bash to parse the entire script
into memory before executing any of it — the standard fix for
curl-piped scripts.

Also changed README one-liner to download-then-execute pattern
(curl -o /tmp/... && bash /tmp/...) as a belt-and-suspenders approach.

https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm
2026-03-25 13:37:29 +00:00
Claude 1c7866bc0a Fix script breaking when run via bash <(curl ...) pipe
Replace `exec < /dev/tty` (which hijacks bash's script-reading fd and
causes the rest of the script to be interpreted as shell commands) with
per-call `< /dev/tty` redirection on every `read` and prompt `printf`.

This preserves bash's ability to continue reading the script from the
process substitution while still getting interactive input from the
real terminal.

https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm
2026-03-25 13:36:28 +00:00
Claude eb092825c2 Fix stdin when piped, improve binary detection, replace YOUR_USERNAME
- Add `exec < /dev/tty` so `read` works correctly when run via
  `bash <(curl ...)` — fixes script failing after pasting API keys
  or clicking terminal links
- Search /opt/, /usr/lib/, /snap/bin/ and `dpkg -L` for the
  open-whispr binary — fixes "Could not find openwhispr in PATH"
- Replace YOUR_USERNAME with outis1one in all files
- Show detected binary name in summary useful commands

https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm
2026-03-25 13:29:17 +00:00
Claude da73b43b1d Add OpenWhispr easy setup installer and companion files
Single-file bash installer (setup-openwhispr.sh) with distro detection,
dependency installation, STT/AI cleanup provider selection, API key
management, and first-run launch. Includes README, LICENSE (MIT),
CHANGELOG, .gitignore, ShellCheck CI, issue templates, PR template,
and GitHub setup guide.

https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm
2026-03-25 12:57:53 +00:00
Outis abf5062779 Delete LICENSE 2026-03-25 08:46:43 -04:00
Outis 2ac2c47fe7 Delete setup-voxd-ptt.sh 2026-03-25 08:46:30 -04:00
Outis e1f0a0b014 Add files via upload 2026-03-24 20:16:03 -04:00
Outis 936ecc6a66 Initial commit 2026-03-24 20:15:32 -04:00