Logging and encryption
One page, written so a technical reader can check each claim against the code in functions/api/margin.js, app/vault.js and db/server.sql.
What stays on your device
Highlights, notes, margin threads, Memory cards and reading settings are stored in your browser. The Bible text is a static file. Nothing in the reader needs an account.
What a Margin question sends
The verse IDs and text you selected, your question, and up to six earlier messages from the same thread. It goes to our stateless proxy and on to the model provider. It is not stored by the proxy.
Logging
- The proxy never writes request bodies, prompts, notes or answers to logs. Errors are returned as short codes.
- No error tracker or analytics script is loaded in the app. If one is added, it must scrub request payloads before they leave the handler.
- The only server state is a cache of answers to the three starter prompts (they contain no text from you) and a per-device daily question counter keyed by a random id.
Model provider
The proxy is written to use an API key under a zero-data-retention agreement. That is a contract setting you must confirm on your account. This repository cannot prove it.
Encryption
Encrypted backups use AES-256-GCM with a key derived from your passphrase (PBKDF2-SHA256, 600,000 iterations) in your browser. The server schema for sync stores only ciphertext and a nonce. Cloud sync is not enabled in this build.
Reading sessions (off unless you turn them on)
If you opt in, the app sends a random ID that rotates every 30 days, the text edition and the chapter you open (for example JHN.3), and the day. No name, email, IP address, user agent, typed text, notes or questions are stored. It is used only to suggest related articles on this site. Browsers that send Do Not Track or Global Privacy Control are skipped. Raw records are deleted after 90 days. Turn it off, or delete your history, in Study under Privacy and data.
Voice reading
Voice reading (Pro) sends the chapter text you choose to ElevenLabs to make audio. We send no name, notes or questions, and do not store the audio.
Payments
Pro payments are handled by Stripe Checkout. We never see or store your card. Billing is not active in this build.
Deleting data
Study, then Privacy vault, then Wipe all data on this device. Local-only mode turns off all network calls for Margin.