A lightweight, privacy-focused Intermittent Fasting & Water Tracker web app. Zero dependencies, single-file, fully installable as a PWA, and works completely offline.
- Smart Fasting Timer – Count Up or Count Down with real-time progress & hour markers
- Preset Protocols – 12:12, 14:10, 16:8, 18:6, 20:4, 23:1 (OMAD) + fully customizable FLEX hours
- Water Intake Tracker – Set daily targets, quick-add buttons, auto-resets at midnight
- Collapsible History & Stats – Editable notes, weekly analytics (total fasts, avg duration, completion rate), and CSV export
- Dual Notifications – In-app toasts (work without browser permissions) + optional native system alerts
- Audio & Haptic Feedback – Milestone chimes & mobile vibration
- Dark/Light Mode – System-aware with manual toggle & persistent preference
- Fully Installable PWA – Add to home screen, works offline, background service worker
- 100% Private – All data stored locally. No accounts, no tracking, no external servers
- Download or clone this repository
- Open
index.htmlin any modern browser - (Optional) Run a local server for full PWA support:
python -m http.serverornpx serve
- Android: Chrome →
⋮→Add to Home screen - iOS: Safari →
Share→Add to Home Screen - Desktop: Click the install icon in your browser's address bar
- HTML5 / CSS3 (Variables, Flexbox/Grid, Smooth Transitions)
- Vanilla JavaScript (ES6+, Web Audio API, Vibration API, Service Workers)
- LocalStorage for persistent state & preferences
- Zero Dependencies – No frameworks, no build steps, no external APIs
- All fasting logs, water intake, notes, and UI preferences are stored locally in your browser
- No internet connection required after first load
- Zero analytics, trackers, or third-party scripts
- Works seamlessly on
localhost,file://, or any static host
This project is licensed under the MIT License. Free to use, modify, and distribute.
Built for simplicity, speed, and your health. Stay hydrated & fast strong!