HaujetZhao/CapsWriter-Offline

PC 端语音输入工具,离线识别,高准确率、低延迟,支持热词、LLM润色。按住CapsLock或鼠标侧键X2说话,松开自动上屏。

What it solves

CapsWriter-Offline provides a completely offline, low-latency voice-to-text input system for Windows. It eliminates reliance on internet connectivity for speech recognition, ensuring privacy and accessibility on secure computers while providing a seamless "push-to-talk" experience for typing.

How it works

The project uses a client-server architecture where a server handles the speech recognition models and a client manages the keyboard input. Users hold a specific key (like CapsLock) to record audio, which is then processed by an offline engine. It supports multiple ASR (Automatic Speech Recognition) engines including Paraformer, SenseVoice-Small, Fun-ASR-Nano, and Qwen3-ASR, utilizing ONNX and GGUF formats for efficient local execution with optional GPU acceleration via DirectML or Vulkan.

Who it’s for

Windows 10/11 users who need fast, private, and highly customizable offline voice typing and transcription tools.

Highlights

  • Push-to-Talk Input: Instant text entry upon releasing the CapsLock key or mouse side buttons.
  • Offline Transcription: Ability to drag and drop audio/video files to generate .srt, .txt, or .json subtitles and transcripts.
  • Customizable Vocabulary: Hotword replacement using phoneme-based fuzzy matching and regex-based rules for precise terminology.
  • LLM Integration: Pre-configured roles (e.g., polishing or assistant) that process recognized text when specific trigger names are detected.
  • Digital ITN: Automatic conversion of spoken numbers into formatted digits (e.g., "fifteen or sixteen" to "15~16").
  • Privacy-First: All audio recordings are saved locally as files, ensuring no data leaves the machine.

Related

  • Project
  • Project
  • Project
  • Project