Show HN: Programmable timer web app (for gym workouts or stretching sessions)
Over the last couple of months, I’ve been building a timer web app for myself that I use for workout and stretching sessions. My main use-case is gym routines that consist of repeatable sequences, e.g. where you are holding certain positions for a set time (rinse and repeat). The app counts down the program, beeps, and reads the activities out loud. Two things (I suppose) are special about it: - The timers are “programmable”, so you can freely express your own routines and procedures in a declarative notation. - The app is all static (no backend): the entire program is encoded in the URL and can be bookmarked or shared/transferred via QR-code. You can check it out at https://timer.jotaen.net , optionally with a demo program pre-loaded: https://timer.jotaen.net/#demo . Source code is at https://github.com/jotaen/timer . I’ve also written up a small behind-the-scenes on my blog: https://www.jotaen.net/SAKxq
Discussion Highlights (4 comments)
r3trohack3r
My first reaction to this before clicking the link: why would anyone want a programmable timer? After clicking the link and seeing the demo: man, I’ve always wanted a programmable timer. This is awesome, can see myself using this for workouts and focus sessions. Thank you for sharing.
aquariusDue
Oh that's pretty cool! I also like how you can bookmark timers to save them and then keep a list of them for various activities/purposes. Also when I saw the HN post I knew something was familiar and I remembered an old project of yours: x[it]! From time to time I still think about that one. Are you still engaging with x[it] or have you moved on in a sense?
vibrio
Nice work! Love it.
redmoonx
I love the declarative syntax, and it makes me wonder if there is a use case for a timeline-based scripting language. Functions, variables, data structures... Intervals (timers) as a first-class citizen - an actual keyword "timer"[1] that works like const or let. Anyway, this is really cool. [1] Where are my VB6 devs??