π§ Anonymous Mental Health Chatbot (AI-Powered)
This is an anonymous, AI-powered mental health chatbot built using Python and Streamlit, connected to OpenRouterβs free GPT-based API. It allows users to express emotions freely, track their mood, and receive supportive AI responses with both voice input and output.
π Key Features
π¬ GPT-Style Chatbot
Uses OpenRouter API with models likemistralai/mixtral-8x7bto generate intelligent replies.ποΈ Voice Input
Speak directly to the chatbot using your microphone viaSpeechRecognition.π Voice Output
Get AI replies spoken back to you using thepyttsx3text-to-speech engine.π Daily Mood Check-In
Prompted once a day to describe your mood β itβs stored for emotional tracking.π§ Sentiment Analysis (VADER)
Detects whether youβre feeling positive, neutral, or negative based on your input.π Mood Graph Visualization
View your emotional history through automatically generated sentiment graphs.π 100% Anonymous & Local
All data is stored locally. No personal info is uploaded or tracked.π§ Easy API Integration via
.env
Keeps your API key private and secure using a.envfile.π Mood Logging in CSV
Saves your emotional entries inmood_log.csvfor long-term analysis.π» Lightweight, Fast, and Mobile-Friendly UI
Streamlit makes the interface modern, simple, and fast to deploy.
β Conclusion
This project creates a safe, private, and interactive space where users can express their feelings, get AI-generated support, and track their mental health journey over time. Ideal for students, AI beginners, or developers looking to combine NLP + voice tech + mental health awareness.
π Try it, improve it, and share it to promote mental well-being through tech!
π Tech Stack
- Python
- Streamlit
- OpenRouter API
- NLTK (VADER)
- pyttsx3
- SpeechRecognition
- Matplotlib
- Pandas
Log in or sign up for Devpost to join the conversation.