TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Liftosaur – Weightlifting tracker app for coders

26 点作者 astashov超过 2 年前
I made a weightlifting tracker app specifically for coders.<p>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.<p>There&#x27;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.<p>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&#x27;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.<p>For scripting, I added a super simple scripting language with JavaScript-like syntax called Liftoscript. It mostly only supports if&#x2F;else, variable setting, and has some built-in types like numbers, pounds and kilograms.<p>The app contains a bunch of built-in programs, they all are implemented using Liftoscript, and completely customizable. Check it out!

4 条评论

arran-nz超过 2 年前
Very impressive! I appreciate all the effort that has clearly gone into the documentation - I&#x27;m going to try this with the Strong Lifts program.<p>Have you considered FDroid for distribution as you&#x27;re using the AGPL license? [0]<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;astashov&#x2F;liftosaur">https:&#x2F;&#x2F;github.com&#x2F;astashov&#x2F;liftosaur</a>
评论 #34903505 未加载
natalia-a超过 2 年前
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.<p>Would really help to provide some examples or maybe a library of scripts, right now it&#x27;s a bit unclear how to write those scripts and what the syntax is.
评论 #34901988 未加载
zoover2020超过 2 年前
Amazing! As an avid lifter this is a really cool concept. Any background on the DSL implementation?<p>Will try it soon :)
评论 #34904933 未加载
dsabanin大约 2 年前
Congrats on the launch, it looks great! I&#x27;m thinking of giving it a go.
评论 #34928002 未加载