EmpowerGuard Journaling
EmpowerGuard Journaling is an AI-powered journaling platform designed to promote mental health, empower vulnerable communities, and raise awareness about domestic abuse. By combining advanced text analysis with an intuitive interface, our project helps users understand their emotional journey and take proactive steps towards well-being.
Inspiration
EmpowerGuard Journaling was inspired by the urgent need to provide accessible mental health support and early intervention tools for children, teens, and individuals facing domestic abuse. We wanted to create an application that goes beyond simple journaling by incorporating AI-driven insights—helping users recognize and manage their emotions before they escalate into more serious issues.
What It Does
Journal Entries:
Users can write and edit journal entries with a rich text editor that captures their thoughts and feelings.AI-Driven Tone Analysis:
Each entry is analyzed using advanced natural language processing (via LangChain and OpenAI) to determine the emotional tone and generate personalized recommendations.Interactive Dashboard:
The dashboard visualizes emotional trends over time using charts and mood meters, giving users a clear snapshot of their overall mood.Profile Management:
Users can update and save their personal information and preferences, ensuring a personalized experience every time they log in.Future Camera Integration:
While currently focused on text-based analysis, the project includes groundwork for a camera module that uses face detection to further enhance emotional insights.
How We Built It
Frontend:
Built with React, React Router, and React Quill, the user interface is designed for ease of use and responsiveness. We integrated Chart.js for interactive data visualization.Backend:
Using Node.js, Express, and Mongoose (MongoDB), we created a robust API that handles journaling data, user profiles, and AI analysis.AI & NLP:
We leverage LangChain and OpenAI to perform real-time text-based tone analysis, generating both an overall mood score and actionable recommendations.Persistent Storage:
The Profile page uses localStorage to save user preferences, ensuring that settings persist across sessions.
Challenges We Ran Into
Integration of AI Components:
Combining LangChain with our text analysis required careful tuning and debugging to ensure accurate tone detection.Secret Management:
We encountered issues with GitHub push protection due to sensitive API keys, which forced us to improve our secret management by using a.envfile and ensuring it was excluded from version control.Real-Time Data Visualization:
Building an interactive dashboard that accurately reflects mood trends over time was challenging, especially in mapping and normalizing tone data.Balancing Functionality and Privacy:
Integrating features like camera-based face analysis while maintaining user privacy required thoughtful design decisions and transparent communication.
Accomplishments That We're Proud Of
Seamless Integration of AI:
Successfully using advanced AI to extract emotional tone from user entries and generate recommendations.Intuitive User Interface:
A beautifully designed, responsive interface that guides users effortlessly through their journaling experience.Robust Backend Architecture:
A secure, scalable backend that manages journal data and user profiles reliably.Data Visualization:
An interactive dashboard that provides meaningful insights into emotional trends, empowering users to take control of their mental well-being.
What We Learned
Full-Stack Development:
We deepened our understanding of integrating front-end interfaces with a robust backend, including handling data persistence and security.AI Integration:
Working with LangChain and OpenAI taught us how to incorporate sophisticated natural language processing into real-world applications.User Privacy and Security:
The challenges around API key management and GitHub push protection emphasized the importance of safeguarding user data and secrets.Iterative Design:
Building this project reinforced the value of prototyping, user feedback, and continuous refinement in creating a truly impactful product.
What's Next for EmpowerGuard Journaling
Enhanced AI Capabilities:
Further refine our tone analysis to handle a broader range of emotions and provide more nuanced recommendations.Camera-Based Facial Analysis:
Fully integrate our pre-trained face detection model to complement text-based analysis, offering richer emotional insights.Mobile App Development:
Expand our platform to include native mobile applications for easier access and on-the-go support.Community and Support Integration:
Connect users with real-time support and resources, enhancing the platform's impact on mental health and social well-being.Continuous Improvement:
Gather user feedback and analytics to continuously improve the functionality and user experience of EmpowerGuard Journaling.
EmpowerGuard Journaling is our commitment to leveraging technology for social good—empowering users with self-awareness, early intervention, and a brighter, healthier future.
Log in or sign up for Devpost to join the conversation.