Skip to content

dlkakbs/mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Mirror

Mirror is a swipe-based psychoanalytic self-discovery app. You swipe through a set of carefully crafted statements — right if it resonates, left if it doesn't — and receive a personalized psychological analysis generated by AI.


How It Works

  1. The app generates 20 unique, psychoanalytically informed statements on launch — no two sessions are the same.
  2. You swipe right ("That's me") or left ("Not me") on each card.
  3. After all 20 cards, the AI produces a deep personal analysis drawing on the frameworks of Winnicott, Kohut, Klein, Kernberg, and Ogden — without clinical jargon.

The analysis covers four layers:

  • Inner conflict and competing drives
  • Relationship and attachment patterns
  • Self-perception and the inner critic
  • Unrealized strengths and potential

Current Status

These are standalone HTML demos that run inside the Claude.ai artifact environment, which provides API access automatically.

To run as a standalone web app, a backend proxy is needed to securely handle the Anthropic API key. Deployment via Vercel is planned.


Planned Setup (Coming Soon)

mirror/
├── frontend/
│   ├── mirror-en.html
│ 
├── api/
│   └── proxy.js        # Vercel Edge Function — keeps API key server-side
├── .env.example        # ANTHROPIC_API_KEY=your_key_here
└── vercel.json

Requirements:


Tech Stack

  • Vanilla HTML / CSS / JavaScript — no framework
  • Claude API (claude-sonnet-4-20250514) for statement generation and analysis
  • Lora + Jost (Google Fonts) for typography
  • Designed for mobile and desktop

Design

Warm, pastel therapy-room aesthetic. Clean cards, soft sage and blush tones, no dark mode. Built to feel calm and safe — the kind of space where honest reflection feels possible.


Mirror is a self-reflection tool based on psychoanalytic theory. It is not a clinical diagnosis or a substitute for therapy.

About

Mirror is a swipe-based psychoanalytic self-discovery app. You swipe through a set of carefully crafted statements — right if it resonates, left if it doesn't — and receive a personalized psychological analysis generated by AI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages