MN://WORK/stoa
STOA
A 12-week Stoicism course in Brazilian Portuguese that runs entirely in the browser and keeps every note on the reader’s own device.
- Vanilla JS
- PWA
- Service Worker
- Cloudflare Workers
$ trace "stoa"
- lesson
- practice
- journal
- browser-only progress
The problem
A reflective journal is among the most private writing a person does, so a course that asks for one inherits that responsibility from the first entry. Stoicism also loses most of its meaning as a decontextualised quote: the practice only holds up with the argument underneath it.
The constraint
No account, no backend, no analytics, no cookie: a journal entry must never leave the device. The course still has to work offline, and no claim may promise clinical benefit.
The approach
36 self-contained lessons, each with a narrative opening, taught prose, an explanatory diagram and a retention summary; 14 exercises, each carrying an explicit warning about misuse; every historical claim graded in a sources ledger separating established history from conceptual parallel from early empirical evidence. No framework and no build step — progress lives in localStorage and a versioned service worker serves the whole course offline.
The outcome
A course that teaches on its own and asks nothing of the reader: no login, no cloud, no tracking. Every deploy is gated by offline invariants plus a browser suite that exercises the real site. The import validator alone carries ten refusal cases — it once accepted a foreign JSON file and wiped a reader’s progress while reporting success, and three review rounds each found another way through before the rule was rewritten as a requirement instead of a signature.
Next route
Open another project
The index is the wider system.