Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

67 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MindCare AI - Mental Health Assistant

🧠 Overview

MindCare AI is an intelligent mental health assistant built with Botpress. It provides 24/7 support, mental health resources, and therapeutic conversations to help users maintain their psychological well-being.

πŸš€ Features

  • 24/7 AI Support: Always available mental health companion
  • Crisis Intervention: Emergency contact information and resources
  • Mood Tracking: Help users monitor their emotional state
  • Therapeutic Conversations: Evidence-based mental health support
  • Resource Library: Access to mental health tips and coping strategies
  • Privacy-First: Secure and confidential conversations

πŸ› οΈ Technology Stack

  • Frontend: HTML5, CSS3, JavaScript
  • Chatbot Platform: Botpress v3.2
  • Styling: Custom CSS with responsive design
  • Hosting: Compatible with GitHub Pages, Netlify, Vercel

πŸ“ Project Structure

MindCare_AI/
β”œβ”€β”€ πŸ“ .github/
|   |── πŸ“„test_github.py
β”‚   └── πŸ“ workflows/
β”‚       |── πŸ“„ deploy.yml
|       └── πŸ“„ workflow.json          
β”œβ”€β”€ πŸ“ config/
β”‚   └── πŸ“„ config.json              
β”œβ”€β”€ πŸ“ docs/                        
β”‚   β”œβ”€β”€ πŸ“„ CONTRIBUTING.md          
β”‚   β”œβ”€β”€ πŸ“„ API.md                   
β”‚   └── πŸ“„ DEPLOYMENT.md              
β”œβ”€β”€ πŸ“ public/
β”‚   β”œβ”€β”€ πŸ“„ index.html               
β”‚   β”œβ”€β”€ πŸ“„ styles.css               
β”‚   β”œβ”€β”€ πŸ“„ script.js                
β”‚   └── πŸ“ demo/
|       |── πŸ“„ chatgpt com .html
|       └── πŸ“„ www google com .html
|       └── πŸ“„ www wikipedia org .html
β”œβ”€β”€ πŸ“ src/
β”‚   β”œβ”€β”€ πŸ“ components/                      
β”‚   β”‚   |── πŸ“„ __init__.py          
β”‚   β”œβ”€β”€ πŸ“ services/
|   |   |── πŸ“„ analyitics.py               
β”‚   β”œβ”€β”€ πŸ“ utils/
|   |   |── πŸ“„config_manager.py                   
β”‚   └── πŸ“ scripts/
|   |   |── πŸ“„botlogic.py
|   |   └── πŸ“„data_proccesor.py
|   |   └── πŸ“„deployement.py             
β”œβ”€β”€ πŸ“ tests/                       ←
β”‚   β”œβ”€β”€ πŸ“„ test_bot_logic.py        
β”‚   └── πŸ“„ __init__.py
β”œβ”€β”€ πŸ“ root/                      
|    β”œβ”€β”€ πŸ“„ .env.example
|    └── πŸ“„ requirements.txt
|    └── πŸ“„ SECURITY.md          
β”œβ”€β”€ πŸ“„ .gitignore                   
β”œβ”€β”€ πŸ“„ LICENSE                      
β”œβ”€β”€ πŸ“„ package.json                 
β”œβ”€β”€ πŸ“„ README.md                    
                  

🎯 Quick Start

  1. Clone the repository

    git clone https://github.com/yourusername/mindcare-ai.git
    cd mindcare-ai
  2. Configure Botpress

    • Update config.json with your Botpress credentials
    • Replace clientId and webhookId with your actual values
    • Customize bot responses in your Botpress dashboard
  3. Deploy

    • GitHub Pages: Push to GitHub and enable Pages
    • Netlify: Drag and drop the folder to Netlify
    • Vercel: Connect your GitHub repository

βš™οΈ Configuration

Botpress Setup

  1. Create a Botpress account at botpress.com
  2. Create a new bot and note down your:
    • Client ID
    • Webhook ID
    • Bot ID
  3. Update config.json with your credentials
  4. Customize the chatbot flows in Botpress Studio

Customization

  • Theme Colors: Modify themeColor in config.json
  • Styling: Edit styles.css for custom appearance
  • Functionality: Add features in script.js
  • Content: Update placeholders and descriptions

🎨 Styling

The project uses a modern gradient design with:

  • Primary Colors: Blue gradient (#667eea to #764ba2)
  • Typography: Segoe UI font family
  • Layout: Responsive design for all devices
  • Components: Clean, accessible interface

πŸ”§ Development

Local Development

  1. Open index.html in a web browser
  2. Make changes to HTML, CSS, or JS files
  3. Refresh browser to see updates
  4. Test chatbot functionality

Adding Features

  • Emergency Resources: Extend MindCareAI.emergencyContacts
  • Mental Health Tips: Add to mentalHealthTips array
  • Analytics: Implement tracking in trackUserEngagement()
  • Custom Commands: Add new functions to the MindCareAI object

🌐 Deployment Options

GitHub Pages

# Push to main branch
git add .
git commit -m "Deploy MindCare AI"
git push origin main

# Enable Pages in repository settings

Netlify

  1. Drag project folder to Netlify deploy
  2. Or connect GitHub repository for auto-deploy

Vercel

npm i -g vercel
vercel --prod

πŸ“Š Features Roadmap

  • User authentication
  • Mood tracking analytics
  • Integration with mental health APIs
  • Multi-language support
  • Voice interaction
  • Mobile app version

πŸ”’ Privacy & Security

  • Data Protection: No personal data stored locally
  • HIPAA Compliance: Follow healthcare data guidelines
  • Secure Communication: All chats encrypted in transit
  • Crisis Protocol: Automatic emergency resource provision

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add AmazingFeature')
  4. Push to branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“ž Emergency Resources

  • Crisis Hotline: 988 (National Suicide Prevention Lifeline)
  • Crisis Text Line: Text HOME to 741741
  • Emergency: Call 911 for immediate medical emergency

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Botpress for the amazing chatbot platform
  • Mental health professionals for guidance
  • Open source community for inspiration

πŸ“ž Support

For technical support or questions:


Disclaimer: MindCare AI is not a replacement for professional mental health treatment. If you're experiencing a mental health crisis, please contact emergency services or a mental health professional immediately.

About

MindCare AI's interface prioritizes clarity and ease of use, employing a calming palette of soft blues and purples to inspire trust and focus. It uses clean typography, generous spacing, and intuitive navigation patterns to guide users effortlessly through the experience. Subtle interactive feedback and responsive design ensure seamless engagement

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages