Skip to content

About

What do you think bro, don't spike your cortisol

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Divinity Workout Tracker

Installable workout PWA deployed on Cloudflare Workers, using Supabase Auth and Postgres persistence.

The default programme is the six-day upper/lower schedule in data/programs.js: low volume (at most two sets per exercise), every muscle trained several times a week, upper days of 7-8 exercises and short 3-4 exercise lower days. It has no hinge movement. Existing accounts keep their saved schedule until you tap Reset plan in the schedule editor. The dashboard highlights today's day, current exercise, prescribed sets/reps, and set progress. The interface uses one workout profile; legacy rows under other profile keys are left untouched.

Tracking

  • Logs one work or warm-up set per save.
  • Generates the current, completed, and upcoming sets from the active programme.
  • Captures exercise, rep range, set number, and scheduled set count with each set so later programme edits do not rewrite history.
  • Starts and persists the rest timer after every saved set.
  • Supports skipped sets, editing, soft-delete, and undo.
  • Queues new sets locally while offline and syncs them after reconnecting.
  • Tracks weight, reps, volume, estimated 1RM, load PRs, and recent-versus-prior performance.

The old daily_checkins table is deliberately left untouched so historical body-weight data is not destroyed. The app no longer reads, validates, writes, imports, or reports daily check-ins. Body weight is now an optional profile value used only for relative strength standards.

Strength standards

Supported exact movements:

  • Barbell squat (squat-variation)
  • Stiff-leg deadlift (no longer in the default programme, kept for historical logs)
  • Incline bench press
  • Shoulder/overhead press

The app estimates 1RM with the Epley formula, divides it by body weight, and compares that ratio with the selected men's or women's reference. Levels are Beginner, Novice, Intermediate, Advanced, and Elite. Warm-ups are excluded. Machine exercises and ambiguous combinations such as “leg press / squat” are shown as unsupported rather than treated as equivalent.

Reference tables were checked on 2026-07-28:

These are community training-log benchmarks, not general-population norms or medical advice. A calculated level uses estimated 1RM rather than a judged competition lift.

Supabase setup

Apply migrations in timestamp order, including:

supabase/migrations/20260728150000_add_per_set_tracking.sql

It adds profile-level standard inputs and non-destructive per-set snapshots. Existing owner-based Row Level Security remains in force. The browser contains only a publishable Supabase key; never add a secret or service-role key.

Development

npm.cmd install
npm.cmd test
npm.cmd run build
npm.cmd run deploy

For local UI testing, serve dist/ and open it with ?preview=1. Test iPhone 13 sizing at 390 × 844 and desktop at 2560 × 1440.

About

What do you think bro, don't spike your cortisol

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages