NutriSpan — Gamifying Longevity Science
A React Native app that turns longevity optimization into a game — with a Longevity Impact Score, 1,000+ food database, daily checklists, streaks, and achievements grounded in peer-reviewed science.
View ProjectNutriSpan — Gamifying Longevity Science
Most health apps track what you did. NutriSpan tells you whether what you did actually moves the needle on how long — and how well — you’ll live. It’s a longevity optimization tracker that synthesizes research from nine leading longevity books into an actionable daily system, wrapped in game mechanics that make healthy habits genuinely addictive.
I’m building NutriSpan because I realized that all the longevity knowledge I’ve accumulated — from Peter Attia’s exercise protocols to Michael Greger’s aging pathways to Matthew Walker’s sleep architecture — is useless if it sits in books. The challenge isn’t knowing what to do. It’s doing it consistently, every single day, for decades. That’s a game design problem, not a medical one.
The Core Innovation: Longevity Impact Score (LIS)
Every food, every habit, every supplement in NutriSpan has a Longevity Impact Score — a 0-100 composite that quantifies its evidence-backed impact on aging and healthspan. The LIS isn’t a calorie count or a simplistic “healthy/unhealthy” label. It’s calculated from five weighted dimensions:
- Factor breadth (30%) — How many of the 29 biological aging factors does this item positively influence?
- Evidence strength (25%) — Is the evidence from RCTs, observational studies, or mechanistic research?
- Dose accessibility (20%) — How practical is it to consume the effective dose daily?
- Nutrient density (15%) — Nutrients per calorie
- Harm absence (10%) — No significant downsides at recommended doses
The 29 factors span seven categories — diet, sleep, exercise, mental health, boost (sauna, cold exposure, red light), supplements, and things to avoid. Each factor maps to specific biological mechanisms: gut microbiome diversity, mitochondrial function, NAD+ levels, autophagy, chronic inflammation, and more.
The Food Database: 1,000+ Items Scored for Longevity
NutriSpan ships with a comprehensive database of over 1,000 foods covering typical European supermarket and market items across 17 categories — from nuts and seeds to seafood, fermented foods, herbs, and even items to avoid. Every food entry includes:
- Longevity Impact Score with the five-factor breakdown
- Factor mapping showing which aging pathways it influences and at what impact level (high, moderate, low)
- Key compounds — the specific molecule that matters (sulforaphane in broccoli sprouts, spermidine in wheat germ, EGCG in matcha)
- Recommended serving size and frequency based on the research
- Evidence rating (1-3 stars) so you know how solid the science is
- Source references back to the original research and books
Foods in the “avoid” category (ultra-processed foods, excess sugar, trans fats) get low or negative LIS scores and appear with warning indicators — making it immediately clear when a food choice is working against your longevity goals.
Gamification: Making Decades of Consistency Fun
This is where NutriSpan diverges from every health app I’ve tried. The longevity game is played over decades, not weeks — so the gamification has to reward consistency and breadth, not just intensity.
Daily Score
Every day you get a composite score (0-100) based on your checklist completions, food choices, and factor coverage. The daily checklist has 40 items across the seven categories — from “8+ hours sleep” to “30g+ fiber” to “10 minutes meditation.” You don’t need to hit 100 every day. You need to stay above 50 consistently.
Streaks and Achievements
The achievement system is designed around the real timescales of longevity:
| Achievement | Condition | Tier |
|---|---|---|
| Week Warrior | 7-day streak (score > 50) | Bronze |
| Monthly Master | 30-day streak | Silver |
| Centenarian Path | 100-day streak | Gold |
| Year of Life | 365-day streak | Platinum |
| Full Spectrum | Hit all 29 factors in one day | Gold |
| Rainbow Week | 30+ unique foods in one week | Silver |
| Gut Hero | 30g+ fiber logged 7 days straight | Silver |
| Endurance Engine | Zone 2 cardio 5x/week for 4 weeks | Gold |
| Autophagy Ace | Hit 20mg spermidine target 7 days | Silver |
| Elite Day | Score 90+ in a single day | Gold |
| Optimized Month | Monthly average above 80 | Gold |
| Clean Streak | 14 days with zero “Avoid” items | Silver |
Weekly and Monthly Reports
Each week you get an analytics breakdown: daily score trend, category averages, factor coverage percentage, best day, and newly unlocked achievements. Monthly reports show long-term trends — improving, stable, or declining — plus your most consumed beneficial foods and neglected factors that need attention.
AI-Powered Meal Planning
NutriSpan includes an AI meal planner that generates longevity-optimized recipes. You select up to five foods from your database (or from a “food basket”), choose a meal type (breakfast, lunch, dinner, salad, soup, or bowl), and the AI creates a recipe that maximizes LIS coverage while respecting your dietary preferences — from carnivore to vegan.
Each generated meal comes with its own longevity score and factor coverage map, so you can see exactly how it contributes to your daily targets.
The Scientific Foundation
Every recommendation, score, and factor association in NutriSpan is derived from these core texts:
- How Not to Age (Michael Greger) — 11 aging pathways, Anti-Aging Eight, food-pathway matrix
- Outlive (Peter Attia) — Exercise protocols, metabolic health, Medicine 3.0
- Fiber Fueled (Will Bulsiewicz) — Gut microbiome, prebiotic fiber, short-chain fatty acids
- The Good Gut (Sonnenburg) — Microbiota-accessible carbohydrates, gut-immune axis
- Burn (Herman Pontzer) — Constrained energy model, metabolic adaptation
- Good Energy (Casey Means) — Metabolic health, mitochondrial function, glucose stability
- Lifespan (David Sinclair) — NAD+, sirtuins, epigenetic reprogramming
- Why We Sleep (Matthew Walker) — Sleep architecture, circadian rhythm
- The Stress Solution (Rangan Chatterjee) — 4-pillar stress framework
This isn’t generic wellness advice scraped from the internet. It’s a curated synthesis of hundreds of studies, cross-referenced across multiple expert perspectives.
Tech Stack
- React Native + Expo — cross-platform iOS and Android with managed workflow
- TypeScript throughout (strict mode)
- Expo Router for file-based navigation
- Zustand for state management (lightweight, no boilerplate)
- MMKV for persistent local storage (10x faster than AsyncStorage)
- SQLite via expo-sqlite for the food database and tracking history
- react-native-reanimated for smooth animations
- i18next for internationalization (English + German)
- Local-first architecture — the app works fully offline, no account required
- Future: Apple HealthKit / Google Health Connect integration for automatic step, sleep, heart rate, and VO2max import
Why I’m Building This
After years of manually tracking my longevity protocol across spreadsheets, notes, and various apps, I wanted a single tool that understands the why behind each health choice — not just the what. The existing health app landscape either oversimplifies (step counters), overcomplicates (clinical dashboards), or ignores the science entirely (generic wellness).
NutriSpan sits at the intersection of three things I care deeply about: longevity science, product design, and making complex information actionable. If I can turn “eat 30g of fiber, hit Zone 2 cardio four times this week, address autophagy pathways, and sleep 8+ hours” into a game that’s actually fun to play — then the decades of consistency that longevity demands become achievable.