Skip to content

Repository files navigation

🕊️ GhostVoice Sanctuary — AI Couples Mediator

Neutral ground for couples communication powered by evidence-based relationship psychology, Gottman frameworks, and Sue Johnson EFT attachment theory.

Live Demo GitHub Repository Next.js GSAP


✨ Overview

GhostVoice Sanctuary sets itself apart from traditional generic AI chatbots by offering a luxury, GSAP-driven, single-page experience. It provides a safe, 100% neutral environment for couples to express their individual perspectives, de-escalate emotional flooding, and translate defensive arguments into vulnerable attachment requests.

Inspired by modern luxury web design (geniegetsme.com), GhostVoice combines high-contrast typography, interactive custom cursor tracking, pinned scroll showcases, and automated nervous system regulation exercises.


🌟 Key Features

  • 🎞️ GSAP Viewport-Pinned Showcase: A 7-slide interactive playground (MEMORIES, CONTEXTUAL, SOCIAL, TASTE, PERSONAL, CONNECTED, AMBIENT) with blur reveals, card sliding, and dynamic height-stretching vertical pagination indicators.
  • ☀️ / 🌙 Dual Luxury Theme System:
    • Light Mode: Editorial #f5f5f5 off-white luxury surface with high-contrast #000000 accents.
    • Dark Mode: Dark Blue (#070a14), Orange-600 (#ea580c), and Deep Black (#030508).
  • 🎯 Custom Interactive Cursor: Smooth circular mouse-follower cursor with hover scaling across all links and buttons.
  • 🧘 Automated 1-Minute 4-7-8 Grounding Break: Real-time 4s Inhale, 7s Hold, 8s Exhale timer with expanding ring animations and countdown progress indicator to regulate physiological flooding.
  • ⚖️ Dual Perspective Input Dock: Express Partner A and Partner B statements side-by-side or jump into continuous conversational dialogue.
  • 👤 User Profile & Perspective Management: Customize Partner A and Partner B display names, view resilience scores, and track completed mediation sessions.
  • 🎧 Spoken Voice Synthesis & RAG Retrieval: Listen out loud to therapeutic advice backed by Gottman Sound Relationship principles and Pinecone vector database entries.
  • 🔒 Secure Authentication: NextAuth v5 (Auth.js) integration with Google and GitHub OAuth providers.

🛠️ Technology Stack

  • Framework: Next.js 16 (App Router, Turbopack)
  • Animation: GSAP (GreenSock Animation Platform)
  • Styling: Tailwind CSS v4, Glassmorphism, Google Fonts (Cormorant Garamond & Plus Jakarta Sans)
  • AI & RAG Engine: Vercel AI SDK (ai), Google Gemini (@ai-sdk/google), Pinecone Vector Database (@pinecone-database/pinecone)
  • Database & Storage: MongoDB (mongodb, @auth/mongodb-adapter, mongoose)
  • Authentication: NextAuth v5 (next-auth@beta)

🚀 Quick Start & Local Setup

1. Clone the Repository

git clone https://github.com/Purujeet-git/GhostTalker.git
cd my-app

2. Install Dependencies

npm install

3. Configure Environment Variables

Create a .env.local or .env file in the root directory:

# Auth.js / NextAuth Secrets & URLs
AUTH_SECRET="your-generated-random-32-char-secret"
AUTH_URL="http://localhost:3000"

# Google OAuth Credentials
AUTH_GOOGLE_ID="your-google-client-id.apps.googleusercontent.com"
AUTH_GOOGLE_SECRET="your-google-client-secret"

# GitHub OAuth Credentials
AUTH_GITHUB_ID="your-github-client-id"
AUTH_GITHUB_SECRET="your-github-client-secret"

# AI & Vector Database Keys
GOOGLE_GENERATIVE_AI_API_KEY="your-gemini-api-key"
PINECONE_API_KEY="your-pinecone-api-key"
PINECONE_INDEX_NAME="ghostvoice"
MONGODB_URI="mongodb+srv://<username>:<password>@cluster.mongodb.net/ghostvoice"

4. Run Development Server

npm run dev

Open http://localhost:3000 in your browser.

5. Build for Production

npm run build
npm run start

🌐 Production Deployment

To deploy on Vercel:

  1. Import repository Purujeet-git/GhostTalker.
  2. Add your environment variables in Vercel settings.
  3. Update AUTH_URL for live production:
    AUTH_URL="https://ghost-talker-delta.vercel.app"
  4. Set Authorized Redirect URIs in Google & GitHub Developer Consoles:
    • Google Callback: https://ghost-talker-delta.vercel.app/api/auth/callback/google
    • GitHub Callback: https://ghost-talker-delta.vercel.app/api/auth/callback/github

📄 License & Attribution

GhostVoice Sanctuary is built for educational and mediation support. Clinical guidance is based on public psychology frameworks including Gottman Sound Relationship House & Sue Johnson EFT Attachment Theory.

About

Here is my take on couple's therapist it is not done yet it is in the development phase and when I deploy it. It will for sure work or else I won't deploy it. I am working hard towards making it work. If you see anything interesting be sure to contact me via - purujeetkr2005@gmail.com

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages