⚠️ EXPERIMENTAL WIP – Made with care but with AI. Expect bugs, breaking changes, and rough edges.
Try it now: pw.olicorne.org — no installation required.
- Features
- Quick Start
- Dictation Mode
- Local Model Fallback
- Remote Microphone (Phone as Mic)
- License
- Acknowledgments
Browser-based speech-to-text running entirely client-side using NVIDIA's Parakeet TDT 0.6B v3 model (converted to ONNX format by istupakov) via WebGPU/WASM.
| Feature | Details |
|---|---|
| 🔒 100% Private | Runs entirely in your browser — no audio ever leaves your device |
| ⚡ WebGPU Accelerated | Fast GPU inference with automatic WASM fallback for compatibility |
| 🎙️ Phone as Mic | Use your phone as a wireless microphone via end-to-end encrypted WebRTC |
| 📝 Dictation Mode | Post-processes transcriptions with regex rules (medical French vocabulary, punctuation, units) |
| 🕐 Word Timestamps | Per-word timestamps and confidence score heatmap |
| 📁 File or Mic | Transcribe uploaded audio files or record directly from your microphone |
| 📦 Quantization | Choose between fp32 (accurate) and int8 (faster/smaller) model variants |
| 📲 PWA | Installable as a Progressive Web App for an app-like experience |
| 🐳 Docker Ready | One-command self-hosted deployment |
# 1. Copy the example env file and edit it with your own values
cp docker/env.example docker/.env
# 2. Run the demo locally with Docker
sudo docker compose -f docker/docker-compose.yml up- Then visit
http://localhost:5173
Parakeet Web includes an experimental dictation mode that post-processes transcriptions using regex rules to clean up spoken punctuation, medical vocabulary, and unit abbreviations. This is especially useful for French medical dictation.
The regex rules are sourced from the murmure-regex repository by the non-profit interhop.org, originally created for the Murmure software. A single combined CSV file is automatically downloaded on container startup.
The rules are in French and cover categories like punctuation, unit abbreviations, clinical exam templates, medication name corrections, and medical vocabulary corrections.
This feature is very early and will improve rapidly.
- Docker: The entrypoint script downloads the single combined
regex.csvfile from the murmure-regex repository on every container start. - Frontend: The app loads the CSV rules at startup via a manifest file and applies them as JavaScript
RegExpreplacements. After regex processing, each line is stripped of leading/trailing whitespace and its first letter is capitalized. Three display modes are available per transcription: Raw, Confidence (heatmap), and Dictation (regex-cleaned). - Custom regex source: Set the
DICTATION_REGEX_SOURCEenvironment variable to override the default Murmure URL. This can be a GitLab-compatible repo URL (e.g.https://framagit.org/interhop/murmure-regex) or a local folder path containing CSV regex files (e.g./path/to/my/regex-csvs). This allows you to iterate on regex rules locally without waiting for upstream changes.
No local microphone? Use your phone as a wireless mic via WebRTC. Audio is end-to-end encrypted (ECDH P-256 + AES-GCM-256) — the server only relays encrypted data and never sees the plaintext audio.
- Click the Phone Mic button in the app
- A QR code appears — scan it with your phone
- Grant microphone permission on the phone
- Verify the short code that appears on both screens matches — read it aloud or compare visually. If the codes differ, click Codes differ – abort on either device. This step defends against a malicious signaling server that could otherwise swap encryption keys to MITM the supposedly end-to-end channel.
- Speak — encrypted audio streams to the computer in real time
- Click Stop on either device — the audio is transcribed normally
If HuggingFace is blocked or unreachable in your environment, you can serve
model weights directly from the container. Pick any host folder, populate
it with the ONNX files, bind-mount it into the container, and set
LOCAL_MODEL_PATH to the matching in-container path:
# 1. Populate any host folder with the ONNX files (flat layout):
hf download istupakov/parakeet-tdt-0.6b-v3-onnx \
--local-dir /host/path/to/onnx-files# 2. In docker/docker-compose.yml, add a volume:
volumes:
- /host/path/to/onnx-files:/models:ro# 3. In docker/.env, set:
LOCAL_MODEL_PATH=/modelsCaddy serves whatever is at LOCAL_MODEL_PATH under /models/. Setting
LOCAL_MODEL_PATH automatically enables VITE_LOCAL_MODEL_FALLBACK. The
container crashes at startup if vocab.txt is missing, so
misconfigurations are caught early.
To troubleshoot the local-fallback path itself, set
VITE_FORCE_LOCAL_MODEL_FALLBACK=true — the UI will skip HuggingFace
entirely and load weights from /models/ on first try. Implies
VITE_LOCAL_MODEL_FALLBACK=true.
The container runs as UID 1000. If your files end up unreadable to UID
1000, run chmod -R a+rX /host/path/to/onnx-files (or
chown -R 1000:1000 /host/path/to/onnx-files).
- Local network only: works out of the box with no extra config (STUN-only / direct P2P).
- Over the internet: requires a coturn TURN relay. A commented-out coturn service is included in
docker/docker-compose.yml— uncomment it and setTURN_SERVER,TURN_SECRET, andTURN_EXTERNAL_IPindocker/.env. If you already run coturn (e.g. for WebSend or Nextcloud Talk), point to it and reuse the sameTURN_SECRET.
See docker/env.example for all configuration options.
Built with Claude Code.
Append ?debug=1 to any URL to load the in-page eruda
devtools — useful for inspecting console logs and network requests on a phone
where you cannot open desktop devtools. Eruda is vendored locally (served
from same-origin with SRI), so nothing is fetched from a CDN at runtime.
Examples:
- Main app:
https://your-host/?debug=1 - Remote-mic page:
https://your-host/remote-mic.html?debug=1#ROOMID:SECRET(the room info is in the hash fragment, so?debug=1goes before the#)
Without ?debug=1, no devtools surface is shipped to the user.
AGPLv3 – See LICENSE file
- ysdede/parakeet.js – Original project this is forked from
- nvidia/parakeet-tdt-0.6b-v3 – The underlying ASR model by NVIDIA
- istupakov/parakeet-tdt-0.6b-v3-onnx – ONNX conversion of the model
- istupakov/onnx-asr – Python reference implementation
- ONNX Runtime Web – Makes browser inference possible
This fork is based on ysdede/parakeet.js – all the heavy lifting and original implementation credit goes there. This would not exist without their excellent work.
