#exercise #health #terminal

app workout

A basic workout app for doing HIIT Cardio

4 releases

0.1.3 Oct 21, 2021
0.1.2 Oct 20, 2021
0.1.1 Oct 20, 2021
0.1.0 Oct 20, 2021

#23 in #exercise

CC-BY-SA-4.0

2MB
977 lines

Workout!

This package is designed to be used while working out. It gives a list of workouts that are saved in the data directory. This is located by default under $HOME/.config/workouts but can be overridden with the WORKOUT_CONFIG_DIR environment variable.

If you want to add more workouts you can easily use the import/example.yml file as a model for yours.

The basic idea is starting with a warmup with time provided in the input file then doing 20/20/20/60 intervals. So it comes out to 60 seconds of work and 60 seconds of rest, but you are doing three different exercises for each set.

To install this package a simple cargo install workout will automatically install the executable and the config files.

CAUTION!

This installs files under your config directory WORKOUT_CONFIG_DIR or $HOME/.config/workouts by default. If you later run cargo uninstall workout these files will be left and must be removed manually.

Dependencies

~4–34MB
~532K SLoC