barg

sallar

A free macOS app that converts scanned or digital Persian PDF books into right-to-left EPUB e-books.

SwiftCreated

What is sallar/barg?

Barg is a free, MIT-licensed macOS SwiftUI application that converts scanned or digital Persian PDF books into reflowable right-to-left EPUB e-books. Because output text reflows cleanly, readers can adjust font sizes, search, highlight, and take notes in Apple Books or other e-readers.

The app requires a Mac with Apple Silicon (M1 or later) running macOS 15 or newer. On first launch, it asks to download the 20 MB Bina 0.4 Microscopy Persian OCR model, licensed under CC BY-NC 4.0 for non-commercial use. All document processing runs locally on the Mac without uploading books, converting a 120-page book in roughly 20 seconds while removing page numbers and headers, rebuilding chapters and footnotes, and running offline Persian spellcheck.

Barg works best on printed single-column books and does not yet support tables, two-column poetry, handwriting, or old manuscripts.

Before you startThe README says

Runs on
macOS 15 or later on Apple Silicon (M1 or later)
Needs
Downloads the 20 MB Bina 0.4 Microscopy model on first run
How you get it
Download the zip from GitHub Releases and drag to Applications
Not yet
Tables, two-column poetry, handwriting, and old manuscripts are not supported yet

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.