Lurker News
Hey everyone,

I here is a small open-source project I've been working on lately. I'd love to hear your thoughts and improvement ideas :)
GitHub: [github.com/Vincenius/workout-lol](https://github.com/Vincenius/workout-lol)

Comments (281) 88 threads

Earlier comments
rzmmm#
Seems to work nicely. I like how it saves the workout even without registering.
hamasho2 replies#
If you don't mind, can I ask why you use plain JavaScript rather than TypeScript?

The product is truly remarkable, so what technologies used under the hood doesn't matter, but I think TypeScript is natural choice, especially if you 1) start a project from scratch in 2023, 2) have complex local states like choosing equipment and body parts, and proceeding exercises step by step until completed in a single page, and 3) have complex data structure (like exercises, histories, and seamless connection between locally stored data and remotely stored data used only after registering).
edit: typo

kaesve#
Not the OP, but I still start most of my projects without TypeScript, especially if I'm working on it by myself. I do appreciate TypeScript, and I will happily use it in any bigger project or when I have collaborators. But there's just something that I really enjoy about being able to start a project without any build steps or installing stuff. I love to be able to just jam out some code and open a file in a browser to run it, or rsync it to my server and share it with my friends.
Vincenius1 reply#
Sure. To be honest, it's mostly because of laziness. I'm more used to plain JS than to TypeScript, so I'm faster this way.

I also always thought TS is a bit too much for small apps like this, but I get that it would make sense to use it if others want to contribute as well.

hamasho#
Thanks! It's reasonable. But I'm pretty sure yours is more complex than many typical SaaS or CRUD-based websites.
blfr#
Great app from the UX/UI perspective. The progression from saving in the browser and only requiring an account later is very nice as well. Perhaps the only thing missing is a start over button.

As for exercise selection, it returns a lot of niche moves and exotic variants. Which makes it interesting but probably not a good fit for someone who would be most likely to use this app, ie. isn't an intermediate+ body builder already. Occasionally the recommendations are just bad (crunches).
Certainly a welcome addition for someone looking for variety though.

somethingreen#
Good job! Couple suggestions:

- Put heavy compound movements before isolation - tiring themselves before compounds is what I see a lot of beginners do.
- Consider encoding exercise selection in URL so it can be bookmarked/shared.
- Dip bars?

Load more comments