Skip to content

jaffarkeikei/SalahGuard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SalahGuard - Emotion-Aware Accountability Companion

An AI companion that calls you, understands how you're feeling, and helps you stay on track.


The Problem

Modern life is overwhelming:

  • Busy schedules make it hard to maintain healthy habits
  • Notifications are easy to ignore
  • No one checks in on how you're actually feeling
  • Accountability apps lack emotional intelligence

The Solution

SalahGuard is an emotionally intelligent AI that:

  1. Calls you at scheduled times (not just notifications)
  2. Detects your emotions from your voice
  3. Responds empathetically to how you're feeling
  4. Asks meaningful questions (gratitude, intentions, self-care)
  5. Journals automatically to Notion in first-person format
  6. Remembers context from previous conversations

Features

  • Voice Calls - Real phone calls via Twilio, not just app notifications
  • Emotion Detection - Understands when you're stressed, tired, or happy
  • Barge-in Support - Interrupt the AI anytime by speaking
  • Reflection Questions - Gratitude, intentions, self-care, growth
  • Auto-Journaling - Beautiful Notion entries created automatically
  • Context Awareness - Remembers your previous conversations

Quick Start

1. Install dependencies

npm install

2. Set up environment variables

cp .env.example .env
# Edit .env with your API keys

3. Start the server

npm start

4. For phone calls (optional)

ngrok http 3000
# Update BASE_URL in .env with your ngrok URL

5. Open the app

Visit http://localhost:3000


Tech Stack

Technology Purpose
Twilio Phone calls
ElevenLabs Natural voice synthesis
Cerebras Ultra-fast AI responses (1800 tokens/sec)
OpenAI AI fallback
Hume AI Emotion analysis
Notion API Automatic journaling

How It Works

  1. Schedule a check-in or call on-demand
  2. Answer the call - AI greets you warmly
  3. Have a conversation - AI detects your mood and responds empathetically
  4. Reflect - Answer questions about gratitude, goals, self-care
  5. Auto-journal - Entry created in Notion with your reflections

API Keys Needed

Get keys from:


License

MIT

About

An AI companion that calls you during your convenient times such as breaks at work, before and after bed, understands how you're feeling, and journals the conversations automatically.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors