Show HN: MyTimers.app offline-first PWA with no build step and zero dependencies
48 points| y3k | 3 months ago |mytimers.app
For quite some time, I've been unsatisfied with the built-in timers on both Android and iOS; especially for workouts, when I needed to set up a configurable number of series with rest periods in between. That's when I started thinking about building something myself. It was just a timer and I said to myself "how hard could it be?", I had no idea.
The first iteration of the project worked "just fine", but the UI was an eyesore (even more than it is now), and the UX was quite awful as well. As you can probably guess, I'm not versed in design or front-end development. In fact, my last real experience with front-end work was back when jQuery was still a thing.
However, I knew what I wanted to build, and over the last few days (and with the help of the infamous AI) I was able to wrap up the project for my needs. It required quite a lot of "hand holding" and "back and forth", but it helped me smooth out the rough edges and provided great suggestions about the latest ES6 features.
The project is, as the title states, an offline-first PWA with zero dependencies; no build step, no cookies, no links, no analytics, nothing other than timers. It uses `Web Components` (a really nice feature, in my opinion, though I still don't get why we can't easily inherit styles from the global scope) and `localStorage` to save timers between uses.
I'd appreciate any comments or suggestions, since I just want to keep learning new things.
SquareWheel|3 months ago
Like erikrthoff suggested, I'd drop the light mode toggle and just go with prefers-color-scheme. Then I'd move the X buttons to the top-right of their respective sections (timers, segments), and move the Add Timer button underneath.
Mockup: https://i.imgur.com/EcSHX7S.png
y3k|3 months ago
I'll try to implement these UI changes tonight.
nicois|3 months ago
I'm not sure how well this will work on a mobile; the service worker might be stopped after a few hours, particularly with the screen off overnight
y3k|3 months ago
Will research what is the thinnest "wrapper" I can use to avoid maintaining 3 different apps.
bryanhogan|3 months ago
Also zero analytics and all that other stuff: https://timer.bryanhogan.com/
y3k|3 months ago
:fist-bump:
erikrothoff|3 months ago
y3k|3 months ago
Thanks!
msafi04|3 months ago
One small suggestion that might be a fun addition for a power user: keyboard shortcuts. Being able to hit Spacebar to start/stop the most recently active timer, or N to focus the "Add Timer" input field would be a great little UX enhancement.
Great job getting this out there!
ustad|3 months ago
Thats the only explanation I have to explain the dire state of the built in timers on iphones and the free apps available on the app store. And no, I’m not going to pay $$$ per month for the premium apps.
And don’t even get me started on the PITA it is to make a web app to do the same (useful for runners) - you would think it would be a simple thing todo? Have a go and let me know if it doesn't break your balls.
BoredPositron|3 months ago
ugh123|3 months ago
shishironline|3 months ago
y3k|3 months ago
It's mostly a "toy app / learning experience" at this point, but I'm glad it may provide even the tiniest bit of value to others.
Sadly on mobile seems to be fairly useless due the OS killing the worker, but I'll try to wrap it in a native app.
tom2948329494|3 months ago
You will learn SO MUCH!
y3k|3 months ago
butz|3 months ago
y3k|3 months ago
pcardoso|3 months ago
y3k|3 months ago
*: Market as in people who may find it useful, not market as in "I would monetize it", screw that.
Fire-Dragon-DoL|3 months ago
I think you need a favicon for when installed on the homescreen. This tool provides all the necessary html: https://realfavicongenerator.net/
y3k|3 months ago
Thank you.
Sateeshm|3 months ago
Few years ago, I built a throw-away offline-first and minimalist time tracking app similar to this.
https://trackey-beige.vercel.app/
Klaster_1|3 months ago
y3k|3 months ago
8mobile|3 months ago
Otherwise, keep it the same. Thanks
dagurp|3 months ago
btw I would also like to be able to enter a time between segments. For example 3 minute segments with 1 minute of rest between them.
sanskarix|3 months ago
[deleted]
ChrisMarshallNY|3 months ago
I like to think that the discoverability of my apps is good, but I can be surprised.
Just a couple of days ago, I got a request for help from my own timer app[0], that surprised me. They did not understand that the pickers were pickers. That's because I modified their appearance, so they look more like buttons. I'm still not exactly sure how I'll deal with it, but it's definitely my problem.
[0] https://apps.apple.com/us/app/ambiamara/id1448933389
Pastisa1|3 months ago
[deleted]