Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dikt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
dikt
Voice dictation for the terminal. Record, transcribe, copy — zero npm dependencies.
Uses Mistral's Voxtral for speech-to-text.
Install
npm install -g diktRequires sox for audio recording:
# macOS
brew install sox
# Ubuntu/Debian
sudo apt install sox
# Arch
sudo pacman -S soxSetup
On first run, dikt will prompt you for your Mistral API key and model preferences:
dikt setupConfig is stored in ~/.config/dikt/config.json.
Usage
diktThis opens an interactive TUI where you can record, transcribe, and copy text.
Keys
| Key | Action |
|---|---|
Space |
Start / stop recording |
c / Enter |
Copy transcript to clipboard |
a |
Toggle auto-copy |
h |
Cycle through history |
r |
Re-transcribe last recording |
Esc |
Cancel recording |
s |
Re-run setup |
? |
Show keybindings |
q |
Quit |
Update
dikt updateSingle-shot mode
# Print transcript to stdout
dikt -q
# Output JSON
dikt --json
# Pipe to another tool
dikt -q | claudeEnvironment variables
| Variable | Description |
|---|---|
DIKT_API_KEY |
Override API key |
DIKT_MODEL |
Override model (default: voxtral-mini-latest) |
DIKT_LANGUAGE |
Override language (default: auto) |
DIKT_TEMPERATURE |
Override temperature |
DIKT_CONTEXT_BIAS |
Override context bias |
License
MIT