Sada (صدى) is an Arabic-first, fully offline speech-to-text desktop app for Windows, and an
independent fork of Vibe v3.2.2 (MIT). It is a Tauri 2
desktop app (React 19 frontend, Rust shell) around the upstream vibe-server sidecar
(whisper.cpp).
| Path | What it is |
|---|---|
desktop/ |
The app: React 19 + Vite frontend, Tauri shell under desktop/src-tauri/, icons and fonts |
i18n/desktop/ |
UI catalogues; ar-IQ.json is the Arabic-first catalogue (704 keys, must stay complete) |
server/ |
vibe-server engine (upstream Rust code around whisper.cpp); the fork's only change is the loopback Host/Origin request guard (see Security), and the release workflow builds it from source |
docs/ |
Architecture, building, verification, licences, release notes, upstream delta, MCP guide, Voicebox review |
site/ |
Static bilingual landing page deployed to GitHub Pages (includes llms.txt for agents) |
.github/workflows/ |
ci.yml (build + tests), release.yml (tag → Windows installer + GitHub release), pages.yml |
chore setup x86_64-pc-windows-msvc # fetch pinned vibe-server + ffmpeg sidecars (not in git)
cd desktop
pnpm install
pnpm test # vitest, 31 files / 193 tests at release time
pnpm build # paraglide compile → tsc → vite build
pnpm exec tauri build # NSIS installer under target/release/bundle/nsis/CI runs pnpm install --frozen-lockfile, pnpm build and pnpm test on every push and PR.
Do not add a model to the repository: *.bin is ignored and models are downloaded by users.
The MCP server lives in Rust and must keep working headlessly: Sada.exe --mcp is handled
before any Tauri setup, speaks JSON-RPC over stdin/stdout, and must never open a port or touch the
GUI. It is covered by cargo test --release (the mcp:: and arabic:: modules). Keep the agent
skill text in desktop/src/lib/skill.ts in sync when tool names or registration steps change.
- Arabic-first defaults stay the default for a fresh profile: no stored language ⇒ display
ar-IQ, transcriptionar, translation off, RTL, Arabic typography. Every window (including the hidden meeting-prompt window) must use the sharedDEFAULT_DISPLAY_LANGUAGE. - No telemetry, updater, account or phone relay may be reintroduced. Analytics is a no-op module; the updater provider always reports no update; the phone handoff UI stays unreachable.
- No hard-coded UI strings: text goes through paraglide catalogues.
en-USis the base locale; the app still opensar-IQbecause the boot config defaults to it. - Attribution stays: MIT copyright of Vibe,
NOTICE,THIRD-PARTY-NOTICES.md, Settings → About "built on Vibe". The Sada name and icon are this fork's own. - Bundled FFmpeg is GPLv3: never relicense Sada as GPL; keep the notices and the source offer before distributing a build.
- Bump
desktop/src-tauri/tauri.conf.jsonversion (anddesktop/src-tauri/Cargo.toml). - Write bilingual notes in
docs/releases/v<version>.md(the release workflow requires the file). - Commit, tag
v<version>, push the tag. The Release workflow builds on Windows, rebuilds the engine fromserver/so the installer ships the guarded sidecar, builds the offline-WebView2 variant then the default installer, and creates the GitHub release with both assets,SHA256SUMS.txt, licence and notices. No manual upload. Code signing is wired but dormant until the repository variableSIGNING_ENABLEDistrue(see Code signing).
site/ is deployed by the Deploy site workflow to https://alshahia.github.io/sada/. Keep
site/llms.txt, root llms.txt, site/robots.txt, site/sitemap.xml and the JSON-LD blocks
inside both index.html files in sync with the repository facts (version, links, limitations).
- README English · README Arabic
- Architecture · Building
- Models guide · Models guide in Arabic
- MCP guide · MCP guide in Arabic
- Upstream delta · Verification
- Voicebox review · Voicebox review in Arabic
- Models council · Models council in Arabic
- Model decisions (measured) · Read-aloud evidence
- Roadmap · P4 plan · P5 plan · Changelog
- Translations · Privacy · Security
- Clean-machine acceptance · Production readiness · Code signing
- Release notes · Third-party notices
- Tasks:
chore— seechore list - JS:
pnpmonly; Python:uvstandalone scripts (uv run)
Plan validation scripts: plans/<name>/<name>_001.py (+ .md), standalone uv scripts.
Custom skills live in .claude/skills/<name>/SKILL.md.
Agent mode: parallel moves, instant iteration, speed by default. Split heavy work until obvious. Estimate by output size — 300 lines = minutes. Correct over easy: rework is slower than doing it right once. Plan resolved → execute, don't re-analyze.
Split large work across ~4–5 subagents, one disjoint module-group each — no shared files; only the coordinator touches shared/root config. Fix contracts (interfaces, design docs) up front.
700 lines max. Split by responsibility into halves — find where the file does two jobs and move one out whole. Keep the public API where callers expect it; move tests with their code.