- vibe coded: shipped because it compiled
+ engineered: designed, reviewed, documented✅ Approved by human reviewers · All checks passed
T2 turns your speech into text in the app you're using. Hold Ctrl + Shift, speak, and let go: AssemblyAI's streaming API transcribes the recording, and t2 pastes the text into the focused app.
It runs on macOS 13 or later and on Linux, under X11 or Wayland. It doesn't run on Windows, nor under WSL, where keys typed into Windows never reach Linux.
curl -fsSL https://github.com/bezmoradi/t2/releases/latest/download/install.sh | shThe script runs on macOS and Linux, on amd64 and arm64, checks the archive's SHA-256, and installs t2 into ~/.local/bin. On Linux, t2 also needs a few tools for sound, the clipboard and pasting, and on Wayland the input group: Installation lists them, and covers installing somewhere else, updating and verifying the script first.
t2The first run asks for your AssemblyAI API key, which a free account at assemblyai.com gives you, and saves it to ~/.config/t2/config.json, readable by you only. Then hold Ctrl + Shift, speak, and let go: the text is pasted into the app you're in. Holds shorter than 0.4 seconds are ignored, and pressing any other key while you hold Ctrl + Shift cancels the recording.
- Installation: what the script checks, installing somewhere else, updating, verifying the script, and what macOS and Linux need.
- Usage: the API key, how a dictation works, pasting on each Linux desktop, saved recordings, and the commands.
- Development: building from source and cutting a release.
This project is maintained by Bez Moradi.
T2 is licensed under MIT.