You are not logged in.

#1 Today 09:12:37

derblub
Member
From: /dev/null
Registered: 2011-04-25
Posts: 45
Website

[AUR] dictate: live local dictation for the niri compositor (whisper.c

dictate is now in the AUR: https://aur.archlinux.org/packages/dictate
Source: https://github.com/derblub/dictate (GPL-3.0-or-later)

What it does: hold a key, speak, and the text lands in the focused field. An overlay shows the words while you talk; speech recognition runs locally with whisper.cpp on an NVIDIA GPU, no audio leaves the machine. Optional extras (AI post-processing with your own key, text actions, a command palette, a read-only diagnosis) are documented in the README.

Packaging notes:

  • Built from the v0.1.0 release tarball with Arch's current Rust (cargo fetch --locked, --frozen builds, check() runs the mock test suite).

  • CUDA comes from the cuda and nvidia-utils packages; the package ships no NVIDIA files.

  • whisper.cpp is built for ggml's default GPU architectures, so the build needs no GPU. Setting CMAKE_CUDA_ARCHITECTURES=86 (or your card's value) before building is much faster.

  • Installs the user units dictate.service and dictate-ui.service (not enabled) and /usr/share/dictate/dictate-binds.kdl to include from your niri config.

Requirements: niri, an NVIDIA GPU, PipeWire or PulseAudio, GTK 4 and gtk4-layer-shell, membership in the input group (dictate only queries which keys are held with EVIOCGKEY, it never reads key presses).

Comments on the PKGBUILD are welcome on the AUR page.

Offline

Board footer

Powered by FluxBB