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.
- 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.
- 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.
- 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.
- 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.
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS v4 (Custom Design System)
- AI: Google Gemini API (
2.0-flashwith robust fallback) - Database & Auth: Firebase (Firestore, Auth)
- Maps: Google Maps JS API & Places API
- Animations: Framer Motion
-
Clone the repository:
git clone https://github.com/yourusername/tattva-web.git cd tattva-web -
Install dependencies:
npm install
-
Environment Setup: Create a
.env.localfile 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
-
Run Development Server:
npm run dev
Open http://localhost:3000 to view the app.
This project is open source and available under the MIT License.
Built with ❤️ for Public Health.
