What HandoutLens is
HandoutLens is a static website: HTML, CSS and JavaScript served to your browser. There is no HandoutLens application server, database or account system, so there is nowhere for us to receive or store your documents.
Your documents
- Text you paste or upload is held in memory in this browser tab and is gone when you close it.
- Uploaded .txt, .docx and PDF files are read in the browser (mammoth and pdf.js). They are not uploaded.
- Readability scoring, jargon detection, the identifier scan, the fact-preservation check, the diff and all exports (print, PDF, .docx, copy) run locally.
- History is off by default. If you turn it on, documents you save are stored only in this browser’s IndexedDB. Turning history off deletes them; you can also delete items or clear all at any time.
AI requests
Only when you press Rewrite or Translate does your browser send the document text to the AI provider selected in Settings (Anthropic, OpenAI, Google Gemini, OpenRouter, or a local Ollama server). The request goes directly from your browser to that provider and is governed by your agreement with them. Check whether your organisation allows the content you send; HandoutLens is meant for handout templates, not patient records.
Before every AI request HandoutLens scans the text for likely patient identifiers and asks you to remove them, with one-click redaction. The scan is a safety net, not a guarantee; you remain responsible for what you send.
API keys
Keys are encrypted with AES-GCM (256-bit) using a random device key generated by Web Crypto and stored as a non-extractable key in IndexedDB. The ciphertext is kept in localStorage. Page scripts can use the device key but cannot read its bytes. Removing all keys destroys the device key.
What is stored in your browser
- Preferences (provider, model, target grade, 3D setting, history on/off) in localStorage.
- Your colour theme in localStorage.
- Encrypted API keys, as above.
- Saved history, only if you turn it on.
No tracking
No analytics, advertising, cookies or third-party trackers. Fonts are bundled with the site. The Content Security Policy only allows network connections to this site and the AI provider endpoints.
Hosting
The hosting provider serving these static files may keep standard web server logs (IP address, time, requested page). Those logs never contain document text, because documents are never sent to the host.
Contact
Questions or concerns: open an issue at github.com/drmedhealth/handoutlens. Please do not include patient information in issues.