Skip to main content

Crate whisrs

Crate whisrs 

Source
Expand description

whisrs — shared types for CLI and daemon communication.

Re-exports§

pub use service::RestartOutcome;
pub use config::types::*;
pub use ipc::*;

Modules§

audio
Audio capture and recovery.
config
Configuration management and interactive setup for whisrs.
history
Transcription history — append-only JSONL storage.
hooks
Hooks fired when a recording session starts/stops. Driven by the state broadcast channel (see [crate::daemon::hooks::hook_dispatch_loop]).
hotkey
Global hotkey listener via evdev input devices.
ipc
IPC protocol: CLI↔daemon commands, responses, socket path, and wire framing.
llm
LLM integration for command mode and [[llm_commands]].
mpris
Native MPRIS v2 pause/resume over the session D-Bus. Every player (browsers, Spotify, VLC, MPV, KDE Connect) registers as org.mpris.MediaPlayer2.*, so the session bus is the integration.
overlay
Bottom-screen recording overlay.
service
Init-system abstraction for controlling the whisrs user service.
state
Daemon state machine.
transcription
Transcription backends: trait definition and implementations.
tray
System tray indicator via StatusNotifierItem (KDE/freedesktop SNI protocol).
tts
Text-to-speech backends: trait definition and implementations.
window
Window tracking: detect focused window and restore focus.

Enums§

WhisrsError