close
Skip to content

soniya-kolvekar/Tattva

Repository files navigation

Tattva - Bringing Truth to Health 🌱

Tattva is an AI-powered health awareness platform designed to break taboos around women's health, mental wellness, and sensitive medical topics. It provides a safe, anonymous, and judgment-free space for users to track their health, seek advice, and connect with professionals.

Tattva Banner

🚀 Features

🤖 Ask Tattva (AI Chatbot)

  • Empathetic AI: Powered by Google Gemini, Tattva answers sensitive health queries with medical accuracy and empathy.
  • Privacy First: Anonymous interactions with no judgment.
  • Smart Context: Understands follow-up questions and maintains conversation history.

🩸 Mood & Cycle Tracker

  • Daily Check-in: A 4-step wizard to track Sleep, Energy, Mood, and Social connection.
  • AI Analysis: Analyzes your daily inputs to determine your mood color and provides personalized health tips.
  • Calendar View: Visual history of your wellness journey.
  • Dark Mode: Fully supported beautiful dark theme.

🩺 Find a Doctor

  • Smart Location: Automatically locates nearby specialists (Gynecologists, Psychologists, etc.) within 20km.
  • Verified Data: Fetches real-time doctor listings and reviews via Google Maps/Places API.
  • Easy Access: Direct links to directions and booking info.

💬 Community Support

  • Anonymous Board: Share your story and read others' experiences without revealing your identity.
  • Safe Space: Connect with others facing similar challenges (PCOS, Anxiety, etc.).
  • Interactions: Like, Save, and Reply to posts to build a supportive network.

🛠️ Tech Stack

  • Framework: Next.js 14 (App Router)
  • Language: TypeScript
  • Styling: Tailwind CSS v4 (Custom Design System)
  • AI: Google Gemini API (2.0-flash with robust fallback)
  • Database & Auth: Firebase (Firestore, Auth)
  • Maps: Google Maps JS API & Places API
  • Animations: Framer Motion

📦 Getting Started

  1. Clone the repository:

    git clone https://github.com/yourusername/tattva-web.git
    cd tattva-web
  2. Install dependencies:

    npm install
  3. Environment Setup: Create a .env.local file in the root directory and add your keys:

    NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_key
    NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
    NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
    NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_bucket
    NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
    NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
    
    GOOGLE_GEMINI_API_KEY=your_gemini_key
    NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=your_maps_key
  4. Run Development Server:

    npm run dev

    Open http://localhost:3000 to view the app.

📄 License

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


Built with ❤️ for Public Health.

About

"Tattva: An AI-powered health companion blending modern tech with empathetic care. Features a private AI chatbot, intelligent mood/cycle tracker, doctor finder, and anonymous community support. Built with Next.js, Tailwind, and Gemini AI."

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages