SANJEEVANI

we are here to take care of your health

HackNex Season 2Shipped September 26, 2026#general#ai#health
Repo
SANJEEVANI banner

About

## Challenges we ran into

Challenges we ran into 1. Orchestrating a Dual-AI Architecture

The Challenge: We wanted our Voice Assistant to feel conversational and instant, but we also needed deep reasoning to simplify complex medical reports via OCR. Using one AI model for both caused either massive latency or poor reasoning.

The Fix: We built a custom backend aiDispatcher.js that routes tasks intelligently. We handed off real-time voice processing to Groq for ultra-low latency, while routing our heavy document-parsing and JSON-structuring tasks to Gemini.

  • Building Custom Voice Activity Detection (VAD) in the Browser

The Challenge: We wanted a frictionless voice experience where the user didn't have to awkwardly click "Stop Recording." However, browsers don't natively tell you when someone stops speaking.

The Fix: We tapped into the Web Audio API to build our own silence detection. By hooking an AudioContext and AnalyserNode to the user's MediaStream, we created a frame loop that monitors volume frequencies. If the volume drops below the speaking threshold for exactly 3 seconds, it seamlessly auto-stops and processes the audio without memory leaks.

  • Taming Unstructured Medical Data (OCR to Database)

The Challenge: Taking a photo of a messy, jargon-filled medical report and reliably saving the extracted data (like specific medicines and conditions) directly into our relational Supabase database.

The Fix: We engineered strict prompting guardrails for the Gemini API, forcing it to return a validated JSON object with specific conditions and medicines arrays. We then wired this directly to an "Add to Health Tracker" pipeline, turning a static image into actionable database records in one click.

  • The Mid-Hackathon Product Pivot

The Challenge: Halfway through the hackathon, we realized our platform was leaning too heavily into "reactive emergency response," which felt disconnected from how people actually manage their health daily.

The Fix: We made the tough decision to ruthlessly cut features. We removed redundant AI cards, scrapped incomplete features, and completely rebuilt our dashboard grid into a clean, 3x3 matrix. This pivot allowed us to focus our entire narrative on proactive medical literacy rather than just panic response.

  • State and Database Persistence

The Challenge: During testing, we hit a critical bug where restarting our Node.js backend would completely wipe our database tables, erasing all the patient data we had just logged via the Health Tracker.

The Fix: We had to deep-dive into our backend initialization scripts and ORM synchronization configurations to isolate the reset commands, ultimately stabilizing our connection to Supabase to ensure permanent, session-proof data storage.

## The problem it solves

Project Name: Sanjeevani | Personal Health Companion

Tagline: Bridging the gap between complex medical data and proactive, everyday health management.

The Problem

Navigating personal healthcare is notoriously overwhelming. Patients are routinely handed lab reports filled with indecipherable medical jargon, family health histories are scattered across paper files, and understanding minor symptoms often leads to internet-induced anxiety. The healthcare system is largely reactive. We realized there is a massive gap for a proactive, centralized platform that empowers individuals to understand, organize, and manage their daily health and wellness before acute issues arise.

The Solution

Sanjeevani is a comprehensive, AI-driven health management platform designed for the everyday user. We stripped away the clinical complexity to create a friendly, intuitive companion that helps users decode their medical data, track ongoing wellness, and manage their family’s health ecosystem in one secure place. It is not about reacting to crises; it is about building medical literacy and maintaining continuous well-being.

Core Features

AI Report Simplifier: A powerful OCR-driven tool that allows users to upload complex lab reports, prescriptions, or medical scans. Using AI, it translates dense medical jargon into clear, easily digestible summaries, ensuring patients actually understand their own health data.

Voice-Powered Health Assistant: A hands-free, multilingual (English, Hindi, Bangla) symptom checker. Instead of doom-scrolling medical wikis, users can speak naturally about how they feel to receive calm, AI-assisted guidance on routine care and the next best steps.

Continuous Health Tracker: A digital medical diary where users can log daily health events, monitor chronic conditions, and manage medication schedules.

Care Circle & Health Profile QR: A centralized hub to keep track of family medical histories. Users can securely consolidate their data and generate a unified Health Profile QR code, making it incredibly easy to share accurate medical backgrounds during routine checkups or when visiting a new specialist.

Healthcare Resource Locator: An integrated, real-time map mapping system to locate nearby clinics, specialized healthcare facilities, and blood banks for planned medical needs.

Technical Architecture

Frontend: React.js (Vite), Tailwind CSS for a highly accessible, responsive UI.

Backend: Node.js, Express.

Database & Authentication: Supabase for secure, scalable user management and data persistence.

AI Integration: A custom AI Dispatcher routing tasks between Gemini (for deep contextual reasoning like Report Simplification) and Groq (for ultra-low latency voice processing).

Real-Time Data: WebSockets powering live facility and resource updates.

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.