GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - begoon/imf: IMF diet calculator for Lyle McDonald's Intermittent Modified Fasting book

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
NOTES.md
NOTES.md
 
 
README.md
README.md
 
 
index.html
index.html
 
 
og.png
og.png
 
 

Repository files navigation

IMF Calculator

A diet setup calculator for Lyle McDonald's book Intermittent Modified Fasting (2026).

Live at demin.ws/imf

What it does

Given your bodyweight, body fat %, activity level, and training, it calculates everything needed to set up an IMF diet following the charts in the book:

  • Diet category (1/2/3) from the sex-specific body fat table, with a DEXA correction option, plus lean body mass and fat mass
  • RFL day ("fasting" day) — minimum protein target scaled to category, lean body mass and training type; estimated calories, daily deficit, and fat loss per RFL day; fish oil (EPA/DHA) dose
  • Maintenance day ("feasting" day) — TDEE via the book's method (BMR by category × activity and per-hour exercise multipliers, with an optional +10% for the thermic effect of food to match the official online calculator), protein held equal to the RFL day, fat at 0.25–0.5 g/lb, carbohydrates from the remaining calories
  • Weekly plan — a color-coded 7-day schedule for the chosen IMF pattern (6:1, 5:2, 4:3/3:4 alternate-day, ICR, 2:5, 1:6) with estimated weekly fat loss and total weekly deficit

Supports lb/kg, light/dark mode, and mobile widths. All values update live.

Tech

A single self-contained index.html — vanilla JavaScript, no dependencies, no build step. Open the file in a browser and it works.

Deployed with GitHub Pages.

Disclaimer

The calculator only covers the basic setup — read the book for the full method. Not medical advice: very-low-calorie days are not appropriate for everyone.

About

IMF diet calculator for Lyle McDonald's Intermittent Modified Fasting book

demin.ws/imf/

Topics

calculatorfastingintermittent-fastingnutritionpsmf

Resources

Readme
Activity

Stars

3 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.