Persian Reading & Listening Assistant by Farsio
Persian-first web reading, translation, summarization and text-to-speech workflows.
بشنو، به فارسی
AvaYar (آوایار) is a Persian-first reading and listening product from Farsio - فارسیو.
The product direction is to help Persian-speaking users consume web content by extracting the main content, translating non-Persian text into fluent Persian when needed, optionally summarizing it, and reading the Persian result aloud.
AvaYar is currently an engineering foundation, not a production release. The repository contains the executable M2 browser shell, tests, build tooling and documented provider boundaries.
| Area | Current state |
|---|---|
| Product | Discovery / Pre-MVP |
| Engineering milestone | M2 — executable foundation |
| Repository visibility | Public |
| Package version | 0.2.0 |
| Node.js | >=22 |
| Public product release | Not yet |
| Production | Not launched |
| Browser Store publication | Not part of the current M2 milestone |
The current repository state intentionally distinguishes implemented capabilities from future product claims.
The M2 executable foundation currently includes:
- Persian text input.
- Persian/non-Persian language detection using a lightweight heuristic.
- Full-text Persian listening flow.
- Deterministic local summary mode.
- Browser speech playback through the Web Speech API when speech synthesis is available.
- Play, pause, resume and stop controls.
- Playback-rate control.
- Build, lint, unit-test and smoke-test tooling.
- GitHub Actions validation.
AvaYar does not present unfinished capabilities as complete:
- Production-grade non-Persian → Persian translation is not connected yet; the provider boundary is explicit.
- Automatic extraction from arbitrary external webpages is not connected to the standalone M2 shell yet.
- Browser Web Speech APIs do not provide standardized voice-gender metadata, so a guaranteed male/female Persian voice pair is not claimed.
- M2 is the first executable foundation, not the complete AvaYar MVP.
See M2 MVP status for the evidence-backed capability matrix.
M2 uses small ES modules with no third-party runtime dependency:
src/
├── app.mjs
├── core/
│ ├── language.mjs
│ ├── pipeline.mjs
│ └── summary.mjs
└── providers/
├── browser-speech.mjs
└── unconfigured-translation.mjs
Supporting engineering surfaces include:
scripts/— development, lint, build and smoke tooling.test/— Node built-in tests..github/workflows/ci.yml— continuous validation.docs/ava/m2/— architecture, check evidence and current MVP status.
Requirements:
Node.js >= 22
Run the complete repository check:
npm run checkThe check pipeline is defined as:
lint → test → build → smoke
For the product-specific PowerShell gate:
pwsh -NoProfile -ExecutionPolicy Bypass -File .\scripts\Test-Product.ps1AvaYar is designed around explicit security boundaries:
- No API keys, tokens or credentials belong in source control.
- Sending webpage text to external AI/TTS providers requires clear user consent and privacy disclosure.
- Browser permissions should remain minimal and justified.
- Dynamic content must use safe DOM handling rather than unsafe HTML injection.
- Sensitive page content and credentials must not be logged.
- External network paths require HTTPS and controlled error handling.
See Security Baseline.
The next implementation work should focus on evidence-backed product capabilities:
- Connect production-grade translation/provider boundaries.
- Connect webpage content extraction to the tested pipeline.
- Preserve the existing privacy and permission model.
- Validate Persian speech behavior across supported browser environments.
- Advance toward a private beta only after the relevant product/security gates pass.
- Parent brand: Farsio - فارسیو
- Product: AvaYar · آوایار
- Product line: Persian Reading & Listening Assistant by Farsio
- Tagline: بشنو، به فارسی
- Canonical brand mark:
assets/brand/avayar-flat.svg - Product page: https://farsio.ir/fa/products/avayar
- Repository: https://github.com/FarsioIR/AvaYar
AvaYar is developed openly as part of the Farsio product family.