Commit Graph

7 Commits

Author SHA1 Message Date
type-two
eed30a2ba5 Harden hosted relay with access codes + illustrated manual page
--tokens FILE gates session hosting: hosts present an access code, patients
join live sessions freely (no code), un-joined connections can't relay, and
joined members can't spoof state into other rooms. Easy Mode grows a gentle
access-code card (one-computer mode stays free/ungated); advanced panel gets
a token field; patient view shows a waiting note and auto-retries.
manual.html: picture-book how-to, images slot in under img/manual/.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 15:14:03 +10:00
type-two
dadda8765d Easy Mode: big-control page for non-technical users
easy.html: giant start/stop, plain-word sliders (how fast / how big / how
loud), friendly sound names (Ocean/Beep/Click/Knock), big color dots,
duration chips, live preview strip of the patient view, same safety notice.
Auto-connects to the relay when served over http with a persistent random
room id — patient link is one big copy button, no Detect IP step.
Advanced panel untouched, linked both ways; server opens easy.html first.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 14:46:12 +10:00
type-two
4a46417cba Safety, privacy, session security, bug fixes, zero-install server
- First-run safety notice (photosensitivity, clinical use, privacy); glow
  rate capped at 2.5Hz below the photosensitive trigger band
- Patient data: initials/code hint, Export All / Wipe All buttons
- Relay sessions get crypto-random room ids instead of guessable room-1
- Fix: Pan Sync off now actually stops pink-noise panning
- Fix: slider drags no longer audibly restart the noise source
- Fix: switching pink->discrete preset no longer leaves noise running
- Fix: Speed Boost no longer compounds into stored speed across reloads
- Fix: patient/preset names HTML-escaped in lists
- Fix: patientViewport now relays over LAN (old server dropped it)
- server.py rewritten stdlib-only: static site + WS relay in one process,
  no pip/venv; setup.sh/bat deleted, start scripts are now 3 lines
- MIT LICENSE added; README rewritten with safety-first quick start

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 14:38:05 +10:00
Jing Kohn
8ef5c54c9b ui fix, many features added 2025-11-25 18:55:21 +10:00
Jing Kohn
cbd4b25bc6 easier instructions and connection for multi-computer over lan 2025-11-24 22:45:29 +10:00
Jing Kohn
d3f7f374ab added websocket for separate computers on same wifi/lan 2025-11-24 20:06:16 +10:00
Jing Kohn
3c9646cf0b enjoy 2025-11-24 19:22:10 +10:00