Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.7 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.7 KB

Weight Calculator for One Rep Max Sets (Using Rate of Perceived Exhaustion).

What is this?

This is a program that automates the process we follow at my gym to calculate the weight we should lift in our sets based on our RPE, one rep max, and set count.

What is RPE?

RPE stands for Rate of Perceived Exertion. It is a subjective measure used to gauge the intensity of exercise or physical activity, based on an individual's personal perception of how hard they feel they are working.

The RPE scale usually ranges from 1 to 10, where 1 represents a very light activity, and 10 represents an all-out maximal effort.

Source Material

From the shelves of Bay Strength

The Tech

This project was made with TypeScript, Deno and Denoflare. Setup was a breeze, try them!

I've also set up an iOS shortcut to actually use this at the gym.

ios-shortcut

Denoflare Server

Boot up the denoflare server by running the following command:

denoflare serve calculator

Test your server by performing an HTTP request. Pass your params in the headers of the request. Passing the parameters makes this program easier to use with Apple Shortcuts.

Example request:

## Get Weight
curl "http://localhost:3030/" \
     -H 'calculator_rpe: 8' \
     -H 'calculator_reps: 4' \
     -H 'calculator_weight: 155' \
     -H 'calculator_projected: 75'

Demo

demo