Skip to content

Medly: AI-Powered Health Assistant That Transforms Symptom Tracking Into Clinical Intelligence. Generate Professional SOAP Notes, Prepare Smarter For Doctor Visits, And Take Control Of Your Health Journey With Smart Medical Prep Technology.

Notifications You must be signed in to change notification settings

Iceman-Dann/Medly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

59 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ₯ Medly

The first consumer app that generates clinical-grade SOAP notes

and delivers real-time AI triage directly to patients.


MIT License TypeScript React 19 Vite 6 Firebase Gemini AI Vercel


πŸš€ Try the Live Demo β€” Click "Try Demo" β€” No account. No forms. One click.


70% of patients leave doctor appointments unheard. Medly ends that.



Medly β€” Translating Patient Language to Medical Language


Medly β€” Health Overview Dashboard


Medly β€” Data Entry vs Data Intelligence



πŸ“‹ The Problem

Reality Impact
70% of patients arrive at appointments unprepared Critical symptoms go unmentioned
Doctors average 7 minutes per visit No time to extract buried context
Patients describe symptoms from memory Patterns missed for months or years
$125,000,000,000 lost annually To preventable healthcare miscommunication
250,000 deaths/year From preventable medical errors

This isn't a niche problem. This is every family. Every appointment. Every day.


⚑ The Solution

Medly converts everyday symptom logs into clinical-grade SOAP notes β€” the exact structured format doctors use β€” in seconds.

Patient Language β†’ Clinical Language. Instantly.

What a patient says:

"I've had really bad headaches for months, worse around my period, nothing helps"

What Medly generates:

Section Clinical Output
[S] Subjective 32F. Chronic migraines 3 years. 47 episodes/90 days. Avg 7.2/10 severity. 8 missed workdays. Triggers: stress, poor sleep.
[O] Objective Frequency ↑ 40% MoM. 100% severity correlation with luteal phase. Photophobia in 89% of episodes.
[A] Assessment Pattern consistent with menstrual migraine. Hormonal trigger primary. Current treatment protocol misaligned.
[P] Plan CGRP monoclonal antibody evaluation. Hormonal panel referral. Sleep hygiene protocol. Follow-up in 4 weeks.

A specialist reads that in 30 seconds. That patient finally gets the right treatment.


🧠 Intelligence Layer

Medly doesn't just log symptoms β€” it reasons about them.

What Medly Analyzes What It Finds
Symptom frequency + severity over time Hidden escalation patterns
Menstrual cycle phase correlation Hormonal trigger identification
Sleep, weather, medication timing Root cause clustering
Historical pattern deviation Predictive risk alerts
Cross-symptom relationships Comorbidity flags
graph LR
    A[Symptom Log] --> B[Context Analysis]
    B --> C[Pattern Recognition]
    C --> D[SOAP Generation]
    D --> E[Provider Ready]

    style A fill:#1a1a1a
    style B fill:#2d2d2d
    style C fill:#404040
    style D fill:#535353
    style E fill:#666666
Loading

πŸ“Š Performance

Metric Result
App load time < 2 seconds
Database query speed 10ms
AI clinical response 1.2 seconds
Offline capability 100% β€” works without signal
Pattern recognition accuracy 94%
SOAP generation speed < 1.5 seconds
Clinician processing speed 3x faster than narrative text
xychart-beta
    title "AI Accuracy: Medly vs Alternatives"
    x-axis ["Manual Notes", "Basic Apps", "Medly"]
    y-axis "Accuracy %" 0 --> 100
    bar [35, 65, 94]
Loading

πŸ›  Tech Stack

Layer Technology Why
Frontend React 19 + TypeScript 5.8 + Vite 6 Cutting-edge, type-safe, lightning fast
AI Engine Gemini + OpenAI + Groq + Anthropic Multi-model redundancy for clinical reliability
Storage IndexedDB via Dexie 4 Offline-first, sub-10ms queries
Backend Firebase Auth + Edge Functions Secure, scalable, zero cold starts
Deployment Vercel Global CDN, instant availability
graph TB
    subgraph "Frontend"
        A[React 19.2.3]
        B[TypeScript 5.8.2]
        C[Vite 6.2.0]
        D[TailwindCSS]
    end
    subgraph "AI Layer"
        E[Google Gemini]
        F[OpenAI]
        G[Groq]
        H[Anthropic]
    end
    subgraph "Data & Storage"
        I[IndexedDB]
        J[Dexie 4.2.1]
        K[Firebase]
    end
    subgraph "Security"
        L[AES-256]
        M[Zero-Knowledge]
        N[PII Redaction]
    end
Loading

πŸ”’ Engineering Standards

This isn't a hackathon prototype. It's a production-grade system. Built solo. Every line.

Standard Implementation
Language 100% TypeScript β€” strict mode, no any
Encryption AES-256 end-to-end
PII Handling Auto-redacted before any external API call
Privacy Architecture Zero-knowledge β€” servers cannot read user data
Offline Support 100% functionality without internet
Compliance HIPAA + GDPR ready by architecture
Code Quality ESLint + Prettier enforced throughout
Version Control 46 commits β€” real development history

πŸ† Competitive Landscape

Feature Medly Bearable Symptoms Diary MySymptoms
SOAP Note Generation βœ… ❌ ❌ ❌
Real-time AI Triage βœ… ❌ ❌ ❌
Cycle Phase Correlation βœ… Partial ❌ ❌
Offline-First Architecture βœ… ❌ βœ… ❌
Multi-Model AI βœ… ❌ ❌ ❌
Clinical-Grade Output βœ… ❌ ❌ ❌
Zero-Knowledge Privacy βœ… ❌ ❌ ❌
Live Deployable Demo βœ… β€” β€” β€”

πŸ—‚ Repository Structure

Medly/
β”œβ”€β”€ components/           # Reusable UI components
β”‚   β”œβ”€β”€ EmergencyAlert.tsx
β”‚   β”œβ”€β”€ Sidebar.tsx
β”‚   └── TestComponent.tsx
β”œβ”€β”€ lib/                 # Core libraries
β”‚   β”œβ”€β”€ api/             # AI integrations (Gemini, OpenAI, Groq, Anthropic)
β”‚   β”œβ”€β”€ chat/            # Clinical AI interactions
β”‚   └── db/              # IndexedDB operations
β”œβ”€β”€ pages/               # Page components + routing
β”œβ”€β”€ services/            # Business logic services
β”œβ”€β”€ types.ts             # TypeScript type definitions
β”œβ”€β”€ App.tsx              # Main application component
β”œβ”€β”€ HealthContext.tsx     # Global health state management
β”œβ”€β”€ BENCHMARKS.md        # Performance methodology + accuracy testing
β”œβ”€β”€ API.md               # Full API documentation
β”œβ”€β”€ SECURITY.md          # Security + privacy policy
└── CHANGELOG.md         # Version history

πŸš€ Roadmap

Phase What Status
1 Core platform + symptom engine βœ… Live
2 Gemini clinical intelligence layer βœ… Live
3 Provider Prep Hub + SOAP generation βœ… Live
4 iOS + Android native apps πŸ”„ Q2 2026
5 Hospital APIs + EHR integration πŸ”œ 2027

βš™οΈ Quick Start

git clone https://github.com/Iceman-Dann/Medly.git
cd Medly
npm install
cp .env.example .env.local
npm run dev

Open http://localhost:5173

Environment Variables

# AI Providers
VITE_GEMINI_API_KEY=your_key
VITE_OPENAI_API_KEY=your_key
VITE_GROQ_API_KEY=your_key
VITE_ANTHROPIC_API_KEY=your_key

# Firebase
VITE_FIREBASE_API_KEY=your_key
VITE_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your_project_id

Scripts

npm run dev           # Development server
npm run build         # Production build
npm run preview       # Preview build
npm test              # Run tests
npm run lint          # ESLint
npm run format        # Prettier
npm run type-check    # TypeScript check

πŸ“š Documentation

Document Description
BENCHMARKS.md Performance methodology + accuracy testing
API.md Complete API reference
CONTRIBUTING.md Contribution guidelines
SECURITY.md Security + privacy policy
CHANGELOG.md Version history


πŸš€ Try It Live Β β€’Β  πŸ“ Repository Β β€’Β  πŸ“„ API Docs


Built solo. Every line. Every decision. Every feature.

For the patients who left appointments still unheard.


About

Medly: AI-Powered Health Assistant That Transforms Symptom Tracking Into Clinical Intelligence. Generate Professional SOAP Notes, Prepare Smarter For Doctor Visits, And Take Control Of Your Health Journey With Smart Medical Prep Technology.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages