This Flutter web application serves as a comprehensive resource for individuals seeking information and support regarding mental health. It combines informative content with the power of AI-driven conversation to empower users on their journey towards well-being.
Access the site @ https://mindspaceuniverse.netlify.app/
Features
- Mental Health Knowledge Base: Access a curated list of mental health issues along with detailed descriptions and potential remedies. Leverage the API integration to retrieve this information.
- MindSpace AI Chat: Engage in a safe and supportive dialogue with MindSpace AI, an OpenAI-powered chatbot trained to provide general mental health insights and resources.
- User-Friendly Interface: Navigate the application seamlessly with a clean and intuitive design optimized for web browsers.
Getting Started
-
Prerequisites:
- Flutter development environment set up (refer to official documentation: https://docs.flutter.dev/get-started/install)
- An OpenAI API key (https://openai.com/blog/openai-api)
-
Installation:
- Clone this repository:
git clone https://github.com/RohanSengupta326/MindSpace - Navigate to the project directory:
cd MindSpace - install
fvmand install the required version of flutter ( check version here : /MindSpace/mind_space_app/.fvm/fvm_config.json ) - Install dependencies:
fvm flutter pub get
- Clone this repository:
-
Configuration:
- Replace
YOUR_OPENAI_API_KEYinMindSpace/mind_space_app/lib/views/widgets/app_drawer/app_drawer.dartwith your actual OpenAI API key.Future<String> chatWithGPT(String message) async { final apiUrl = 'https://api.openai.com/v1/chat/completions'; final headers = { 'Content-Type': 'application/json', 'Authorization': 'Bearer "YOUR_API_KEY_HERE" ', // insert your api key here. };
- Replace
-
Run the Application:
- Start the development server:
fvm flutter run -d web-server - Access the application in your web browser (usually at
http://localhost:8080/).
- Start the development server:
Usage
- Explore the mental health knowledge base to learn about different conditions and potential solutions.
- Initiate a conversation with MindSpace AI by entering your questions or concerns in the chat interface.
Disclaimer
This application is intended to provide information and support, but it is not a substitute for professional mental health care. If you are experiencing serious mental health concerns, please seek help from a qualified mental health professional.






