Skip to content

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.

License

Notifications You must be signed in to change notification settings

Hercules-Peters/Therapy-Bot-Django-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 Therapy Bot django project.

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.

🌐 Live Demo

Try the app live at: https://chilling.pythonanywhere.com/

Or download the Android app directly: 📲 Therapy.apk


✨ Features

  • 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.


🚀 Getting Started

To run this project locally:

🔧 Prerequisites

  • Python 3.8+
  • Git
  • pip (Python package manager)

🌀 Clone the Repository

git clone https://github.com/Hercules-Peters/Therapy-Bot-Django-Project.git
cd Therapy-Bot-Django-Project

📦 Install Dependencies

We recommend using a virtual environment.

python -m venv env
source env/bin/activate  # On Windows use `env\Scripts\activate`
pip install -r requirements.txt

🔑 Set Up Environment Variables

Create 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_key

🛠 Run Migrations and Start the Server

python manage.py migrate
python manage.py runserver

Now open your browser and go to http://127.0.0.1:8000/.


📱 Android App

Download and install the APK on your Android device:

📲 Therapy.apk


🔒 License

This project is licensed under the MIT License. See the LICENSE file for more details.


🙌 Contributions

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!

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published