Hacker News new | ask | show | jobs
Show HN: I built an open-source local-first app to track my workouts (workout.tanay.xyz)
3 points by tanaykarnik 670 days ago
I built an app to create, time, and track workouts and sync them across multiple devices.

- Built with Nuxt + Nuxt UI

- Stores data locally in the browser using SQLite

- Local-first with CRDTs using cr-sqlite

- PWA that works fully offline

- Peer-to-peer sync with PeerJS

1 comments

Congrats on shipping. This is a cool project!

One thing I noticed I was able to start a workout without giving it a name. Then when I got to the timer the time in the top left of my screen was a second faster than the main timer. When I clicked done it told me the time from the main timer and not the one in the top corner. I’m wondering if you need the timer in the corner at all?

I like the design I think I might try it out for my next workout.

thanks for trying!

the timer on the top left tells you the total elapsed time on the workout, including pauses. whereas the main timer only does a countdown/stopwatch for the current exercise.

and yes, you can leave exercise and workout names empty. i'll add some basic validation everywhere.

and yes, do let me know how it goes after you try it out!