Skip to Content
Almetia Docs

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 start

To 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:mac

Capabilities

  • 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.txt by SHA-256 hash and uploads new highlights idempotently.
  • Kindle Cloud Sync: Opens an isolated on-device persist:kindle Electron session at https://read.amazon.com/notebook without ever transmitting Amazon credentials to Almetia servers.
  • Global focus shortcut: Press Command+Shift+K to bring Almetia to the front.

On this page