Skip to content

RohanSengupta326/MindSpace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MindSpace

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.

Screenshots :

Screenshot_2024-03-12_11-27-58 Screenshot_2024-03-12_11-28-18 Screenshot_2024-03-12_11-28-08 Screenshot_2024-03-12_11-23-49 Screenshot_2024-03-12_10-31-12 Screenshot_2024-03-12_10-30-30 Screenshot_2024-03-12_10-29-41

Getting Started

  1. Prerequisites:

  2. Installation:

    • Clone this repository: git clone https://github.com/RohanSengupta326/MindSpace
    • Navigate to the project directory: cd MindSpace
    • install fvm and install the required version of flutter ( check version here : /MindSpace/mind_space_app/.fvm/fvm_config.json )
    • Install dependencies: fvm flutter pub get
  3. Configuration:

    • Replace YOUR_OPENAI_API_KEY in MindSpace/mind_space_app/lib/views/widgets/app_drawer/app_drawer.dart with 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. 
           };
      
  4. 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/).

Usage

  1. Explore the mental health knowledge base to learn about different conditions and potential solutions.
  2. 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.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors