Skip to content

AndreaBonn/LifeTrackByBonn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏋🏻‍♂️ Life Tracker by Bonn

Your health, all in one place

Open the App

📱 Installable as app  ·  ☁️ Cloud sync  ·  📴 Works offline

Versione Italiana   Security Policy


📖 Table of Contents


🎯 What is Life Tracker

Life Tracker is a free and comprehensive Progressive Web App (PWA) for personal health monitoring. Track your weight, sleep, calories, steps, vital parameters, meals, and medications in one application, accessible from any device with no installation required.

Every piece of data you enter is automatically analyzed to provide personalized insights, correlations between your habits, and concrete suggestions to improve your well-being.


💡 What it's for

Life Tracker is designed for those who want to:

  • Monitor their health comprehensively and organized
  • Achieve goals for weight, fitness, and wellness
  • Understand their habits through automatic analysis and correlations
  • Have everything in one place without using separate apps for weight, sleep, calories, and steps
  • Sync data with Google Fit for automatic tracking
  • Visualize progress with clear and interactive charts
  • Receive suggestions personalized based on their data

Why it's useful

  • Everything in one place — no more switching between different apps
  • Automatic insights — the app analyzes your data and shows you patterns you wouldn't spot on your own
  • Clear charts — visualize trends over time with filters for week, month, or year
  • Concrete goals — set target weight, daily calories, steps, and sleep hours
  • Google Fit sync — data from your phone arrives automatically
  • Works everywhere — on smartphones, tablets, and desktops, even offline
  • Free and unlimited — no subscription, no ads

🚀 How to use it

1️⃣ Sign up

Go to personal-health-by-bonn.web.app, create an account with email and password, and verify your email.

2️⃣ Complete your profile

Enter your name, date of birth, gender, physical activity level, and target weight. The app automatically calculates your daily caloric needs (TDEE).

3️⃣ Set your goals

Define:

  • Target weight — the weight you want to reach
  • Daily calories — calorie goal based on your TDEE
  • Daily steps — how many steps you want to take each day
  • Sleep hours — how much you want to sleep each night

The app will use these values to color-code charts and give you real-time feedback.

4️⃣ Start logging your data

Every day you can record:

  • Body weight — with complete history and BMI calculation
  • Sleep hours — with hours/minutes picker or precise bedtime and wake-up times
  • Calories consumed — with surplus/deficit calculation vs TDEE
  • Steps taken — with personalized goal
  • Blood pressure, heart rate, glucose — vital parameters with dedicated charts
  • Water, coffee, alcohol, cigarettes — daily counters with statistics
  • Meals consumed — food diary with weight, quantity, and calories
  • Medications taken — reminders with automatic renewal every 3 months

5️⃣ Connect Google Fit (optional)

From the settings section, you can connect your Google Fit account. From that moment on, weight, steps, calories, sleep, glucose, blood pressure, heart rate, and workouts will sync automatically in both directions.

6️⃣ Read your insights

The app automatically analyzes your data and shows you:

  • Personalized suggestions based on your progress
  • Correlations between habits (e.g., "you sleep better on days when you walk more")
  • Comparisons with previous periods (weeks and months)
  • Advanced analysis across 7 categories for sleep

✨ Key features

⚖️ Body weight

  • Complete history with trend chart
  • Monthly calendar with color coding (green = improvement, red = moving away from goal)
  • Automatic BMI (Body Mass Index) calculation
  • Target weight setting with goal date
  • Edit and delete historical data

😴 Advanced sleep

  • Log hours slept with intuitive hours/minutes picker
  • Or enter precise bedtime and wake-up times
  • Insight system across 7 categories:
    • Schedule patterns
    • Perceived quality
    • Consistency
    • Correlations with other data (weight, calories)
    • Personalized recommendations
    • Trends over time
    • Weekly comparisons

🩺 Vital parameters

  • Blood pressure — with automatic classification (optimal, normal, hypertension)
  • Heart rate — with daily and aggregated charts
  • Glucose — with categories (low, normal, prediabetes, diabetes)
  • Dedicated charts for each parameter
  • Complete history with edit capability

🍎 Calories and TDEE

  • Automatic TDEE (Total Daily Energy Expenditure) calculation based on your profile
  • Daily calorie intake tracking
  • Insights on caloric surplus and deficit
  • Simple mode (total only) or detailed mode (rest + activity)
  • Charts with personalized goal

🥗 Meal plan and diary

  • Weekly plan — create alternatives for breakfast, snacks, lunch, and dinner
  • Food diary — log what you actually eat with weight, quantity, and calories
  • Detailed ingredients — add precise amounts for each alternative
  • CSV export — export complete meal plan

💧 Detailed diet

  • Daily counters for:
    • Water (glasses or liters)
    • Coffee (cups)
    • Alcohol (units)
    • Cigarettes (number)
  • Weekly and monthly statistics
  • Trend charts over time

