- Started
- Feb 2026
- Status
- Source only
- Stack
- React
- Vite
- Supabase
- Groq
- ElevenLabs
- Capacitor
Lume
A wellness companion that reads between the lines.
distortionDetector.js
Runs in your browser
I always ruin everything and everyone knows it.
All-or-nothing thinkingweight 4
Is it really always, or just this time? Can you think of even one exception?
Mental filterweight 3
What else happened in that situation that you might not be giving weight to?
A pattern matcher, not support. In India, iCall counsellors are on 9152987821.
The problem
A chatbot answers the words you typed, and it answers them seconds later. Someone in distress often means more than they wrote and needs a response right away.
How it's built
Each message runs through local middleware first. sentimentGuard grades severity, distortionDetector scores patterns by weight, and the results shape the system prompt for Llama 3.3 on Groq. About 1,800 lines across six hand-written modules, with Supabase row-level security around mood logs and chat history.
What it does
- Support appears instantly when distress patterns show up, before the model replies
- Ten CBT distortions detected, each with a reframing question
- Emotional memory that recalls what helped last time
- Three personalities: Calm Therapist, Strict Coach, Logical Analyst
- Mood logs, insights, breathing exercises and crisis helplines
- Android build through Capacitor
React, Vite, Supabase, Groq, ElevenLabs, Capacitor


