Skip to content

v2.0: rewrite as a modular, multi-feature wellbeing app - #1

Merged
payalrvs3 merged 3 commits into
mainfrom
v2-upgrade
Sep 26, 2026
Merged

payalrvs3 merged 3 commits into
mainfrom
v2-upgrade

Conversation

@payalrvs3

Copy link
Copy Markdown
Owner

No description provided.

Superseded by the modular core/ + views/ architecture in the next commit.
Removes app.py, auth.py, chatbot.py, database.py (the old users.db was
already scrubbed from history in this branch's parent commits).
New architecture: core/ (db, auth, ai, safety, stats, charts, content, ui)
and one file per page under views/.

Features: five chat personas with streaming replies and saved,
renamable conversations; mood tracker with a 7/30/90-day insights
dashboard (trend, weekday pattern, activity impact, sleep correlation,
calendar heatmap); journal with prompts, tags, search and optional AI
reflection; guided breathing, 5-4-3-2-1 grounding and CBT thought
records; PHQ-9/GAD-7 check-ins with score history; per-country
helplines, crisis-language detection and a personal safety plan;
account data export/delete.

Security: bcrypt password hashing with sign-in lockout (was SHA-256,
unsalted). Model updated to openai/gpt-oss-120b (the previous model
was retired by Groq).
91 tests covering the database layer, auth, safety checks, analytics
and every page. GitHub Actions runs ruff + pytest on push. Dockerfile
+ volume for deployments that need the data to persist (Streamlit
Community Cloud's filesystem does not).
@payalrvs3
payalrvs3 merged commit d75ed70 into main Sep 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant