Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Stormynubee/psoriasis-companion

Repository files navigation

πŸŒΏπŸ–οΈ Psoriasis Companion (with Aether Touchless Control)

Vercel Deploy React 19 TypeScript MediaPipe Dexie Accessibility First

A privacy-first, offline-capable Progressive Web App (PWA) built to help individuals track chronic psoriasis flare-ups, schedule medication routines, and analyze wellness correlationsβ€”now integrated with the Aether Hands v2.0 computer vision engine.

Featuring completely touchless gestural control, this application solves the daily physical strain faced by individuals with severe joint pain, psoriatic arthritis, dactylitis ("sausage fingers"), or painful cracking skin on their palms and fingers by allowing them to navigate and log symptoms entirely in mid-air.

🌐 Launch Live Application


🩺 The Accessibility Breakthrough

Standard digital inputs (tapping hard glass touchscreens, clicking mouse keys, or keyboard typing) require high physical pressure and fine-motor finger movement. For someone with severe palm plaques or inflamed joints, this interaction is exhausting, splits bleeding skin, and worsens symptoms.

Psoriasis Companion with Aether Control shifts input from the tactile realm to the optical realm:

  • Zero Skin Contact: Camera tracking replaces glass tapping.
  • No Joint Squeezing: Eliminates painful physical pinch movements.
  • EMA Smoothing Filter: Dampens high-frequency webcam hand jitter to create a smooth, high-precision cursor overlay.

πŸ”’ Offline-First, Privacy-First Architecture

Health data is highly sensitive. This app operates under a Local-First model. All camera frames captured during gestural tracking are processed purely in local browser memory client-side using MediaPipe's Web SDK. No video feed, coordinates, symptom logs, or skin photos are ever uploaded to a server or third-party service.

graph TD
    A[Webcam Feed] -->|Client-Side Frame| B[MediaPipe JS SDK]
    B -->|21 3D Joint Landmarks| C[useGestureTracking Hook]
    
    C -->|Lateral wrist velocity| D[Air Swipes: Cycle Tabs]
    C -->|EMA Dampening Filter| E[Glow Cursor Reticle]
    
    E -->|Coordinate overlap check| F[useDwellClick Hook]
    F -->|Hover still 1.5s| G[Programmatic Click Trigger]
    
    G -->|Med Checkbox / Tab Select| H[React App State]
    G -->|SVG Body Map Placement| I[Body Map Silhouette]
    
    H & I -->|Store schema transactions| J[Dexie.js Offline Layer]
    J -->|Encrypted Base64 Storage| K[(Browser IndexedDB)]
Loading

πŸ–οΈ Touchless Gestural Matrix

When Touchless Gesture Mode is activated under settings, the user controls a floating glowing cursor via natural, mid-air movements.

Gesture Action Target Visual Indicator Accessibility Benefit
Hover Pointer Moves the floating neon-cyan cursor Glowing reticle following index tip Requires no screen contact or physical pressure
Dwell (Hover 1.5s) Triggers left click on buttons/inputs Neon-magenta circular stroke ring loading Eliminates the need to physically pinch or tap
Air Swipe Left Switches to next panel (right) HUD feedback label Zero fine-motor finger motion required
Air Swipe Right Switches to previous panel (left) HUD feedback label Zero fine-motor finger motion required
Body Map Hover Selects anatomical flare-up spots Glowing red dot indicator Mark inflammation maps touchlessly

πŸš€ Key Features

  • πŸ“± Installable Progressive Web App (PWA): Installs natively on iOS or Android directly from the browser, offering offline capabilities.
  • πŸ”’ Zero-Server Storage: All symptom timeline histories, logs, and photos reside securely on device hardware via Dexie.js (IndexedDB wrapper).
  • πŸ—ΊοΈ Touchless Body Silhouette Mapping: Features a minimalist vector silhouette where users hover their hand in mid-air to map active flare-up regions.
  • βš™οΈ Custom Accessibility Sliders: Directly adjust the Cursor Smoothing weight (EMA Alpha) and Dwell Delay Speed from the settings panel.
  • πŸ“Š Correlative Analytics Engine: Compares symptom logs with lifestyle metrics (stress, sleep) to provide personalized skin wellness insights.
  • πŸŒ™ Cyber-HUD Dashboard: A semi-transparent glassmorphic edge menu displaying active webcam channels, FPS rates, and tracking quality indicators.

πŸ“ Repository Directory Structure

β”œβ”€β”€ public/                 # PWA icons, manifest files, and static graphics
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ dashboard/      # MedChecklist, Silhouette BodyMap
β”‚   β”‚   β”œβ”€β”€ history/        # Timeline logs, calendars, and past details
β”‚   β”‚   β”œβ”€β”€ layout/         # Navigation and PWA wrapper shell
β”‚   β”‚   β”œβ”€β”€ log/            # Photo input and symptom evaluation sliders
β”‚   β”‚   β”œβ”€β”€ settings/       # Medication schedulers and Gesture preferences
β”‚   β”‚   └── trends/         # Analytics charts and custom insight logs
β”‚   β”œβ”€β”€ db/                 # Dexie.js schema declarations and DB instantiations
β”‚   β”œβ”€β”€ hooks/
β”‚   β”‚   β”œβ”€β”€ useGestureTracking.ts  # MediaPipe setup, EMA filter, swipe velocity
β”‚   β”‚   β”œβ”€β”€ useDwellClick.ts       # Coordinate overlap scanner & dwell timer clock
β”‚   β”‚   └── useInsights.ts         # Lifestyle symptoms correlation analyzer
β”‚   β”œβ”€β”€ App.tsx             # Shell layout mounting, custom reticles & Edge HUD
β”‚   β”œβ”€β”€ main.tsx            # Main bootstrap entry
β”‚   └── index.css           # Custom CSS variables, neon cursor, HUD panels

πŸ› οΈ Bootstrapping & Local Development

βš™οΈ System Requirements

  • Node.js: Version 18.0 or higher
  • Package Manager: npm

πŸš€ Setup Steps

  1. Clone the repository:

    git clone https://github.com/Stormynubee/psoriasis-companion.git
    cd psoriasis-companion
  2. Install node packages:

    npm install
  3. Start the local hot-reload dev server:

    npm run dev

    Open browser target: http://localhost:5173.

  4. Verify the TDD Hook Test Suite: Run our comprehensive Vitest unit tests confirming the dwell-click timer accuracy:

    npm run test

πŸ“ License

Distributed under the MIT License. See LICENSE for more information.


Designed with care for the chronic illness, disabled, and neurodivergent community by Stormynubee | Digital Reality Architect.

About

Psoriasis Management PWA built with React and Dexie.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages