Add images as a record field (drop, paste, import)
Images are downscaled, re-encoded and stored inside the encrypted document. Closes #10 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,8 @@ The passphrase is prompted for (hidden) or read from `FW_PASSPHRASE`.
|
||||
- `src/crypto.js` passphrase encryption (PBKDF2 -> AES-256-GCM)
|
||||
- `src/model.js` document schema and validation (sections, records, and the
|
||||
optional print `header`); `src/ops.js` edit helpers
|
||||
- `src/images.js` image-field helpers and the import pipeline (PNG/JPEG only,
|
||||
downscaled and re-encoded in the browser)
|
||||
- `src/print.js` print helpers (secret masking, header layout)
|
||||
- `src/app.js` + `src/style.css` the UI, including the Print header panel
|
||||
- `src/template.js` the HTML skeleton shared by `build.js` and in-page Save
|
||||
|
||||
Reference in New Issue
Block a user