Nutrilens – Healthcare & Wellness Software | Vibe96

Healthcare & Wellness

Nutrilens

Source code included

AI nutrition tracker with clinical safety tiers, 20 diet protocols, and visual food memory for health-conscious users

Built by Nishat Raihana Prantik Updated 12 Nov 2026 41,193 lines of code

Open live demo Built withOpenAI CodexClaude CodeGitHub CopilotGoogle Antigravity

About this software

About Nutrilens

NutriLens is a full-stack nutrition-tracking web app built with Next.js 15 and Express/MongoDB. It features JWT authentication, an 8-step onboarding flow, and an AI food scanner that identifies meals using TensorFlow.js MobileNetV2 with 64-bit perceptual hashing for visual memory. The system applies clinical safety tiers (SAFE, CAUTION, MODERATE, LIMIT, AVOID) aligned with ADA, AHA, and KDIGO guidelines across 20 evidence-graded diet protocols. Users can log meals, track weight with charts, plan weekly menus, explore a vegetable reference library, and receive personalized diet recommendations based on their health profile.

Category: Healthcare & WellnessStack: Next.js 15.1 (React 19) + Express 4.21 · MongoDB 5.0+Built with: OpenAI Codex, Claude Code, GitHub Copilot, Google Antigravity Licence: Single-site, full source

Why Nutrilens

What makes it better
than the alternatives

  1. 01

    On-Device AI Vision

  2. 02

    Bit Visual Memory (dHash)

  3. 03

    Tier Clinical Compliance Engine

  4. 04

    Canonical 20-Diet System

  5. 05

    Adaptive Food Swap Intelligence

Authentication & Onboarding

  • JWT-based registration and login with HS256 signing (7-day stateless tokens)
  • Password reset flow with SHA-256 hashed tokens and SMTP email delivery (console fallback in dev)
  • 8-step nutrition assessment collecting biometrics
  • goals
  • health conditions
  • allergies
  • medications
  • and dietary preferences
  • Per-IP rate limiting on auth endpoints (configurable window and max attempts)
  • Account security page with password change requiring current password verification

AI Food Scanner

  • Browser-native TensorFlow.js MobileNetV2 classification with canvas chromatic and texture analysis
  • Multi-candidate suggestion chips (e.g.
  • Tomato
  • Red Bell Pepper
  • Cherry Tomato) for instant 1-click swap
  • 64-bit dHash perceptual fingerprinting stores user corrections in LearnedFoodMatch collection
  • Portion selector with live macro recalculation (grams
  • cups
  • pieces
  • servings)
  • 5-tier clinical safety evaluation SAFE/CAUTION/MODERATE/LIMIT/AVOID per active diet and medical conditions
  • Scan history with image thumbnails
  • detected items
  • and nutrition summaries

Meal Logging

  • Create
  • read
  • update
  • delete meal entries with type (breakfast
  • lunch
  • dinner
  • snack)
  • date
  • time
  • and notes
  • Multi-item meals with per-item and aggregate macros (calories
  • protein
  • carbs
  • fat
  • fiber)
  • Server-side total recalculation from items array on every update (client totals are never trusted)
  • Date-filtered meal retrieval for daily summaries and progress tracking
  • Image attachment support for meal photos

Diet Protocols & Recommendations

  • Canonical 20-diet catalog (Keto
  • Mediterranean
  • DASH
  • Paleo
  • Vegan
  • Low-FODMAP
  • Carnivore
  • etc.) served from JSON
  • Personalized diet ranking engine scoring protocols by user profile
  • goals
  • and medical conditions
  • Adopt diet flow with safety validation
  • professional review flags
  • and personalized macro target calculation
  • Food swap alternatives API suggesting diet-compliant substitutions with nutritional similarity scoring
  • Adaptive review endpoint tracking adherence
  • satisfaction
  • and side effects for plan adjustments

Weekly Meal Planner

  • Add
  • view
  • delete planned meal slots by day of week (0-6) and meal type
  • Pre-populate planner with diet-specific meal templates during onboarding
  • Drag-and-drop interface for rearranging planned meals across days
  • Nutrition totals per day and per week from planned meals
  • Copy planned meals to actual meal log with one click

Progress Tracking & Analytics

  • Weight log with upsert by date
  • chart visualization
  • and trend calculation
  • Nutrition history aggregating daily totals from meals over configurable period (default 30 days)
  • Progress summary combining weight logs and recent meal counts
  • Goal vs. actual comparison for calories
  • protein
  • carbs
  • fat
  • and fiber
  • Export all user data (profile
  • meals
  • scans
  • planner
  • weight logs) as JSON

Vegetable Reference Library

  • Browse 100+ vegetables with Bengali names
  • scientific names
  • and nutritional data per 100g
  • Search by name
  • alias
  • category
  • or scientific name with fuzzy matching
  • Category filtering (Leafy Greens
  • Root Vegetables
  • Cruciferous
  • etc.) and sorting by macros
  • Detailed modal with health benefits
  • cooking tips
  • storage advice
  • and seasonal availability
  • Portion calculator converting grams to cups/pieces with live macro updates
  • Offline fallback serving static VEGETABLES_DATA when MongoDB is unavailable

User Profile & Settings

  • Edit biometrics (height
  • weight
  • waist
  • target weight)
  • activity level
  • and primary goal
  • Manage health conditions
  • allergies
  • medications
  • and dietary preferences
  • Update nutrition targets (calories
  • protein
  • carbs
  • fat
  • fiber
  • water) manually or via diet adoption
  • Avatar upload and display
  • Account deletion with password confirmation (cascades to meals
  • scans
  • planner
  • weight logs)

Admin & Shared Food Catalog

  • Admin-only POST /api/foods endpoint for adding foods to shared catalog (emails in ADMIN_EMAILS env var)
  • Public GET /api/foods with category and search filtering for all users
  • Food model with name
  • category
  • macros per 100g
  • tags
  • and optional image URL
  • Seeder script populates 50+ Bangladeshi foods and vegetables on npm run seed

Quality report

Manually reviewed

85/ 100

Automated audit score

✓ Approved by our review team

Listed after manual review.
Audit run: 20 Oct 2026
Reviewed by Vibe96 staff, Dubai.

Security88
Code structure84
Docs & completeness73
Dependency health88
Build & deploy72
Reviewer notes (2 minor)

Small improvements the developer has been told about. None of them stop the software from working.

Versions & updates

1.0.0
First release12 Nov 2026✓ Reviewed & audited

No updates yet. New versions appear here with a changelog.
Buyers receive updates free for 1 year.

Quality report

What you get

  • </>Full source codeThe complete audited source, delivered as a download from your account. No obfuscation.
  • ▤DocumentationSetup guide, architecture notes, CLAUDE.md and AGENTS.md.
  • ↻One year of updatesEvery new version the builder publishes, free for 12 months.
  • ♧30 days of supportInstallation and defect support through Vibe96 tickets.
$159Single-site licence Details