🏃 Physical activity

  • Daily steps with personalized goal
  • Workout plans customized by day of the week
  • Completed workouts log with sport, duration, and notes
  • Automatic sync with Google Fit

💊 Medications

  • Medication reminders with dosage, frequency, and time
  • Automatic renewal every 3 months — never forget to restock your medications
  • Notifications when a medication is about to expire
  • Complete history with start and end dates

🧠 Smart insights

The analysis engine identifies:

  • Patterns in your habits (e.g., "you sleep less on weekends")
  • Correlations between different data (e.g., "you weigh less when you walk more")
  • Comparisons between periods (current week vs previous, current month vs previous)
  • Personalized suggestions based on your progress

🔄 Google Fit

  • Bidirectional sync of:
    • Body weight
    • Daily steps
    • Calories burned
    • Sleep hours
    • Glucose
    • Blood pressure
    • Heart rate
    • Completed workouts
  • Secure OAuth 2.0 authorization
  • Automatic data updates

📱 Telegram

  • Connect your Telegram account to receive:
    • Weekly report with your progress
    • Monthly report with detailed analysis
  • Automatic notifications via bot

🎨 Customization

  • Choose which sections to display — hide the ones you don't use
  • Reorder tabs — organize the interface as you prefer
  • Instant language switch — Italian and English with one click
  • Modern theme — responsive and mobile-first design

📊 Data export

  • Export all your data in CSV format
  • Complete backup for each section
  • Compatible with Excel, Google Sheets, and other software

📴 PWA — Installable and offline

  • Add to home screen on your phone just like a native app
  • Works even without internet connection thanks to Service Worker
  • Automatic updates when you come back online

🛠️ Technologies

Life Tracker is built with modern and reliable technologies:

  • Frontend: Vanilla JavaScript, HTML5, CSS3 (no framework, maximum speed)
  • Backend: Firebase (Firestore, Authentication, Cloud Functions, Hosting)
  • Charts: Chart.js for interactive visualizations
  • APIs: Google Fit API for fitness sync, Telegram Bot API for notifications
  • Architecture: PWA with Service Worker for offline support
  • Security: Advanced Firestore rules, Firebase authentication, data validation

🔒 Privacy and security

Your privacy is fundamental:

  • Encrypted data — all data is protected by Firebase
  • User isolation — each user sees only their own data
  • Secure authentication — Firebase Authentication with email and password
  • Security rules — Firestore Security Rules prevent unauthorized access
  • No sharing — your data is never sold or shared with third parties
  • Automatic backup — data is saved in the cloud and synced across all devices

For more details, see the Security Policy.


❓ FAQ

Is it really free?

Yes, Life Tracker is completely free and unlimited. No subscriptions, in-app purchases, or ads.

Do I need to install anything?

No, Life Tracker is a Progressive Web App — it works directly in the browser. However, you can add it to your phone's home screen to use it like a native app.

Does it work offline?

Yes, thanks to the Service Worker you can use Life Tracker even without an internet connection. Data will sync automatically when you come back online.

Can I use it on multiple devices?

Yes, your data is saved in the cloud and automatically synced across all devices where you log in with the same account.

How does Google Fit sync work?

You connect your Google Fit account from settings and authorize access. From that moment on, data is synced automatically in both directions.

Can I export my data?

Yes, you can export all your data in CSV format for each section of the app.

Is it secure?

Yes, Life Tracker uses Firebase for authentication and database, with advanced security rules that prevent unauthorized access. Your data is encrypted and protected.


💬 Support

Have questions, suggestions, or found a bug?

  • 💬 Feedback: See the Feedback Guide for all the ways to provide feedback
  • 📧 Email: Contact me through my GitHub profile
  • 🐛 Bugs: Open an issue on this repository
  • Star: Leave a star if Life Tracker has been useful to you!

👤 Author and license

Life Tracker is created and maintained by Andrea Bonacci.

License

The source code of Life Tracker is private and not publicly distributed. However, the use of the web application is completely free for personal use.

What you can do:

  • ✅ Use the app for free for personal purposes
  • ✅ Share the link with friends and family
  • ✅ Suggest improvements and new features

What you cannot do:

  • ❌ Copy, modify, or distribute the source code
  • ❌ Create derivative versions or clones of the application
  • ❌ Use the app for commercial purposes without authorization

For more details, see the LICENSE.md file.


No installation required · Works on all devices · Data safely stored in the cloud


If Life Tracker has been useful to you, leave a ⭐ to this repository!

Check out my other projects on GitHub too.


© 2025 Andrea Bonacci — All Rights Reserved

Versione Italiana   Security Policy

About

A comprehensive Progressive Web App for personal health tracking. Monitor weight, sleep, calories, steps, vital parameters, meals, and medications—all in one place. Features intelligent insights, Google Fit sync, Telegram reports, and offline support. Built with vanilla JavaScript and Firebase for maximum performance.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Contributors