Skip to content

risuhfoundry/Vaidy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

58 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation


Vaidy

Vaidy

Your AI Health Copilot โ€” Built for India ๐Ÿ‡ฎ๐Ÿ‡ณ

Not a chatbot. A health brain that reads your reports, remembers your history, and explains everything in plain language.


Live Demo GitHub Repo Next.js TypeScript Tailwind CSS Framer Motion


๐Ÿ–ผ๏ธ Preview


๐Ÿ“– Overview

India has 1.4 billion people and a significant gap between medical knowledge and patients. Lab reports arrive full of jargon, reference ranges are context-free, and most people have no easy way to understand what their own health data means.

Vaidy bridges that gap. It acts as a personal health intelligence layer โ€” reading any diagnostic report you upload, building a longitudinal health timeline, detecting trends across visits, and answering your questions in plain language. Supports all major Indian diagnostic labs including Apollo, Thyrocare, Lal Path Labs, Dr. Lal and 50+ more.


โœจ Features

Feature Description
๐Ÿ“„ Reads Any Report Blood tests, MRIs, prescriptions โ€” in English or Hindi
๐Ÿง  Remembers Everything Builds your personal health timeline automatically
๐Ÿ’ฌ Plain Language Always No jargon. Explanations anyone can follow
๐Ÿ“ˆ Trend Detection Spots patterns and anomalies across reports over time
๐Ÿค– Ask Anything Chat with your full health history like a conversation
๐Ÿ‡ฎ๐Ÿ‡ณ India-First Understands Apollo, Thyrocare, Lal Path Labs, Dr. Lal & 50+ Indian lab formats

๐Ÿ› ๏ธ Tech Stack

Frontend

Technology Version Purpose
Next.js 14 (App Router) React framework, SSR/SSG
React 18 UI library
TypeScript 5 Type safety
Tailwind CSS 3.4 Utility-first styling
Framer Motion 12 Animations & transitions
Inter โ€” Typography (via next/font)

Design System

  • Color palette โ€” Deep void black (#050508) background with emerald (#34d399) and teal (#5eead4) accent colors
  • Glass morphism โ€” Frosted glass cards using backdrop-blur and semi-transparent borders
  • Custom animations โ€” float, pulse-glow, shimmer, wave keyframes in Tailwind config and CSS
  • Responsive โ€” Mobile-first layout, collapsible navigation, horizontal-scroll timeline on small screens

๐Ÿš€ Getting Started

Prerequisites

  • Node.js >= 18.17.0
  • npm / yarn / pnpm / bun

Installation

# 1. Clone the repository
git clone https://github.com/akyourowngames/Hackthon-healthcare-agent.git
cd Hackthon-healthcare-agent/frontend

# 2. Install dependencies
npm install

# 3. Start the development server
npm run dev

Open http://localhost:3000 in your browser.

Available Scripts

npm run dev      # Start development server with hot reload
npm run build    # Create production build
npm run start    # Serve production build locally
npm run lint     # Run ESLint

๐Ÿ“ Project Structure

frontend/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ globals.css          # Global styles, CSS variables, keyframe animations
โ”‚   โ”œโ”€โ”€ layout.tsx           # Root layout with Inter font & metadata
โ”‚   โ””โ”€โ”€ page.tsx             # Main page โ€” assembles all sections
โ”‚
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ Navbar.tsx           # Sticky navbar with animated mobile menu
โ”‚   โ”œโ”€โ”€ Hero.tsx             # Full-screen hero with glow orbs & particle field
โ”‚   โ”œโ”€โ”€ GlowOrbs.tsx         # Animated radial gradient background orbs
โ”‚   โ”œโ”€โ”€ ParticleField.tsx    # Deterministic SVG particle animation
โ”‚   โ”œโ”€โ”€ UploadPreview.tsx    # Drag-and-drop report upload UI
โ”‚   โ”œโ”€โ”€ ExplainDemo.tsx      # Typewriter AI explanation demo
โ”‚   โ”œโ”€โ”€ HealthTimeline.tsx   # Horizontal scrollable health history timeline
โ”‚   โ”œโ”€โ”€ FeatureCards.tsx     # 6-card animated feature grid
โ”‚   โ”œโ”€โ”€ FinalCTA.tsx         # Conversion section with animated CTA button
โ”‚   โ””โ”€โ”€ Footer.tsx           # Footer with navigation links
โ”‚
โ”œโ”€โ”€ public/                  # Static assets (SVG icons)
โ”œโ”€โ”€ tailwind.config.ts       # Extended design tokens (colors, fonts, animations)
โ”œโ”€โ”€ postcss.config.mjs       # PostCSS configuration
โ”œโ”€โ”€ next.config.mjs          # Next.js configuration
โ””โ”€โ”€ tsconfig.json            # TypeScript configuration

๐ŸŽจ Design Highlights

Animations

  • Particle Field โ€” Uses a seeded pseudo-random number generator so particles render identically on server and client (no hydration mismatch)
  • Shimmer Border โ€” CSS ::before pseudo-element with animated background-position creates a traveling light effect on the upload card
  • Glow Orbs โ€” Layered float and wave animations create organic, depth-of-field-like background motion in the hero
  • Typewriter Effect โ€” useEffect interval drives character-by-character text reveal with regex-based keyword highlighting

Accessibility

  • All interactive elements have focus-visible ring styles
  • Decorative SVGs marked aria-hidden="true"
  • Mobile navigation toggle has aria-expanded and aria-controls
  • Timeline rendered as a semantic <ol> with <article> cards

๐ŸŒ Deployment

The project is deployed on Vercel via automatic GitHub integration.

To deploy your own instance:

# Install Vercel CLI
npm i -g vercel

# Deploy from the frontend directory
cd frontend
vercel

Or connect your fork to vercel.com for automatic deployments on every push to main.


๐Ÿ—บ๏ธ Roadmap

  • Backend API integration for real report parsing (OCR + LLM pipeline)
  • Hindi language UI support
  • Persistent health profile with authentication
  • PDF / image report ingestion (Apollo, Thyrocare, AIIMS formats)
  • Doctor-facing summary export
  • WhatsApp / SMS report upload flow for feature-phone users
  • Trend graphs with interactive charts (Recharts / D3)

๐Ÿค Contributing

Contributions are welcome! Here's how to get started:

# Fork the repo, then:
git checkout -b feature/your-feature-name
git commit -m "feat: add your feature"
git push origin feature/your-feature-name
# Open a Pull Request

Please follow the existing code style โ€” TypeScript strict mode, Tailwind utility classes, and Framer Motion for all animations.


๐Ÿ“„ License

This project was built for a healthcare hackathon. See LICENSE for details.


Made with โค๏ธ for India ย ยทย  Built at a Healthcare Hackathon

vaidy.vercel.app

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors