x86_64 Windows/Linux
Server (Rust)
Options — pick one
Section titled “Options — pick one”Best for a Linux server, homelab or VPS. Image lutgaru/sinsajo-server from Docker Hub, models/records persisted.
services: sinsajo-server: image: lutgaru/sinsajo-server:latest ports: ["8765:8765"] volumes: - sinsajo_models:/app/models - sinsajo_records:/app/records restart: unless-stoppedvolumes: sinsajo_models: sinsajo_records:docker compose up -dOr pin a tag: lutgaru/sinsajo-server:latest or server/v* tag. Pass args after image: ... lutgaru/sinsajo-server:latest --model Canary180M --autodownload-model.
Same image, single command without compose file:
docker pull lutgaru/sinsajo-server:latestdocker run -p 8765:8765 \ -v sinsajo_models:/app/models \ -v sinsajo_records:/app/records \ lutgaru/sinsajo-server:latest --model ParakeetTDT --autodownload-modelNo Docker, no Rust needed — download and run.
# From GitHub Releases -> server/v* assets:# - sinsajo-server (linux x86_64)# - sinsajo-server.exe (windows x86_64)./sinsajo-server --model ParakeetTDT --autodownload-model --port 8765# Windows PowerShell: .\sinsajo-server.exe --model ParakeetTDT --autodownload-model# Custom dirs: --model-dir ./models --records-dir ./recordsGet it at server-latest. No compilation for x86_64 Windows/Linux.
CLI args:
| Arg | Default | Description |
|---|---|---|
--model |
prompt | Model flag (see Models below; e.g. ParakeetTDT, Canary180M, Canary1BV2, WhisperSmall) |
--autodownload-model |
false |
Auto-download if missing |
--port |
8765 |
WebSocket port |
--model-dir |
./models |
Model storage |
--records-dir |
./records |
WAV/OGG output |
For any architecture meeting minimum requirements (Rust 1.70+, ~500MB RAM for Int8, ~2–3GB disk for model).
git clone https://github.com/lutgaru/Sinsajo.gitcd Sinsajo/servercargo run --release -- --model ParakeetTDT --autodownload-model# orcargo build --release && ./target/release/sinsajo-server --helpAdd new models as a module under server/src/model/ implementing the Model trait plus a ModelDefinition entry. If --model is omitted it reads sinsajo-config.json, then prompts.
Available: see Supported Models for the full list. The default build is ONNX-only; Whisper needs --features whisper-cpp and Whisperfile needs --features whisperfile:
cargo run --release --features whisper-cpp -- --model WhisperSmall --autodownload-modelcargo run --release --features whisperfile -- --model WhisperfileSmall --autodownload-modelAn unknown --model name prints the flags compiled into your binary plus rebuild hints for feature-gated models.
Models
Section titled “Models”The server ships the full local transcribe-rs registry — Parakeet, Canary (180M/1B Flash/1B v2), Cohere (int4/int8), SenseVoice, GigaAM, Moonshine (+ streaming), Whisper and Whisperfile. The OpenAI remote engine is intentionally excluded: Sinsajo is 100% offline.
See Supported Models for flags, languages, download sources, manual-install models and feature gates.
Auto-download handles first-run downloads (HuggingFace single files, or mirror tarballs for Moonshine/SenseVoice/Whisperfile). Subsequent starts ~2–3s. Override dirs with --model-dir / --records-dir. A .sinsajo_manifest.json per model tracks installed files so partial downloads are detected.
Feature-gated builds
Section titled “Feature-gated builds”Whisper and Whisperfile are compiled out of the default binary to keep it lightweight:
# Build with one backendcargo build --release --features whisper-cpp
# Both backendscargo build --release --features "whisper-cpp whisperfile"
# Dockerdocker build --build-arg FEATURES=whisper-cpp -t sinsajo-server:whisper .The published Docker image and precompiled binaries are ONNX-only. WhisperfileSmall also starts a local HTTP server on port 8080 (WHISPERFILE_PORT overrides it).
Runtime model manager
Section titled “Runtime model manager”Clients can switch models without restarting the server. The Settings → Server → Model manager section lists every compiled model, marks installed/active entries, and supports:
- Download — fetch a missing model with per-file and aggregate progress
- Load / Reload — swap the active model in memory
- Delete — remove an installed model (the active model cannot be deleted)
Only one model operation runs at a time. Loading a model broadcasts the new model_info and saves the choice to sinsajo-config.json. The raw messages are documented in Protocol → Model manager.
GPU acceleration
Section titled “GPU acceleration”use transcribe_rs::{set_ort_accelerator, OrtAccelerator};set_ort_accelerator(OrtAccelerator::Cuda); // or AutoTranslation
Section titled “Translation”Canary supports target_language from client start message (Flash: en/de/es/fr; v2: 25 languages). Server forwards to transcribe_with:
model.transcribe_with(&samples, &CanaryParams { language: Some("es".to_string()), target_language: Some("en".to_string()), ..Default::default()})?;Parakeet is English-only and ignores the target language; Whisper/Whisperfile use it as the language hint. See Protocol.
Persistence
Section titled “Persistence”- Models:
models/(or--model-dir), one subdirectory per model - Recordings:
records/(WAV/OGG, triggered by clientclean) - Config:
sinsajo-config.json(last chosen or loaded model)
Deployment
Section titled “Deployment”The server is not deployed to GitHub Pages (static). Run it on your LAN, VPS, fly.io / Railway, etc. with Docker or a binary. Expose 8765 and point clients to ws://YOUR_IP:8765 or wss:// behind a reverse proxy (Caddy/Nginx). For remote access consider Tailscale/WireGuard.
Other arch
Linux server