Launched: Pain Tracker v1.0.0 (Open Source, Local-First, Trauma-Informed)
Source: Dev.to
For the last two months I’ve been documenting the engineering challenges of building a security‑first, offline‑first health app in public. You might have read my deep dives on:
Today the theory becomes reality: Pain Tracker v1.0.0 is officially live.
- Repo:
- Live App:
What We Shipped
This isn’t just a demo. It is a production‑ready Progressive Web App designed for people with chronic pain who need clinical‑grade data without sacrificing their privacy.
-
Zero‑Knowledge Architecture (as discussed in “No Backend, No Excuses”)
- Class A Data (Health): Encrypted with AES‑GCM; never leaves the device.
- Analytics: Minimal, privacy‑preserving, and opt‑in.
- Sync: None by default – you own the JSON.
-
Trauma‑Informed Design Principles
- Simplified UI.
- Removed non‑essential navigation.
- Increased contrast and button size.
-
Utility‑Focused Features
- Generates PDF reports formatted for WorkSafeBC and insurance claims, bridging patient experience and clinical requirements.
Technical Stack
- Core: React 18 + TypeScript + Vite
- State Management: Zustand + Immer (immutable state for safe undo/redo)
- Storage: IndexedDB (via
idb) - Validation: Zod (runtime schema validation)
- Testing: Vitest + Playwright (E2E testing for offline flows)
This release (v1.0.1) includes the new “Ritual” splash screen—a brutalist glitch effect that signals the transition into a secure, private environment.
Phase 2 Roadmap
- Local‑only machine learning for pattern recognition.
- Deeper EMR integrations.
Thank you to everyone following the CrisisCore Build Log—your feedback on encryption protocols and accessibility standards shaped this release.
Give it a try and let us know what you think: