SuppleZ: Biohacking PWA Encyclopedia

5 minutes read

Architecture: Offline-First PWA (Zero-Framework)
Stack: Vanilla JavaScript (ES6+), IndexedDB, Service Worker, CSS Glassmorphism
Version: v4.0 / v4.1 Production

Purpose & Problem Statement

Nutritional supplementation, nootropics, and human biohacking represent a multi-billion-dollar global commercial machine. A typical individual seeking to optimize sleep architecture, mental focus, athletic endurance, or metabolic health is met with three fundamental challenges:

  1. Information Pollution & Commercial Bias: The vast majority of online resources are commercial supplement storefronts or sponsored influencer endorsements engineered to peddle high-margin proprietary blends with sub-therapeutic doses.
  2. Dangerous Interactions & Absorption Collisions: Users frequently stack multiple bioactive compounds without understanding molecular receptor mechanics, biological half-lives, or gastrointestinal transport competition (e.g., co-administering zinc and iron which compete for the same DMT1 transporter, or stacking 5-HTP with stimulants/SSRIs risking serotonin syndrome).
  3. Privacy Exploitation: Health tracking platforms routinely demand account creation, harvest biomarker telemetry, and monetize sensitive health profiles across data brokers.

SuppleZ was designed as an uncompromising antidote: a transparent, evidence-based compendium, interaction analyzer, and personal protocol journal. It sells no physical products, runs zero advertisements, contains no telemetry beacons, and uses zero third-party tracking cookies.

All personal logging, dosing stacks, and self-reported efficacy metrics remain 100% private and sandboxed strictly inside your local browser via client-side IndexedDB persistence.


Architecture & Technology Stack

The application adheres strictly to a Zero-Framework Architecture philosophy — eschewing megabytes of npm package dependencies in favor of native web platform capabilities:

LayerChosen TechnologyArchitectural Rationale & Trade-offs
Client EngineVanilla JavaScript (ES6+)Zero third-party runtime frameworks (no React, Vue, or Angular overhead). Instant launch latency (< 30 ms), zero vulnerability footprint across dependencies
Async Storage EngineIndexedDB & LocalStorage (db.js)Robust asynchronous local database with automated schema migrations for personal stack entries and dosage history
Offline ArchitectureService Worker API (sw.js)True Progressive Web App (PWA) installable on desktop and mobile home screens. Cache-First for static assets, Network-First for database bundles; 100% offline capable
Visual DesignCSS3 Custom Properties & GlassmorphismHardware-accelerated UI with seamless light/dark mode transitions, fluid CSS Grid layouts, and tactile micro-interactions
Data NormalizationNormalized JSON (supplements.bundle.json)Pharmacological schema with granular scientific evidence ratings and clinical risk triage indicators across 9 categories

Core Engineering Modules

1. Real-time Interaction Checker

An intelligent client-side validation engine auditing substance combinations in user stacks:

2. Circadian Phase Scheduling (4 Daily Blocks)

Automatically computes pharmacokinetics and stratifies substances into four biological intake windows:

  1. Fasted Morning: High-bioavailability amino acids and peptides (e.g., L-Tyrosine, B-Complex, BPC-157).
  2. Mid-Morning Meal: Fat-soluble compounds requiring dietary lipids for lymphatic transport (e.g., Vitamin D3 + K2, Omega 3 EPA/DHA).
  3. Pre-Workout / Afternoon Focus: Hemodynamic vasodilators and cholinergic cognitive enhancers (e.g., L-Citrulline, Caffeine, Alpha-GPC).
  4. Pre-Sleep Downtime: GABAergic modulators supporting slow-wave deep sleep (e.g., Magnesium Bisglycinate, Apigenin, Glycine).

3. Visual Peptide Reconstitution Calculator

4. Pharmacological Classification & Scientific Evidence Grading