SelfHelo is a personalized, voice-enabled web application designed to support emotional well-being and mental clarity. Featuring an AI therapist named Hina, the app offers journal tracking, mood reflection, personalized goal setting, and memory-based chat therapy — all crafted with expressive UI/UX for a calming experience.
- Emotionally intelligent AI built with Llama-3 (via Groq API)
- Memory-aware responses based on user's emotional history
- Friendly, kid-safe, therapist-like tone
- Write and save daily reflections
- Visualize emotions through mood screens (
mood.ejs) - Track mental state and current goals
- Registration & Login using bcrypt password hashing
- JSON-based database per user (
/server/database/{user}.json)
- Play soothing tracks from the integrated music player
- Route:
/music-player.html
/→ root page/home/hi/:id→ home screen with user context/home/:feature/:name→ dynamic mood/therapy/journal pages/ai→ AI-related endpoints/credand/data/reg→ login & registration endpoints
-
Backend: Node.js, Express.js
-
Frontend: EJS templating, HTML/CSS/JS
-
AI: Python (Groq API, Llama 3.1), therapist logic in
therapist.py -
Data: JSON files per user & memory:
/database/{user}.jsonfor user info/mem/{user}.jsonfor AI memory
git clone git@github.com:souravdpal/improve.git
cd improvenpm installCreate a file server/.env with:
thkey=your_groq_api_key_herecd server
node server.jsThe app runs at: http://localhost:3000
self_helo/
├── public/ # Frontend assets
│ ├── css/ # Stylesheets
│ ├── js/ # Page scripts
│ └── music-player.html # Music therapy page
├── server/
│ ├── router/ # Express routers
│ ├── views/ # EJS templates (UI)
│ ├── python/ # Python AI logic
│ ├── mem/ # AI memory storage
│ ├── database/ # User data JSONs
│ └── server.js # Entry point
- Do NOT commit
.envto GitHub - Add
.envto.gitignoreto prevent exposing your Groq API key
Sourav D. Pal
Passionate about AI, mental health tech, and full-stack development.
GitHub: @souravdpal
- Persistent database support (MongoDB or PostgreSQL)
- Dark/light theme toggle
- Chat memory visualization
- Voice-to-text journaling
This project is made with love, purpose, and empathy.