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.

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