Skip to content
NyX-K1Public

About

Inspired by the life of Victor Frankl, this project aims at helping people reframe their negative thinking patterns and find positivity and enthusiasm in the bleak circumstances life throws towards us!!!

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

🧠 Sentience : Mental Wellbeing and Literacy

Where Introspection Meets Intelligence

A cinematic, AI-powered emotional intelligence platform — combining immersive WebGL visuals, real-time AI journaling, CBT Thought Reframing, comprehensive mood analytics, and clinical-grade data exports to help users understand, track, and transform their emotional landscape.

React Vite TypeScript Tailwind CSS Three.js Supabase Groq



🌟 About

Sentience is a full-stack emotional intelligence platform that goes far beyond traditional journaling apps. Built at the intersection of clinical psychology, cutting-edge web technology, and AI, Sentience provides a safe, immersive, and deeply personalized space for users to explore, understand, and transform their inner world.

"Between stimulus and response there is a space. In that space is our power to choose our response." — Viktor Frankl


✨ Features

1. 📊 Mood Tracker

A visually rich, multi-step mood logging system:

  • Emotion Wheel — A precise emotion selector powered by a comprehensive 951-word vocabulary.
  • Valence/Arousal Mapping — Captures the core intensity and positivity of your emotional state.
  • Trigger Tagging — Connects specific environmental factors and events directly to your mood logs.
  • Mood Timeline — A rich, historical dashboard offering visual analytics and long-term trend tracking.

2. 📝 Smart Journaling & Diary

An AI-powered journaling experience with real-time analysis:

  • AI Analysis — Each entry is analyzed via Groq models, extracting Sentiment, Mood Score, Detected Emotions, Cognitive Distortions, and Coping Strategies.
  • Conversations — Engage in a multi-turn therapeutic conversation with the AI after writing.
  • Diary — A chronological archive of all past journal entries, conversation history, and insights.

3. 🧩 Thought Reframer (CBT-COGNITIVE BEHAVIORAL THERAPY)

A comprehensive Cognitive Behavioral Therapy tool:

  • 8-Step Protocol — Walk through triggering situations, identify negative thoughts, and reframe them.
  • Distortion Detective — Identify cognitive distortions from a visual grid of 16 distortion types.
  • AI Companion — AI-generated alternative perspectives and reframed thoughts.
  • Belief Shift — Track the change in belief strength before and after reframing.

4. 📈 User Analytics & Clinical Data Export

A comprehensive analytics dashboard and export system:

  • Interactive Dashboards — Visualize Core Affect Trends, Reframing Efficacy, and Emotion Distribution.
  • AI Insights — Personalized summaries based on aggregated data patterns.
  • Clinical PDF Export — Generate a comprehensive, multi-page clinical-grade PDF report containing chronological timelines, reframing sessions, and sentiment breakdowns.

🛠️ Tech Stack

  • Frontend: React 18, Vite 5, TypeScript 5
  • Styling: Tailwind CSS, Framer Motion, GSAP
  • 3D Graphics: Three.js, React Three Fiber, OGL (GLSL Shaders)
  • AI Integration: Groq SDK
  • Backend / Database: Supabase (PostgreSQL)
  • Data Visualization: Recharts
  • PDF Generation: @react-pdf/renderer

🚀 Getting Started

Prerequisites

  • Node.js >= 18.x
  • Groq API Key
  • Supabase Project

Installation

git clone https://github.com/NyX-K1/Sentience.git
cd Sentience
npm install

Environment Variables

Create a .env file in the root directory:

VITE_SUPABASE_URL=your_supabase_project_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
VITE_GROQ_API_KEY=your_groq_api_key

Run

npm run dev

**Built with 💜 for the mind**

About

Inspired by the life of Victor Frankl, this project aims at helping people reframe their negative thinking patterns and find positivity and enthusiasm in the bleak circumstances life throws towards us!!!

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages