macOS Desktop App
Local SQLite mirror, Kindle USB clippings watcher, and on-device Kindle Cloud sync.
The Almetia macOS Desktop app (apps/desktop) wraps the Web Portal in Electron alongside an authenticated loopback companion server backed by local SQLite (node:sqlite).
Run or package
ALMETIA_API_URL=https://api.almetia.com \
ALMETIA_API_TOKEN=alm_pat_your_token \
bun run --cwd apps/desktop startTo build a signed macOS .app bundle and .zip archive:
ALMETIA_MAC_SIGN_IDENTITY="Developer ID Application: Comonad Limited (2NXKTJVY86)" \
bun run --cwd apps/desktop package:macCapabilities
- Loopback companion security: Generates a random per-launch Bearer token for local IPC and companion routes (
/status,/sync/now,/local/documents,/local/highlights,/quick-capture). - Kindle USB watcher: Detects changes in
/Volumes/Kindle/documents/My Clippings.txtby SHA-256 hash and uploads new highlights idempotently. - Kindle Cloud Sync: Opens an isolated on-device
persist:kindleElectron session athttps://read.amazon.com/notebookwithout ever transmitting Amazon credentials to Almetia servers. - Global focus shortcut: Press
Command+Shift+Kto bring Almetia to the front.