A comprehensive web application designed to support mental health through various interactive features, mood tracking, and AI-powered assistance.
- Track daily mood and emotional states
- View mood trends and patterns over time
- Get personalized recommendations based on mood history
- AI-powered coaching sessions
- Personalized mental health advice
- Interactive exercises and techniques
- Cognitive Behavioral Therapy (CBT) tools
- Real-time chat interface
- AI-powered responses to mental health queries
- Empathetic and supportive conversation
- Resource recommendations
- Curated mental health resources
- Educational materials
- Self-help guides
- Crisis support information
- Track progress and milestones
- Gamified experience
- Motivation through achievements
- Progress visualization
- Python 3.x
- Flask (Web Framework)
- SQLAlchemy (ORM)
- Flask-Login (Authentication)
- Google Gemini API (AI Integration)
- HTML5
- CSS3
- JavaScript
- Bootstrap 4.5
- Font Awesome (Icons)
- Google Fonts
- SQLite (Development)
- SQLAlchemy ORM
- Clone the repository:
git clone https://github.com/yourusername/mindcrew.git
cd mindcrew- Create and activate a virtual environment:
python -m venv env
source env/bin/activate # On Windows: env\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Set up environment variables:
Create a
.envfile in the root directory with the following variables:
FLASK_APP=app.py
FLASK_ENV=development
SECRET_KEY=your-secret-key
GEMINI_API_KEY=your-gemini-api-key
- Initialize the database:
flask db upgrade- Run the application:
python app.pyThe application will be available at http://127.0.0.1:5000
mindcrew/
├── app.py # Main application file
├── models.py # Database models
├── requirements.txt # Python dependencies
├── instance/ # Instance-specific files
├── static/ # Static files (CSS, JS, images)
├── templates/ # HTML templates
│ ├── base.html # Base template
│ ├── dashboard.html # Dashboard template
│ └── ...
├── mood_tracker/ # Mood tracking module
├── resources/ # Resources module
└── chat_support/ # Chat support module
-
Registration/Login
- Create a new account or log in to existing account
- Secure authentication system
-
Dashboard
- Access all features from the main dashboard
- Quick navigation to different modules
-
Mood Tracking
- Log daily moods
- View mood history and trends
- Get personalized recommendations
-
Virtual Coach
- Start a coaching session
- Get personalized advice
- Access CBT exercises
-
Chat Support
- Start a conversation
- Get AI-powered responses
- Access resources and support
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
- Secure password handling
- Protected routes
- Input validation
- XSS protection
- CSRF protection
- Mobile application
- Additional AI models
- Enhanced analytics
- Community features
- Integration with health devices
- Google Gemini API for AI capabilities
- Flask community for the web framework
- All contributors and users of the application