Settings

Theme

Show HN: Liftosaur – Weightlifting tracker app for coders

liftosaur.com

26 points by astashov 3 years ago · 9 comments · 2 min read

Reader

I made a weightlifting tracker app specifically for coders.

In weightlifting, progressive overload is one of the most important parts of gaining muscle. You should constantly increase weights, reps, use different set schemes, and that will make your muscles grow.

There're many weightlifting programs, using various overloading schemes - linear increasing of weights, some periodic ladder-up increase, switching to different set schemes in case of failures, etc. You can implement all of that in Liftosaur.

It works this way: each exercise may define a bunch of variables, that could be changed when you finish a workout. It could be weight, your 1 rep max, number of successful attempts, etc. You can use those variables in reps and weight values. To update the variables, you define a script, that will change them after you've done all the sets of the exercise. The script may change them based on whether you successfully done all the sets x reps, or if you failed any of the sets.

For scripting, I added a super simple scripting language with JavaScript-like syntax called Liftoscript. It mostly only supports if/else, variable setting, and has some built-in types like numbers, pounds and kilograms.

The app contains a bunch of built-in programs, they all are implemented using Liftoscript, and completely customizable. Check it out!

arran-nz 3 years ago

Very impressive! I appreciate all the effort that has clearly gone into the documentation - I'm going to try this with the Strong Lifts program.

Have you considered FDroid for distribution as you're using the AGPL license? [0]

[0]: https://github.com/astashov/liftosaur

  • astashovOP 3 years ago

    Thanks! Yeah, there was a similar issue on Github - https://github.com/astashov/liftosaur/issues/37.

    But I'm frankly not super familiar with FDroid and alternative stores, and have no idea how hard or easy to distribute it there. The main benefit is that'd be available for devices without Google services, right? Or something else?

    • arran-nz 3 years ago

      Yeah, for people living a de-googled life - For example, people running LineageOS or GrapheneOS.

natalia-a 3 years ago

Tried it, it looks pretty cool, I could use it. A bit confusing at the beginning, a lot of stuff going on, probably would benefit from some tutorial.

Would really help to provide some examples or maybe a library of scripts, right now it's a bit unclear how to write those scripts and what the syntax is.

zoover2020 3 years ago

Amazing! As an avid lifter this is a really cool concept. Any background on the DSL implementation?

Will try it soon :)

dsabanin 3 years ago

Congrats on the launch, it looks great! I'm thinking of giving it a go.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection