Therapy Bot is an AI-powered mental wellness assistant designed to provide therapeutic responses and analyze users' emotions using sentiment analysis. Built with Django and powered by Google's Gemini API, it offers users a space for self-care, emotional support, and mental wellness education.
Try the app live at: https://chilling.pythonanywhere.com/
Or download the Android app directly: 📲 Therapy.apk
-
Anonymous & Logged-in Access:
Users can chat with the bot even without signing in. However, to access emotion-based sentiment analysis and track wellness data, sign-in is required. -
AI-Powered Chatbot:
Therapeutic conversations generated by Gemini API based on your inputs. -
Sentiment Analysis:
Understand your emotional tone from past conversations (requires login). -
Mental Health Blogs:
Access to curated wellness blogs directly in your profile. -
Profile & Account:
Update bio, profile picture, and view personal emotional history. -
Map of Mental Health Centers:
Discover physical locations near you for further support. -
Data Privacy First:
Your data is securely stored and never shared. Sentiment data is only linked to signed-in accounts and kept confidential.
To run this project locally:
- Python 3.8+
- Git
- pip (Python package manager)
git clone https://github.com/Hercules-Peters/Therapy-Bot-Django-Project.git
cd Therapy-Bot-Django-ProjectWe recommend using a virtual environment.
python -m venv env
source env/bin/activate # On Windows use `env\Scripts\activate`
pip install -r requirements.txtCreate a .env file and add your Gemini API Key and Django secret key.
GEMINI_API_KEY=your_gemini_api_key
SECRET_KEY=your_django_secret_keypython manage.py migrate
python manage.py runserverNow open your browser and go to http://127.0.0.1:8000/.
Download and install the APK on your Android device:
This project is licensed under the MIT License. See the LICENSE file for more details.
We welcome contributors to improve Therapy Bot. Feel free to fork the repo and submit a pull request.
Let me know if you'd like to include screenshots, API documentation, or setup for deploying on PythonAnywhere!