Lentera

Lentera is a native macOS app. It converts ACSM license files from Adobe into an EPUB file or a PDF file that the book provider supplies. Lentera is a local alternative to Adobe Digital Editions. You can read the books in the app that you usually use.

Features
- Batch conversion: Move one or many
.acsm files into the drop area. Lentera converts the files in sequence. If the conversion of one file fails, Lentera continues with the other files.
- EPUB or PDF: The provider selects the format. Lentera saves each file with the correct title and the author of the book.
- Local bookshelf: The bookshelf shows the covers of the converted books. You can search, filter, and sort the books. You can open a book, show it in Finder, change its data, or move it to the Trash.
- Send to Kindle: Right-click a book on the bookshelf and click Send to Kindle…. Lentera opens a Mail message to your Kindle email address with the book attached. Set the address in Settings. Files must be 50 MB or smaller.
- Missing file detection: Lentera marks a book when its file moves or is absent. Then you can remove the book from the bookshelf.
- Automatic updates: Lentera uses Sparkle to install updates.
- Data privacy: All conversions occur on your Mac. The libgourou tools in the app do the conversion. Lentera does not send a book file to a third-party server. Only Send to Kindle sends a book, and only when you select it.

Download
Download the latest Lentera-v<version>-macOS.dmg from the GitHub Releases page. Then do these steps:
- Open the DMG file.
- Move
Lentera.app to the Applications shortcut.
- Eject the DMG file.
- Open Lentera from Applications.
The release is for Apple Silicon Macs (M1 or later), macOS 14 or later. An internet connection is necessary to fulfill the license. This binary does not operate on Intel Macs.
The app has an ad-hoc signature. Apple did not notarize the app. If macOS blocks the app, open it one time. If you trust the download, go to System Settings > Privacy & Security > Open Anyway. Homebrew and a separate runtime program are not necessary for the release build.
You can also install the app with Homebrew. Homebrew installs the app without the Gatekeeper prompt. Homebrew downloads do not have a quarantine attribute.
brew install --cask alvinmr/tap/lentera
Use the full name of the cask. Homebrew 7 and later do not load a cask from a tap that you did not trust. When you type the full name, Homebrew trusts the cask.
Use
- Open Lentera.
- Click Convert.
- Click Choose Files…, or move one or more
.acsm files into the drop area. If you double-click an .acsm file in Finder, Lentera opens and adds the file to the queue.
- Select a destination folder if
Downloads is not the correct folder.
- Click Convert. Lentera converts the files in sequence. If the conversion of one file fails, Lentera continues with the other files. The provider selects EPUB or PDF for each file.
- Open Bookshelf to find the converted books. Click a book to open it. Right-click a book for more options.
You must have an ACSM file for a book that you can legally access. An ACSM file is a license message. It is not the book. During conversion, the provider and the Adobe services must supply the license.
Updates
Lentera uses Sparkle to install updates. To get an update, click Check for Updates… in the application menu. Sparkle signs the updates and verifies them. The app has an ad-hoc signature. Therefore, macOS can ask you to confirm the app after an update.
Build the app from source
Requirements
- macOS 14 or later
- Xcode 26 or later with Swift 6.2 or later
- CMake for the engine dependencies
- A libgourou source checkout, if the included vendor checkout is not prepared
Install CMake:
brew install cmake
Build the conversion engine and the app:
Scripts/build-engine.sh /path/to/libgourou
Scripts/build-app.sh
open build/Lentera.app
build-engine.sh first builds OpenSSL, curl, libzip, and pugixml from source. It builds these libraries for a macOS 14 deployment target. The build caches the results in the .engine-deps/ folder. Git ignores this folder. If you build the libraries against Homebrew bottles, the engine will use the macOS version of the build machine.
If the prepared Vendor/libgourou checkout is available, do not give the engine path:
Scripts/build-engine.sh
Scripts/build-app.sh
Run the tests with:
swift test
The build script also bundles the necessary dynamic libraries. It adds the Lentera app icon to the app. It signs the app with an ad-hoc signature for local use. Run Scripts/build-dmg.sh to create a compressed DMG in build/. The DMG has the version of the built app.
Maintainers can find the release steps in docs/RELEASING.md.
Troubleshooting
- “This ACSM file has expired.” ACSM files expire. Download a new copy from the book provider. Then try again.
- “This ACSM was already opened with another device or account.” Fulfill the license with the same authorization as before, or download a new ACSM file from the provider.
- “The Google Play device limit has been reached.” Remove an old device authorization in your Google Play Books settings. Then try again.
- “The book provider is rate limiting requests.” Wait 5 to 15 minutes. Then try again.
- The conversion is complete, but the file is not in the correct folder. Lentera saves the file in the folder that Save to shows. The default folder is
Downloads. The file has the title of the book. If a file with the same name is in the folder, Lentera adds 2, 3, and more to the name.
- macOS says the app cannot be verified. Open the app one time. Then allow it in System Settings > Privacy & Security. Apple did not notarize the app.
- The app does not operate on Intel Macs. The release binary is for Apple Silicon only. For other systems, build the app from the source.
- Where is my data? The anonymous Adobe device identity and the bookshelf metadata are in
~/Library/Application Support/Lentera. If you remove the app and this folder, you remove all the data that Lentera stores.
Privacy
Lentera processes book files on your Mac. Lentera uses libgourou to contact Adobe and the book provider. It does this to fulfill the ACSM license and to download the book. Lentera stores the anonymous device identity of the ADEPT system at ~/Library/Application Support/Lentera/adept. Therefore, a subsequent attempt can use the same device.
Third-party source
The repository includes the related libgourou and uPDFParser source and licenses in Vendor/libgourou.
Legal
The source of the app has an MIT license. See LICENSE. The conversion engine uses libgourou, which has an LGPL-3.0 license. The vendored source and the license are in Vendor/libgourou. The license is also in the app bundle. Use Lentera only for books that you can legally access. Use it only when local law permits the change of the file format.
评论