CalmAI — AI-Powered Psychological Well being & Wellness Companion
CalmAI is a full Flutter supply code for a psychological
wellness app (Android + iOS + Internet Admin Panel). It combines an AI remedy chatbot, temper
monitoring, guided journaling, CBT thought information, respiration workouts, a
gratitude journal, a sleep tracker, a behavior tracker,
a guided meditation library with offline TTS playback, a
fear field (CBT fear postponement), temper analytics,
weekly AI-generated wellness reviews, an always-on SOS grounding display screen, and a
19-badge streaks & milestones system — all in a Dwelling Sanctuary design
(forest inexperienced palette, Newsreader + Manrope typography) with full darkish mode
help.
Features a web-based admin panel with dashboard, consumer administration, disaster dialog moderation, analytics, configuration editor, reviews with CSV export, and audit log.
Constructed for builders who wish to launch a psychological well being app shortly —
all the things is wired, examined, and able to publish.
Strive Earlier than You Purchase
Obtain Demo APK (Android):
Download CalmAI Demo APK from Google Drive
Notice: Allow “Set up from unknown sources” in your Android settings to run
the demo.
️ Reside Admin Panel Demo (Internet):
https://calmai-fd671.web.app
Take a look at Account: E mail: [email protected] / Password: 123456
✨ Key Options
-
AI Remedy Chat — GPT-4o or Gemini-powered chatbot with
CBT-based responses, dialog historical past, and dialog starters -
Temper Logging — 8 temper varieties, 1–5 depth slider, set off
tags, and prompt AI temper acknowledgment -
Guided Journal — Free write, AI-prompted, and CBT thought
file (6-step) with AI evaluation -
5 Respiration Workouts — Field respiration, 4-7-8, deep calm,
energize, sleep wind-down — totally animated, 100% offline -
Gratitude Journal — Day by day 3-item entry, streak monitoring,
and a scrollable gratitude jar -
Sleep Tracker — Bedtime / wake-time pickers, 5-emoji
high quality scale, non-obligatory observe, stay period ring, weekly bar chart, 30-night
historical past, consecutive-night streak chip -
Behavior Tracker — 6 seeded default habits + {custom} habits
with emoji picker, tap-to-complete every day playing cards, weekly completion-rate
card, 30-day per-habit heatmap, archive management -
Guided Meditation Library — 8 bundled scripts throughout 8
classes (anxiousness, sleep, focus, self-compassion, morning, stress, grief,
confidence), class filter chips, TTS participant with actual silence on
[pause Xs]markers, session logging. Free tier sees 3, premium
unlocks all. -
Fear Field — CBT fear postponement: seize worries any
time (offline-first), set a every day Fear Time reminder, then evaluation every
pending fear and resolve it as pale / resolved / nonetheless on my thoughts. Weekly
stats card reveals what number of worries pale on their very own; still-relevant worries
may be despatched to a prefilled CBT file or mentioned in chat. Non-compulsory premium
AI reflection in your evaluation session. -
Voice Enter & Textual content-to-Speech — Communicate to CalmAI
as a substitute of typing; toggle voice mode to have AI responses learn aloud -
Temper Analytics — Day streak counter, color-coded sample
insights, prime temper triggers chart, and wellness rating (fl_chart) -
White-Label Branding — Set app identify, help e-mail,
privateness coverage URL, and phrases URL from the admin panel — no code adjustments
wanted -
Weekly AI Wellness Report — Personalised abstract of wins,
insights, and next-week intention (premium) -
Morning Affirmation — Personalised AI affirmation on the
dwelling dashboard -
Disaster Security System — Consumer-side key phrase detection,
offline disaster assets (US/UK/AU/CA/Worldwide), always-visible
skilled assist hyperlink -
SOS Coping Playing cards — Persistent SOS button on each
display screen opens 10 evidence-based grounding methods (5-4-3-2-1, Field
Respiration, STOP, and many others.) plus tap-to-dial regional disaster hotlines.
100% offline. -
Streaks & Milestone Badges — 19 unlockable
badges throughout day-streak (3/7/14/30), first-time milestones (temper,
journal, CBT, respiration, meditation, sleep, fear), quantity milestones
(moods, journals, gratitude, respiration, worries), the sleepStreak7
night-tracking badge, and firstWeeklyReport. Snackbar broadcasts unlocks,
badges shelf on the profile display screen, full grid view at
/profile/badges. -
Premium IAP — RevenueCat month-to-month + annual subscriptions,
paywall display screen -
AdMob Advertisements — Banner + interstitial, totally non-obligatory (disable
by way of Distant Config) - Darkish Mode — Full darkish theme with persevered consumer choice
-
Firebase Auth — E mail/password, Google Signal-In, Nameless
(visitor mode) -
Push Notifications — Day by day check-in reminders, streak
alerts, weekly report -
GDPR-Prepared — Full knowledge export + one-tap account & knowledge
deletion -
Internet Admin Panel — Dashboard with KPIs, consumer administration
(search, toggle premium, GDPR delete), disaster dialog moderation,
temper analytics with charts, runtime configuration editor, weekly reviews
with CSV export, and immutable audit log -
Firebase Internet hosting — One-command deployment for the admin
panel -
193 Unit Assessments — Disaster detection, badge enum (19 values),
coping playing cards, temper patterns, validators, sleep high quality, meditation
class, meditation script parser, fear standing, fear stats calculator,
all enums
Tech Stack
- Flutter 3.41 / Dart 3.11 — Android + iOS + Internet Admin
- State Administration: Riverpod 2.x
- Navigation: GoRouter 14.x
- Backend: Firebase (Auth, Firestore, Distant Config, FCM)
-
AI: OpenAI GPT-4o + Google Gemini 1.5 Professional (switchable by way of
Distant Config) - IAP: RevenueCat
- Advertisements: Google AdMob
- Knowledge Fashions: Freezed + JSON serializable
- Charts: fl_chart 0.69
- Voice: speech_to_text 7.x + flutter_tts 4.x
What’s Included
- Full Flutter supply code — 35 cell screens + 11 admin screens, clear structure
- Internet admin panel with dashboard, consumer administration, moderation, analytics, config, reviews, audit log
- All 5 respiration train animations (offline, no API)
- 8 bundled guided meditation scripts (offline TTS, no API name to play)
- Offline disaster useful resource database (5 areas) + 10-card SOS grounding pool
- Full Firebase Firestore safety guidelines (12 user-scoped subcollections)
- Firebase Internet hosting config for admin panel deployment
- 193 unit assessments
- Offline HTML documentation + Fast Begin Information
⚙️ Necessities
- Flutter 3.41.x (secure channel)
- Firebase undertaking (free Spark plan works for growth)
- OpenAI API key or Google Gemini API key
- RevenueCat account (free tier accessible)
- AdMob account (non-obligatory — go away empty to disable all adverts)
Changelog
Model 1.5.0 — July 2026 (Fear Field Replace)
-
NEW: Fear Field — a CBT worry-postponement instrument. Seize worries any time
into an offline-first field (brief textual content + non-obligatory 1–5 depth), with the
new fear drop into the pending listing immediately. Reached from a brand new House
instrument tile. -
NEW: Fear Time reminder — set a every day time (saved on the consumer profile,
default 18:00) that schedules a neighborhood notification prompting you to open
the field and evaluation. Toggle additionally uncovered in Settings alongside the every day
temper reminder. -
NEW: Assessment stream — work by pending worries one-by-one and resolve every
as “pale by itself”, “resolved”, or “nonetheless on my thoughts”. A weekly stats
card surfaces the postponement perception (“N worries this week — M pale on
their very own”). Worries that also matter may be despatched to a prefilled CBT
thought file or mentioned in AI chat. -
NEW: Non-compulsory premium AI reflection — after a evaluation session, premium customers
get a heat 2–3 sentence AI commentary on their fear patterns (capped by a
timeout so it by no means hangs). Free customers see the static stats plus an upsell. -
NEW: 2 new milestone badges —
firstWorry(“Fear Boxer”) and
worries10(“10 Worries Boxed”). BadgeType enum now has 19
values whole. -
NEW:
worriesFirestore subcollection
(worries/{uid}/entries/{worryId}), user-scoped and wiped by the
present GDPR delete (deleteAllUserData()now covers 12
subcollections). NewworryTimesubject on the consumer profile. -
NEW: AI service positive factors a
generateWorryReflectiontechnique
(OpenAI + Gemini) with a devoted immediate in
therapy_prompts.dart. -
SAFETY: fear seize is 100% offline and sends nothing to AI. Each fear
textual content runs by the client-side disaster detector — at seize a disaster
key phrase surfaces the offline useful resource sheet + “Open SOS” (fear nonetheless
saves), and the AI reflection is skipped totally if any fear journeys
detection. -
NEW: Assessments — worry_status (5) and worry_stats_calculator (5), plus the
badge_type check bumped to claim 19 values. Complete unit assessments now 193
(was 183). -
NOTE: House dashboard instrument grid grew from 9 → 10 tiles with the addition of
Fear Field.
Model 1.4.0 — Could 2026 (Sleep, Habits & Meditation Replace)
-
NEW: Sleep Tracker — log bedtime, wake time, high quality (5 emojis), and an
non-obligatory observe. Reside period ring updates as you alter pickers. Weekly
bar chart of period plus a 30-night historical past listing. Consecutive-night
streak chip on the log display screen. -
NEW: Behavior Tracker — 6 buyer-seeded default habits (hydration, train,
going exterior, no screens earlier than mattress, meditate, gratitude). Faucet-to-complete
every day playing cards, weekly completion-rate card, 30-day per-habit heatmap on the
element display screen, archive management, and an add-custom-habit backside sheet with
a 14-emoji picker. -
NEW: Guided Meditation Library — 8 bundled scripts throughout 8 classes
(Anxiousness, Sleep, Focus, Self-Compassion, Morning, Stress, Grief, Confidence).
First 3 are free; the remaining are premium-gated (configurable by way of the brand new
free_meditationsDistant Config key, default 3). Class filter
chips on the library display screen. -
NEW: Meditation Participant with offline TTS — narrates every script by way of
flutter_ttsat a slowed, calm tempo.[pause Xs]
markers within the script insert actual silence between textual content chunks. Play /
pause / cease controls; completed classes are logged. -
NEW: 4 new milestone badges —
firstSleepLog,
sleepStreak7(7 consecutive nights of sleep logging),
firstMeditation,meditations5(5 accomplished
meditations). BadgeType enum now has 17 values whole. -
NEW: Weekly AI Wellness Report v2 — the immediate now ingests sleep averages
(hours + high quality), weekly behavior completion price, and meditation session
depend. The response contains two new sections (Sleep + Behavior Tip) proven on
the report display screen, within the PDF export, and within the share textual content. Nullable
fields preserve v1.3 reviews rendering appropriately. -
NEW:
free_meditationsDistant Config key — Int, default 3.
Controls what number of meditations free-tier customers can play earlier than the paywall. -
NEW: 4 new Firestore subcollections (all user-scoped):
sleepLogs,habitDefinitions,
habitCompletions,meditationSessions. All 4
are wiped by the present GDPR delete (deleteAllUserData()
now covers 10 subcollections). -
NEW: House dashboard instrument grid grew from 6 → 9 tiles with the addition of
Sleep, Habits, and Meditate. Tile format: AI Chat, Journal, Breathe,
Gratitude, Sleep, Habits, Meditate, Insights, Premium. -
NEW: Assessments — sleep_quality (4), meditation_category (4), meditation_script_parser
(6) — plus the badge_type check bumped to claim 17 values. Complete unit assessments
now 183 (was 169). -
UPDATED: Habits display screen avoids a screen-level FloatingActionButton (would
overlap the persistent SOS FAB). “Add behavior” lives as an AppBar motion and
an inline outlined button on the backside of the every day listing.
Model 1.3.0 — Could 2026 (SOS & Engagement Replace)
-
NEW: SOS Coping Playing cards display screen — persistent floating SOS button on
each authenticated display screen (hidden solely on chat & SOS itself to
keep away from duplication). Opens a relaxing web page with 3 randomly-shuffled
grounding methods from a pool of 10 (5-4-3-2-1, Field Respiration,
Chilly Water Reset, Protected Place Visualization, Title Your Emotion,
Reverse Motion, Physique Examine-In, Attain Out, STOP, One Breath/One
Step). 100% offline — no API calls. -
NEW: Faucet-to-dial disaster assets sheet — opens from the SOS display screen,
lists region-specific hotlines (US/UK/AU/CA/Worldwide), tapping
a quantity launches the system dialer. -
NEW: Streaks & Milestone Badges — 13 unlockable badges. Day-streak
counter now bumps on any tracked exercise (temper, journal,
CBT, respiration, gratitude) as a substitute of mood-only. Awards
streak3,streak7,streak14,
streak30, 4 first-time badges (firstMoodLog,
firstJournal, firstCBT, firstBreathing), 4 quantity badges
(moods10, journals10, gratitude10, breathingSessions10), and
firstWeeklyReport. -
NEW: Badges shelf on Profile display screen + full grid at
/profile/badgesexhibiting earned (in shade with
earned-date) vs locked (desaturated with lock icon). -
NEW: Badge unlock snackbar — surfaces from any tab by way of a world
Riverpod listener. Single unlock reveals the badge title; a number of
simultaneous unlocks present ” N badges unlocked”. -
NEW:
userBadgesFirestore subcollection — added to
GDPR delete stream. -
UPDATED: Journal display screen “New Entry” button moved from
FloatingActionButtontoAppBarmotion so
the persistent SOS FAB has a transparent slot. -
UPDATED: Streak math centralized in
BadgeService—
inline streak replace logic faraway from
MoodLogNotifier.
Model 1.2.0 — April 2026 (Voice, Insights & White-Label Replace)
-
NEW: Voice enter — faucet the mic button in chat to talk your message;
speech is transcribed and auto-populated within the textual content subject -
NEW: Textual content-to-speech — toggle voice mode in chat to have CalmAI’s
responses learn aloud -
NEW: Day streak counter on the Analytics display screen, pulling from the consumer
profile’s stay streak knowledge -
NEW: Prime Temper Triggers part on Analytics — horizontal bar chart
exhibiting the consumer’s prime 5 recurring triggers with frequency counts -
NEW: Shade-coded perception playing cards — every perception sort (constructive, downward
development, set off, sample) has a definite icon and accent shade -
NEW: White-label branding panel in Admin Config — set app identify, help
e-mail, privateness coverage URL, and phrases URL at runtime from Firestore,
no redeployment wanted -
UPDATED: Admin Config display screen pre-loads present values from Firestore
on open; all branding adjustments are audit-logged
Model 1.1.0 — April 2026 (Admin Panel Replace)
-
NEW: Internet admin panel — dashboard with KPIs, consumer administration, disaster
dialog moderation, temper analytics, configuration editor, weekly
reviews with CSV export, immutable audit log -
NEW: Admin authentication with role-based entry (superAdmin, admin,
viewer) -
NEW: Audit path — all admin actions logged with timestamp, admin
id, and particulars -
NEW: CSV export for reviews, audit logs, and per-user temper logs/journal
entries - NEW: Disaster key phrase and useful resource administration by way of admin panel
- NEW: Firebase Internet hosting deployment for admin panel
- NEW: 160+ unit assessments
-
UPDATED: Design system — Dwelling Sanctuary theme (forest inexperienced,
Newsreader + Manrope typography) - UPDATED: Flutter 3.41 / Dart 3.11
Model 1.0.0 — March 2026 (Preliminary Launch)
-
AI Remedy Chat with GPT-4o and Google Gemini 1.5 Professional (switchable by way of Distant
Config) -
Temper logging — 8 temper varieties, depth slider, set off tags, AI
acknowledgment -
Guided journal — free write, AI-prompted, and CBT thought file with AI
evaluation -
5 guided respiration workouts — Field Respiration, 4-7-8, Deep Calm, Energize,
Sleep Wind-Down - Gratitude journal — every day entry, streak monitoring, gratitude jar
- Temper analytics — development charts, sample insights, weekly wellness rating
- Weekly AI wellness report — customized abstract, wins, insights (premium)
- Morning affirmation — customized AI affirmation on dwelling dashboard
- Firebase Auth — e-mail/password, Google Signal-In, nameless visitor mode
- RevenueCat IAP — month-to-month and annual premium subscriptions, paywall display screen
- AdMob — banner and interstitial adverts (totally non-obligatory by way of Distant Config)
-
Push notifications — every day reminders, streak alerts, weekly report
notification - Darkish mode — full darkish theme with persevered choice
-
Disaster security system — offline key phrase detection, 5-region disaster useful resource
database - GDPR-ready — full knowledge export and one-tap account deletion
Help
We’re right here that will help you get the app operating and revealed.
-
E mail:
[email protected] -
WhatsApp:
+855 967 413 911
Typical response time: inside 24 hours on enterprise days. Please embody
your CodeCanyon buy code when reaching out.

