zhengjim/WhisprRT
About
Local-first real-time speech-to-text & AI meeting notes workbench (Whisper / MLX / faster-whisper). 100% 本地离线实时语音转写与 AI 会议纪要工作台:支持双音源说话人标注、离线文件转写、Ollama / OpenAI / Anthropic 流式纪要。
Productivity & AutomationMeasured star growth
- in 24h
- Collecting history
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
OriginalWhisprRT
简体中文 | English
Local real-time speech-to-text & meeting notes workbench. Capture microphone and computer audio directly in your browser, or drop local audio/video files for offline transcription—built for meetings, lectures, interviews, and daily voice notes with full privacy.
WhisprRT runs Whisper locally on your machine (MLX Metal GPU on Apple Silicon; faster-whisper with CUDA/CPU on Windows, Linux, and Intel Mac). Once dependencies and model weights are ready, transcription runs 100% offline, and you can optionally pair it with local Ollama / LM Studio or any OpenAI / Anthropic compatible AI gateway for real-time streaming meeting summaries.

Key Features
- Real-time Streaming, Pause/Resume & Live Mute: Live tentative captions refine into confirmed transcript segments. Pause/resume at any time and toggle microphone or computer audio on/off mid-recording without interrupting the session.
- Dual Audio Sources & Automatic Speaker Tagging: Capture both your microphone and computer audio (BlackHole / VB-CABLE) with energy-based
[我]/[对方]speaker labels, real-time level meters, hot device refresh, and automatic non-16kHz resampling. - Offline Audio/Video File Transcription: Click Import or drag-and-drop
.mp3,.wav,.m4a,.mp4,.flac,.ogg,.webm, etc. with live progress updates. - Custom Hotwords & Persistent Preferences: Provide domain terms or names to improve recognition accuracy. Model, language, hotwords, and local AI settings persist in
~/.whisprrt/settings.json(0600permissions, masked API key). - AI Meeting Summaries (OpenAI & Anthropic Gateways · SSE Streaming): Built-in Meeting Notes, Key Takeaways, and Text Polish presets for local Ollama / LM Studio or any OpenAI (
chat/completions) / Anthropic (messages) compatible gateway—with model discovery, real-time SSE streaming, abort control, persistent per-session storage, and Markdown export. - Local SQLite Archive, New Recording & Multi-format Export: Every session is automatically saved to
~/.whisprrt/whisprrt.dbwith one-click New Recording, full-text search across titles/transcripts/summaries, renaming, click-to-edit typo correction, and in-memory export to TXT / Markdown / SRT / JSON. - In-Transcript Search, Dark Mode & Shortcuts: Instant
Ctrl/⌘ + Khighlighted search & jump, light/dark theme toggle, and keyboard shortcuts (Space/Alt+R,Alt+M,Alt+S,Alt+A,Alt+H,Esc). - Background Model Warmup & Cache Manager: Open the UI immediately while weights load in the background, inspect local cache sizes, and safely clean unused models.
- CLI Offline File Transcription & Health Check: Run
whisprrt transcribe meeting.mp4 -f srt -o meeting.srtfrom the terminal, plusGET /healthfor liveness monitoring. - Multilingual Hallucination Suppression: Combines VAD, overlapping sliding windows, and Chinese/English subtitle hallucination & runaway loop filtering.
Screenshots
| Dark Mode & In-Transcript Search | Local AI Meeting Summary (Streaming) |
|---|---|
![]() |
![]() |
Quick Start
Requirements
- macOS, Windows, or Linux with Python 3.13+
- uv recommended for environment management
- Native
arm64Python on Apple Silicon Mac for MLX Metal GPU acceleration
Install & Run
git clone https://github.com/zhengjim/WhisprRT.git
cd WhisprRT
uv sync
uv run whisprrt --open
The app starts on http://127.0.0.1:8000 by default (loopback-only for privacy). Common CLI commands:
# Check version
uv run whisprrt --version
# Custom port, model, language, or Hugging Face mirror
uv run whisprrt --port 8000 --model small --language zh --hf-mirror https://hf-mirror.com --open
# Offline CLI transcription for local audio/video files (txt / md / srt / json)
uv run whisprrt transcribe meeting.mp4 --model small -f srt -o meeting.srt
To bind on a LAN interface explicitly, pass --host 0.0.0.0 (or set WHISPRRT_HOST / WHISPRRT_PORT). Health check is available at GET /health.
AI Meeting Summaries (Optional)
- For local models, install and start Ollama (e.g.
ollama pull qwen2.5:7b) or LM Studio; or prepare any OpenAI / Anthropic compatible AI gateway URL & API key. - Click AI 纪要 in the transcript toolbar and expand AI 网关 / 接口配置.
- Choose the protocol (
openai-chatoranthropic-messages), or use the Ollama / LM Studio / Anthropic quick presets, then click 探测模型 to discover available models and save (auto-collapses upon saving). - Choose a preset and click 生成纪要 for real-time streaming generation. Summaries persist automatically alongside each SQLite history session and are searchable in history.
Development & Tests
uv run python -m unittest discover -s tests -v
node --test tests/test_frontend_segments.js
Contributing & License
- See CONTRIBUTING.md for guidelines and CHANGELOG.md for release history.
- Released under the MIT License.
Explore related projects
Loading…

