Your records,
kept whole.
Nidhi is a record vault: notes, logs and ledgers in one place, linked to each other, sitting in a single HTML file on your disk. Nothing is uploaded. Nothing phones home.
Works from a USB stick. No install, no build, no server.
Live now at drsamonline.github.io/NIDHI/play
Six rooms, one habit
Every record belongs somewhere. The folders are fixed because a vault you have to design is a vault you stop using.
inbox
Whatever arrives before you have decided where it lives.
notes
Reading, thinking, the long version of a thought.
learning
Each record becomes a flashcard; SM-2 decides what is due.
finance
Double-entry. A transaction that does not balance cannot be posted.
health
A dated timeline with a severity trend, oldest first.
relationships
People, what was said, what to follow up.
What it actually does
Four views over one store of records. Everything below is in the app today and covered by a check in CLAIMS.md.
Records that link to each other
Type [[Another record]] and the link is live. Backlinks are computed both ways, and a link to something that does not exist is shown as missing rather than quietly dropped.
- Ranked search as you type, over titles, text and tags
- Six folders, tags, created and updated times
- Seal a record with a passphrase — the plaintext leaves the disk
Tags, selection, and a way back
Tags are a filter row, ranked by how many records carry them. Select several records and move them, tag them or delete them in one action — and the last of those can be undone for twelve seconds.
- Tag and folder and search combine, rather than replace each other
- Bulk edits go through the same rules as a single save
- Undo covers a move, a tag and a delete; a purge is the one thing it will not pretend to reverse
Review, on a schedule
Anything in the learning folder becomes a card: the title is the front, the text is the back. SM-2 decides when you see it again, and the schedule is stored on the record — so it survives export, import and merge.
- Again, Good, Easy — real SM-2 qualities, not decoration
- A new card is due immediately; a lapse resets the interval
- A daily cap so a backlog never becomes a wall
Money that has to balance
Double-entry bookkeeping, in integer paise. Every transaction writes both sides, and one that does not balance is refused — so the books cannot quietly drift by a rupee a month.
- Net worth is assets minus liabilities, computed, not typed
- Spend by account and a month table, in ₹ with Indian grouping
- A deleted transaction stops counting, but stays as a tombstone
A timeline you can read
Health records become a case-kit case: dated entries, tags as symptom tags, an optional severity from 1 to 5. The trend is drawn from the severities you actually recorded.
- Oldest first, because a history reads forwards
- A sealed record contributes its date, never its text
- Worst and average severity, computed over the real entries
What it will not claim
- It is not conflict-free.
- Two devices merge newest-wins, field by field. If you edit the same record on both at once you get the newer text and a line in the log, not a merge of both paragraphs. There is no CRDT here.
- It does not read receipts.
- No OCR, and no attachments at all yet. You type the figure into the ledger form. Both are on the roadmap.
- It is not quantum-resistant.
- AES-256-GCM with a passphrase, which is the right tool for a file on a disk. A post-quantum KEM solves a different problem — exchanging a key over a channel — and there is no channel here.
- It does not publish a test total.
- Every suite is counted separately, with the date it ran, in AUDIT_REPORT.md. Numbers from different suites are never added up.
Built from the fleet
Nidhi is the 188th repository in drsamonline and reuses it rather than reinventing it. Every kit below is vendored unmodified, with its licence.
| Kit | What it supplies |
|---|---|
| web-kit | Storage, theme, and English / Hindi / Gujarati |
| search-kit | The inverted index and tf-idf ranking behind search |
| ml-kit | tf-idf and cosine for the folder and tag suggestions |
| srs-kit | SM-2 scheduling for review |
| case-kit | The timeline and summary behind the health view |
| crypto-kit | AES-256-GCM and PBKDF2 for sealing a record |
| lan-kit | The room behind optional two-device sync |
Three ways to run it
No install step exists. Pick the one that matches how much you trust the browser.
download dist/index.html
double-click it
Everything inlined, 170 KB, works with the network off. Sealing is unavailable because a file:// page is not a secure context.
git clone …/NIDHI
python3 -m http.server 8080
Open localhost:8080/play/. Sealing works here, because localhost counts as secure.
node tools/sync-host.js --pin 4821
Then Sync in the app on both, pointing at the address the host prints. Nothing is stored by the host.
And it fits in a pocket
The same file on a phone: three rows of chrome, one column of records, touch targets you can hit. Add it to the home screen and it opens without a browser bar.
Chrome → menu → Add to Home screen
Safari → Share → Add to Home Screen