JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q42910F
  • License MIT

Voice dictation for the terminal.

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 dikt

    Requires sox for audio recording:

    # macOS
    brew install sox
    
    # Ubuntu/Debian
    sudo apt install sox
    
    # Arch
    sudo pacman -S sox

    Setup

    On first run, dikt will prompt you for your Mistral API key and model preferences:

    dikt setup

    Config is stored in ~/.config/dikt/config.json.

    Usage

    dikt

    This 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 update

    Single-shot mode

    # Print transcript to stdout
    dikt -q
    
    # Output JSON
    dikt --json
    
    # Pipe to another tool
    dikt -q | claude

    Environment 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