gitmyhub

Ai-Mental-Health

HTML ★ 14 updated 25d ago

AI-Mental-Health is an AI-based platform that supports mental well-being through mood analysis and chatbot interaction. It helps users express emotions, detect stress or anxiety patterns, and receive personalized suggestions, motivational support, and mental health guidance in a safe and user-friendly environment.

A web app for mental health support that lets users log moods, track emotional patterns over time, and chat with an AI, while giving clinicians a dashboard with automated risk-flagging.

PythonFlaskSQLiteHTMLJavaScriptGoogle Gemini ProChart.jssetup: moderatecomplexity 3/5

This repository contains a web application for mental health support, designed to be available at any hour and to provide a private, personalized experience through an AI chatbot. The chatbot is powered by Google Gemini Pro, which is a large language model that handles the conversational side of the platform.

For regular users, the app lets you log your mood daily, view charts of your emotional patterns over time, and receive suggestions for coping techniques based on those trends. There is also a quick link to crisis helplines from around the world if someone needs urgent support. Account access is private, with each user having a unique login.

The platform also has a separate interface for mental health professionals and administrators. This side shows patient mood charts, behavioral trends, and a system that watches for language suggesting suicidal intent or high-risk states, flagging those cases automatically. Administrators can manage user accounts, review system statistics, and access an audit log that tracks who accessed what data.

The technical foundation is a Python web server using the Flask framework, with a local SQLite database for storing records. The front end is built with plain HTML, CSS, and JavaScript, styled with a modern glass-like visual design. Charts are drawn using a library called Chart.js.

The README notes the project was developed for research and educational purposes to explore how AI tools can improve access to mental health support. Setup requires a free Google Gemini API key, which you store in a local configuration file before starting the server.

Where it fits