Repository navigation
v2.0: rewrite as a modular, multi-feature wellbeing app - #1
Merged
Merged
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.