FitSutra
Track · Reduce · Maintain
Welcome to FitSutra
Track · Reduce · Maintain
⚡
Demo Mode
— Firebase not configured.
Use any number + OTP
123456
Mobile Number
🇮🇳 +91
Get OTP →
We'll send a 6-digit OTP to verify your number.
By continuing you agree to our Terms & Privacy Policy
Verify OTP
Code sent to +91 XXXXXXXXXX
Demo: enter 1 2 3 4 5 6
6-Digit Code
Didn't get OTP?
Resend in 30s
Verify & Continue →
← Change Number
Step 1 of 3
Skip →
← Back
Continue →
Good morning,
Warrior 👋
🔥
1
day
S
0
/1800
Calories
0
/2.5L
Water
0
kcal
Burned
Protein
0
g
/90g
Carbs
0
g
/220g
Fats
0
g
/60g
Remaining today
+1800 kcal
Current Weight
--
kg
Tap to log
Log weight daily to see progress
Quick Log
🥗
Log Meal
0 items today
🧘
Log Workout
0 sessions
💧
Water
0ml / 2500ml
⚖️
Log Weight
Not logged yet
Today's Meals
View all →
No meals logged yet
Food Log 🍽️
0
Eaten
1800
Goal
1800
Left
0g
Protein
0g
Carbs
0g
Fat
Exercise Log 💪
Track your movement today
0
kcal burned
0
minutes
0
sessions
Select Workout Type
🧘
Yoga
🏋️
Bodyweight
🚶
Walking
🔥
HIIT
🚴
Cycling
🏊
Swimming
Duration
10 min
20 min
30 min
40 min
45 min
60 min
Estimated Calories Burned
Yoga · 40 min
160
✓ Log This Workout
Today's Sessions
Workout Plans
🌱 Beginner
🔥 Intermediate
Water Tracker 💧
Goal: 2.5L / day
⚙️ Settings
0%
0
ml
of 2500ml daily goal
0
0%
2500ml
2500ml remaining
Quick Add
⏰ Next Reminder:
--:--
Every 60 min · 06:00 – 22:00
Snooze 15m
⚙️ Reminder Settings
Wake Time
Sleep Time
Interval:
60
min
Daily Goal:
2500
ml
Save Settings
Cancel
S
User
+91 XXXXXXXXXX
Stats
Diet Q&A
Settings
FitSutra Admin
Sign in to manage your app
Admin Password
👁️
Sign In →
← Back to App
FitSutra Admin
Control Panel
Sign Out
📊 Overview
👥 Users
🍽️ Food DB
💪 Exercises
🏠
Home
🍽️
Food
💪
Exercise
💧
Water
👤
Profile
Log Today's Weight ⚖️
Weight (kg)
Save Weight
Cancel
Add to Breakfast
✕
grams
roti
bowl
scoop
piece
cup
ml
Add to Meal
✅ Saved
// Fix 100vh on mobile browsers function setVH() { const vh = window.innerHeight * 0.01; document.documentElement.style.setProperty('--vh', vh + 'px'); } setVH(); window.addEventListener('resize', setVH); // Improve scroll performance on mobile document.addEventListener('touchstart', function(){}, {passive: true}); document.addEventListener('touchmove', function(){}, {passive: true}); // ── PWA Install Prompt ── let deferredPrompt = null; window.addEventListener('beforeinstallprompt', (e) => { e.preventDefault(); deferredPrompt = e; // Show banner only if not dismissed before if (!localStorage.getItem('pwa-dismissed')) { setTimeout(() => { document.getElementById('pwa-banner').style.display = 'block'; }, 3000); // show after 3 seconds } }); document.getElementById('pwa-install-btn').addEventListener('click', async () => { if (deferredPrompt) { deferredPrompt.prompt(); const { outcome } = await deferredPrompt.userChoice; if (outcome === 'accepted') { document.getElementById('pwa-banner').style.display = 'none'; localStorage.setItem('pwa-installed', '1'); } deferredPrompt = null; } else { // Fallback for iOS / browsers without beforeinstallprompt showIOSInstallGuide(); } }); window.addEventListener('appinstalled', () => { document.getElementById('pwa-banner').style.display = 'none'; localStorage.setItem('pwa-installed', '1'); toast('🎉 FitSutra installed on your home screen!'); }); function showIOSInstallGuide() { const isIOS = /iphone|ipad|ipod/i.test(navigator.userAgent); if (isIOS) { alert('To install FitSutra:\n\n1. Tap the Share button (box with arrow)\n2. Scroll down and tap "Add to Home Screen"\n3. Tap "Add"'); } else { alert('To install FitSutra:\n\n1. Tap the 3-dot menu (⋮) in Chrome\n2. Tap "Add to Home screen"\n3. Tap "Add"'); } } // Auto-show on second visit const visitCount = parseInt(localStorage.getItem('visit-count') || '0') + 1; localStorage.setItem('visit-count', visitCount); if (visitCount >= 2 && !localStorage.getItem('pwa-dismissed') && !localStorage.getItem('pwa-installed')) { setTimeout(() => { if (!deferredPrompt) { // Show manual install guide banner for iOS const isIOS = /iphone|ipad|ipod/i.test(navigator.userAgent); if (isIOS) { document.getElementById('pwa-banner').style.display = 'block'; } } }, 2000); } // Register service worker if ('serviceWorker' in navigator) { window.addEventListener('load', () => { navigator.serviceWorker.register('/sw.js').catch(() => {}); }); }
Install FitSutra
Add to home screen for the best experience
Install
✕