Skip to content

hr7657316/invisible-thread

Repository files navigation

The Invisible Thread 🧵

"We all cry in the same language."

The Invisible Thread is an empathetic AI-powered web application designed to connect people through shared emotional experiences. It creates a safe, atmospheric space where users can find solace in knowing they are not alone, or offer hope to others who are struggling.

The Invisible Thread

✨ Features

1. Seek Connection (Receive Support)

  • Emotional Resonance: Share your burden, and the AI (powered by Google Gemini) analyzes your core emotion.
  • Global Connection: The app simulates a search across the globe to find 3 unique personas who are feeling exactly what you are feeling right now.
  • Empathetic Chat: Connect with one of these personas in a deep, meaningful conversation. They respond in character, offering validation and understanding.
  • Holographic Visualization: A beautiful 3D globe visualizes the search for connection.

2. Give Hope (Tinder for Kindness)

  • Swipe to Heal: Switch to "Give Hope" mode to see cards of people (simulated personas) going through difficult times.
  • Send Light: Swipe Right to write a message of kindness and hope to them.
  • Future Flash: After sending a message, the AI generates a "Future Flash"—a vision of how your specific words positively impacted that person's day or life path.

3. Atmospheric Immersion

  • Emotional Color Adaptation: The background gradient shifts dynamically based on the detected emotion (e.g., Deep Blue for sadness, Amber for hope, Red for frustration).
  • Premium UI: Built with Glassmorphism, smooth Framer Motion animations, and a custom "Aurora" aesthetic.

🛠️ Tech Stack

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • A Google Gemini API Key

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/invisible-thread.git
    cd invisible-thread
  2. Install dependencies

    npm install
  3. Configure Environment Create a .env.local file in the root directory and add your API key:

    NEXT_PUBLIC_GEMINI_API_KEY=your_actual_api_key_here
  4. Run the development server

    npm run dev
  5. Open http://localhost:3000 with your browser.

🎨 Design Philosophy

The application is designed to be "Anti-Social Media". Instead of likes, infinite scrolls, and comparison, it focuses on:

  • Slowness: Deliberate pacing to encourage reflection.
  • Depth: Conversations that go below the surface.
  • Anonymity: No profiles, no avatars, just souls connecting.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

This project is open source and available under the MIT License.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published