Repository navigation
Sard v1.0.0 — First Public Release
Overview
Sard (Arabic سَرْد, "narration") is a desktop ebook reader for EPUB and PDF, built around a
single idea: a page resting on a desk, with nothing between you and it.
It exists because most readers treat Arabic as a localisation task — mirror the layout, swap the
strings, ship it — and the result is software where diacritics collide with the line above, search
misses a word because it carries a fatḥa, and justification tears holes in the text. Sard was
written the other way round: right-to-left is one of two directions the layout is built in from the
start, not a mode bolted on afterwards. That care then applies equally to English typography, to how
a panel opens, and to whether hiding a toolbar shifts the text underneath it.
Everything is local. There is no account, no sync service, and no telemetry. Your library, reading
positions, highlights and notes live in one SQLite file on your own machine.
Highlights
Reading
- EPUB with reflowable text — paginated or scrolled, RTL and LTR
- PDF viewed as-is, with a scrubbable page bar and copy-selection
- Per-script typography: separate Arabic and Latin faces, size, weight, leading, tracking,
paragraph spacing, first-line indent, alignment, margins and page width - Tashkīl you can show, dim or hide
- Immersive scrolling — toolbar, transport and scrollbar recede as you read in, and return when
you scroll back
Arabic, natively
- Full RTL mirroring of the entire interface, not just the text column
- Diacritic-insensitive search: «الليل» finds «اللَّيْلُ»
- Eastern-Arabic numerals throughout the Arabic interface
- Amiri, Noto Naskh Arabic and Aref Ruqaa bundled
Read-aloud
- Offline neural speech through a bundled Piper engine — no network, no account. Voices are
downloaded only when you ask for them, so the installer stays small. - Microsoft Edge neural voices over the network when you want them, with word-level timing
- Sentence spotlight and word-level tracking that follow the audio on the page
- An explicit ordered speed set, so 1.10× exists instead of being rounded away
- A transport that shrinks from a pill to a kashida — a tapered calligraphic stroke in the
bottom margin whose fill is your progress and whose bead is play/pause
Annotation
- Highlights in eight inks, tuned per theme so they lighten dark paper instead of blotting it
- Notes with titles and tags, in a centred editor built to be a quiet room
- References — a note bound to a word or phrase, marked wherever that phrase recurs by a twin
rule drawn beneath it, with colour, thickness and distance under your control - A cross-book inbox for every highlight and note you have ever made, filterable by colour, book,
tag and kind - Photo cards — turn a passage into a shareable image in five papers and four formats
Library
- Import files or a whole folder, with SHA-based deduplication
- Grid, list and shelf-row views; user-defined shelves; sort and filter
- Covers extracted from the book, or generated from its title when there is none
- Background customisation — your own image behind the library and around the reading desk,
with presence, blur, flip and focal point. The page itself stays opaque, so text is never over it.
Everywhere
- 16 themes, including Moonlit Sky with its own crescent, stars and cloud layer
- Spoiler-safe search — matches up to your position are shown in full; everything ahead is
sealed behind a count and revealed only if you ask - Full English and Arabic interface
- Keyboard-reachable controls with visible focus
Technical stack
| Layer | Technology |
|---|---|
| Shell | Tauri 2 — Rust core, system WebView, no bundled browser |
| Core | Rust |
| Interface | React 19 + TypeScript, built with Vite |
| Storage | SQLite via rusqlite |
| EPUB | foliate-js, vendored and pinned |
| PDF.js | |
| Speech | Piper · eSpeak NG · ONNX Runtime |
The application ships as a native binary. Because Tauri uses the system WebView rather than
embedding a browser, the installer is a fraction of the size an Electron equivalent would be.
What's included
Two installers for Windows 10 / 11 (x64):
| Asset | Use |
|---|---|
Sard_1.0.0_x64-setup.exe |
NSIS installer — the usual choice |
Sard_1.0.0_x64_en-US.msi |
MSI — for deployment tooling and managed environments |
Both contain the application, the offline read-aloud engine, all bundled fonts, and the full
licence texts for every third-party component. Piper voice models are not bundled — they are
downloaded on request, which is what keeps the download small.
WebView2 is preinstalled on current Windows; on older builds the installer will prompt for it.
Notes and known limitations
- The installers are not code-signed. Windows SmartScreen will warn on first run — choose
More info → Run anyway, or build from source if you prefer. - Windows only for now. macOS and Linux are on the roadmap.
- The in-app update check is inert in this build — it is wired up but has no manifest endpoint
yet, so it will never report an update. Watch the repository for releases instead. - PDF support is deliberately narrow: view-as-is with navigation and copy-selection. Themes,
reflow and annotation apply to EPUB, and Sard says so rather than pretending otherwise.
License
Sard is released under the GNU Affero General Public License v3.0.
You may use, study, modify and redistribute it, including commercially. What you may not do is
close it: any derivative you distribute, or run as a network service, must stay under the same
licence with its source available.
Bundled components keep their own terms — foliate-js (MIT), PDF.js (Apache-2.0), Piper (MIT),
eSpeak NG (GPL-3.0-or-later), ONNX Runtime (MIT), libtashkeel (MIT), and the eight bundled
typefaces (SIL OFL 1.1). Full attribution is in NOTICE,
and the complete licence texts ship beside the binaries they cover.
Support
Sard is developed independently and given away under a free licence. If it earns a place in your
reading, you can help fund the work that keeps it going:
Contributions go toward development time, code signing for the installers, and the hardware Sard is
tested on. There is no paid tier and no feature behind a paywall.
Acknowledgements
Sard stands on work other people gave away first.
foliate-js by John Factotum is the reading engine
— genuinely good software, and the reason Sard could concentrate on typography and reading
experience instead of on EPUB parsing. PDF.js by Mozilla
renders PDF. Piper by Michael Hansen makes offline neural
speech practical on a desktop, with eSpeak NG doing
the phonemisation, ONNX Runtime the inference, and
libtashkeel by Musharraf restoring Arabic diacritics.
Tauri made a small native binary possible.
And the type: Amiri (Khaled Hosny), Noto Naskh Arabic, Aref Ruqaa, IBM Plex Sans
and Plex Sans Arabic, Literata, Source Serif 4 and Inter — all released under the
SIL Open Font License, without which an Arabic-first reader would not have been possible at all.
Sard · سَرْد — a calm reader for every language.