Back to all projects

MedX

Scan a medication label, cross-check it against OpenFDA, and get a plain-language risk assessment of drug interactions.

Context
Hacklytics 2025
Recognition
2nd place, healthcare track, Hacklytics 2025
My role
One of four builders on a Hacklytics team; the code is public on my GitHub.
  • React Native
  • Expo
  • OpenFDA
  • Gemini
  • Firebase

Try it: MedX on a phone

Scan a medicine box, look it up, schedule it, and check two medicines against each other, the way the app does.

Welcome back

Today’s schedule

No medications yet.

  1. Open the app
  2. Scan a medicine box
  3. Look it up on openFDA
  4. Set dosage and schedule
  5. Add a second medicine
  6. Check interactions

What’s happening

MedX is a React Native app. You start with an empty schedule; tap Scan a medication.

Product and label data are real openFDA records, recorded 2026-11-28. The interaction step shows label text instead of the app's Gemini summary. Not medical advice.

The problem

People taking several medications rarely know which combinations are risky, and labels are hard to read.

MedX logging a medication by scanning its package barcode with the phone camera, then setting the dosage.
Logging a medication by scanning its barcode. From the team's Devpost gallery.
MedX's drug interaction screen: an interaction between two logged medications with a description, the dosage impact and a recommendation.
The interaction check between logged medications. From the team's Devpost gallery.

How it works

Expo appApp.tsxBarcode scan(tabs)/scan.tsxNDC parsescan.tsx: extractNDCOpenFDA lookupapi/medications.tsFirestore medscontext/MedicationContext.tsxGemini checkapi/drugInteractions.tsInteractions tab(tabs)/interactions.tsxExpo appApp.tsxBarcode scan(tabs)/scan.tsxNDC parsescan.tsx: extractNDCOpenFDA lookupapi/medications.tsFirestore medscontext/MedicationContext.tsxGemini checkapi/drugInteractions.tsInteractions tab(tabs)/interactions.tsx
From a barcode to a plain-language interaction check. Steps: Expo app, then Barcode scan, then NDC parse, then OpenFDA lookup, then Firestore meds, then Gemini check, then Interactions tab.Source: github.com/hxxtsxxh/MedX: app/(app)/(tabs)/scan.tsx, app/(app)/api/*.ts, app/context/MedicationContext.tsx

Constraints

  • Built in a hackathon weekend as a mobile app.
  • Health information must come from an authoritative source rather than the model alone.

Decisions

Scan instead of type

The camera reads the barcode on the medication package and looks the drug up by its NDC code, so nobody has to type drug names.

OpenFDA for facts, Gemini for explanation

OpenFDA supplies side effects and interaction data. Gemini explains the risk in plain language and powers an assistant for follow-up questions.

Reports people can share

User logs are summarized into personalized PDF reports that can be brought to a doctor.

What broke

Where it stands

Placed 2nd in the healthcare track at Hacklytics 2025. Code is public under the MIT license.

Sources: heettshahh.com project list (snapshot 420314e); Public résumé, September 2026; github.com/hxxtsxxh/MedX README and repository description; devpost.com/software/medx-d7tle6.

How this works

The whole site is one night photograph made of light. Scroll to develop each exposure; the light follows your pointer.

Keyboard

J or K
Next or previous exposure (home page)
C
Camera settings: shutter, aperture, ISO, ND filter
P
Pause or play all motion
S
Sound on or off
⌘K, Ctrl K or /
Jump to a project, page or skill
?
This help

Everything here is also plain text: each project has its own page, and the résumé has a text version.