Your family's health, explained. iCare gives a family one place to see a year of health data for everyone (including a grandparent who lives in another city), understand it in plain language, check in with an AI by chat or FaceTime, look up any medicine's official FDA warnings, and find the right specialist nearby.
🌐 Live app: https://icare-wall-e9.vercel.app · Built at Emory Hacks 2026 (Healthcare track) · Not medical advice. All patient data is fictional.
Our demo follows the Rivera family, a fictional family with a full year of Apple Watch-style data.
- Family dashboard: everyone's latest month at a glance. Grandma Rosa is tracked remotely from Savannah.
- Rosa's page → BP tab: her blood pressure jumped to 151/90 this summer (missed doses) and recovered after an August medication review.
- Check-in: pick Rosa → Get my yearly summary (Gemini explains her year), then Start check-in. Type "I have chest pain" to see the emergency guardrail.
- Medicines: search a store brand like wal-zyr → cetirizine. Open lisinopril for the FDA boxed warning, then ✨ Explain this label simply.
- Specialists: real, licensed doctors near Rosa from the national NPI Registry.
- Powered by Tiger Data: 2.1M readings, 97% compression, live speed test.
- FaceTime: Rosa doesn't need an app. She can FaceTime iCare and the same check-in answers by voice (Chert + Gemini Live).
| Feature | How |
|---|---|
| Family health dashboard with 12-month trends and an hour-by-hour day view | 2.1M minute-level readings in Tiger Data, served from continuous aggregates in a few ms |
| AI wellness check-in (browser chat + FaceTime) | Gemini asks one question at a time using the person's own data; Chert + LiveKit + Gemini Live answer real FaceTime calls |
| Plain-language health summaries | Gemini turns a month or a year of trends into a short report with "things to ask your doctor" |
| Medicine search (typos, brands, symptoms, voice) | Typesense index enriched with RxNorm brand names and FDA "uses" text |
| Medicine pages with FDA boxed warnings + "Explain this label simply" | openFDA labels + MedlinePlus; Gemini explains using only the label's own text |
| Specialist finder | Each condition maps to a specialty; real providers near the family member from the CMS NPI Registry |
![]() | ![]() |
| Rosa's summer blood pressure spike and recovery | Gemini check-in and yearly summary |
flowchart LR
U[Family member<br/>browser or iPhone FaceTime] --> APP[Next.js app on Vercel]
U -- FaceTime --> CHERT[Chert + LiveKit agent<br/>Gemini Live voice]
CHERT --> APP
APP --> TIGER[(Tiger Data / TimescaleDB<br/>profiles + 2.1M vitals<br/>continuous aggregates)]
APP --> TS[Typesense<br/>medicine search]
APP --> GEM[Google Gemini<br/>check-ins, summaries, label explanations]
APP --> PUB[Public health data<br/>openFDA · RxNorm · MedlinePlus<br/>Clinical Tables · NPI Registry]
- Tiger Data is our only database: relational family profiles and high-frequency metric streams side by side; hypertables in 7-day chunks; 3 continuous aggregates (hourly, daily, monthly); 212.3 MB → 6.2 MB (97%) compression; dashboard queries in 2–5 ms on the live site.
- Safety first: one shared set of AI safety rules, an emergency check (chest pain, trouble breathing, stroke signs, suicidal thoughts) that answers with 911/988 before any AI call, no diagnoses, no medication or dose advice, and "not medical advice" on every screen. No real patient data anywhere.
- How we worked: all four of us coded with Claude Code inside identical Coder workspaces, with every change going through a reviewed pull request and a Vercel preview.
npm install
cp .env.example .env.local # add keys: see docs/API-KEYS.md (public medical data needs none)
npm run dev # http://localhost:3000 (3001 inside Coder)
Without keys the app still runs: Tiger Data falls back to built-in sample data, and the public medical databases need no keys.
Emory Hacks requires separating original work from frameworks.
Built during the hackathon (after 8PM Fri Nov 13, 2026):
- The iCare Next.js app and its API routes
- The Rivera family sample-data generator (daily and minute-level vitals) and the 38-medicine list
- Connectors for openFDA, RxNorm, MedlinePlus, NLM Clinical Tables and the NPI Registry, with condition-to-specialist matching
- Tiger Data schema (hypertables, continuous aggregates, compression), seed script and trend/cohort queries
- Typesense indexing enriched with RxNorm and FDA data
- Medicine search on Typesense (typo tolerance, facets, highlights, Rx/OTC and drug-class filters, local fallback if Typesense is down), a live search page with filter chips, voice search and "Family medicines" chips for each family member, a medicine detail page with FDA boxed warnings (repeated text removed), and a specialist finder page (per family member or any specialty near a city or ZIP)
- Search by photo on
/medicines(POST /api/medicines/photo): the 📷 button opens the phone camera, the browser shrinks the photo to 1024px, Gemini reads only the drug name printed on a box or bottle label, and the normal medicine search runs with it. For safety it refuses loose pills (never identifies a pill from its shape, color or imprint), returns names only (no doses or advice), and never stores or logs the photo - Typo-tolerant symptom search: misspelled uses like "insomnea" or "high blod presure" are corrected (MedlinePlus spelling suggestions, then our own medicine vocabulary, up to 3 wrong letters on long words) before searching our list and openFDA
- App shell and screens: landing page, family dashboard (latest month vs. the month before), per-person pages with 12-month trend charts and an hour-by-hour "zoom into a day" view, and a "Powered by Tiger Data" page with live storage, compression, benchmark and cohort charts
- Gemini AI layer (
src/lib/ai/): shared safety rules, an emergency red-flag check that runs before any AI call, compact member context from Tiger Data trends, and JSON-validated Gemini calls with retry - Gemini routes: monthly/yearly health summaries (
/api/ai/summary/<id>), wellness check-in chat (/api/ai/checkin), plain-language FDA label explanations (/api/ai/explain-label), and the voice agent's prompt and red-flag routes - The
/checkinpage: check-in chat, family member picker and monthly/yearly summary panel - Accounts and connections (
src/lib/auth/,/setup,/account): the iPhone as identity (one-time setup, no sign-in), connection requests with accept/decline/cancel, disconnect from either side with warnings, Full / Health summary / Basic levels with guardians, and an activity log, stored in Tiger Data - The iCare logo ("Family hearts" in golden peach glass), drawn as an SVG, plus the script that renders every app icon, the favicon and the Devpost thumbnail from it (
scripts/make-icons.mjs,src/components/BrandMark.tsx) (Cam) - Warm glass redesign (Cam): the family home on a turning platform with original Memoji-style portraits, 'What matters most' profile cards ordered per person, glass cards over warm artwork on every page, and spring motion (design ideas from transitions.dev, beUI, Rare UI and Canvas UI; no code copied)
- Health-app style redesign: "at a glance" chips and a highlight card on each person's page (computed from their trends), a liquid-glass navigation bar, and a soft color wash per section (TD)
- Installable app (PWA): web app manifest, home-screen icons, an offline page, and a service worker that never caches health data (
/api/*always goes to the network) (TD) - Connected dashboard and permission checks:
/dashboardand/family/<id>show only you and the people you're connected to, at the level they share; trends, vitals, check-ins, AI summaries and the check-in chat all check permissions on the server (the emergency check still runs first for everyone) - Medication reminders and dose tracking (
src/lib/reminders/,/api/reminders/<id>): schedules from the prescription label, a Taken button, missed doses, a 7-day grid, guardians logging for a parent or child, stored in Tiger Data - Family alerts (
src/lib/alerts.ts,/api/alerts): missed doses, high blood pressure and emergency check-ins, with detail limited by each viewer's sharing level - Doctor report (
/family/<id>/report,/api/report/<id>): a printable page with conditions, medicines, doses taken, a year of monthly averages, recent check-ins and alerts, plus Gemini's overview and questions to ask the doctor - The Chert FaceTime check-in agent (
chert-agent/agent.mjs): Gemini Live voice, iCare's shared prompts and safety rules, emergency check on every caller sentence - Recent FaceTime check-ins on
/checkin(src/components/CheckinHistory.tsx,GET /api/checkins/<id>): after each call the agent saves a short summary (never the transcript) with points, one next step and an emergency flag, shown newest first for you and anyone who shares Full access with you - FaceTime iCare call button on
/checkin(src/components/FaceTimeCall.tsx, built by TD): Start FaceTime call opens a FaceTime Video call to our Chert line from an iPhone, iPad or Mac, plus a copy-number button - The animated heart the caller sees on FaceTime (
chert-agent/face.mjs): a glowing glass heart with colored light flowing inside, drawn frame by frame in plain JavaScript; it breathes while listening and swells and glows while iCare talks
Frameworks, libraries and services used:
- Next.js, React, TypeScript, Tailwind CSS (scaffolded with
create-next-app) - Google Gemini API (
@google/genai):gemini-3.5-flash-litefor text, Gemini Live native audio (gemini-2.5-flash-native-audio-preview-12-2025) for FaceTime voice - Typesense Cloud (
typesense) - Web Speech API (built into the browser, no package): voice search on the Medicines page
- Motion (
motion, MIT): spring layout animations, the profile cards' fold-open and the rolling numbers - sharp (
sharp, installed with Next.js): renders the logo SVG into PNG app icons inscripts/make-icons.mjs - Recharts (
recharts): charts on the dashboard, family and Tiger Data pages - Tiger Data / TimescaleDB (
pg): our database for health history - Public data: openFDA (U.S. FDA), RxNorm/RxNav, MedlinePlus Connect, MedlinePlus Web Service (spelling suggestions) and Clinical Tables (U.S. National Library of Medicine), NPI Registry (CMS)
- Chert FaceTime (
@trychert/facetimeCLI);chert-agent/started from Chert's video-agent starter (chert-rooms.mjsandgreet.mjsare Chert's files;face.mjskeeps the starter's interface but the face drawing is ours) - Inigo Quilez's 2D heart signed distance function (iquilezles.org/articles/distfunctions2d): the heart shape in
chert-agent/face.mjs - LiveKit Agents for Node (
@livekit/agents,@livekit/rtc-node,@livekit/agents-plugin-google) and LiveKit Cloud - Coder (dev environments), Vercel (hosting)
- Cam — Lead / Product & Pitch
- Ish — AI & Video (Gemini + Chert)
- Jam — Search & Backend (Typesense + Tiger Data)
- TD — Frontend & Design
| File | What's in it |
|---|---|
| QUICKSTART.md | Get connected: Coder workspace, setup script, keys, Claude Code |
| CLAUDE.md | Team, rules, features and their live status, stack (Claude Code reads this automatically) |
| docs/WORKFLOW.md | How we work: branches, PRs, reviews, merges, deploys, keys, file ownership, timeline |
| docs/TEAM-PROMPTS.md | Copy-paste Claude Code prompts for each teammate's task, plus the PR review prompt |
| docs/API-KEYS.md | Which keys exist, who has them, adding them locally and in Vercel |
| docs/SAMPLE-DATA.md | The fictional Rivera family and the medicine list |
| docs/MEDICAL-DATA.md | Public medical databases, Tiger Data, and every API route |
| docs/ACCOUNTS.md | Accounts, family sharing, permission levels, and how features use them |
| docs/CHERT.md | The FaceTime check-in agent |
| docs/DEMO.md | 2-minute demo script, backups and likely judge questions |
| docs/DEVPOST.md | Submission draft and status |



