Plain-text README for the thumbdrive (open, print, edit, passphrase recovery), a maintenance guide for the owner (setup, updating, backups, passphrase custody, review, security clean-up) and a developer README. docs/thumbdrive mirrors the intended drive layout. Closes #7 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
# Final Wishes
|
|
|
|
An encrypted, printable "in the event of my death or incapacity" guide that
|
|
lives on a thumbdrive as a single HTML file. No install and no network are
|
|
needed to use it. See `PLAN.md` for the design and `docs/MAINTENANCE.md` to
|
|
run it.
|
|
|
|
## Develop
|
|
```
|
|
npm test # unit + build tests (Node 20+)
|
|
npm run build # app only -> dist/final-wishes.html
|
|
npm run seal # encrypt data/seed.json -> dist/
|
|
node build.js --data F.json --out PATH # custom input/output
|
|
```
|
|
The passphrase is prompted for (hidden) or read from `FW_PASSPHRASE`.
|
|
|
|
## Layout
|
|
- `src/crypto.js` passphrase encryption (PBKDF2 -> AES-256-GCM)
|
|
- `src/model.js` document schema and validation; `src/ops.js` edit helpers
|
|
- `src/print.js` print helpers; `src/app.js` + `src/style.css` the UI
|
|
- `src/template.js` the HTML skeleton shared by `build.js` and in-page Save
|
|
- `docs/thumbdrive/` what goes on the drive alongside the HTML file
|
|
|
|
## Never commit
|
|
`*.pdf` and `data/` hold real personal data and are git-ignored.
|