Hacker News new | past | comments | ask | show | jobs | submit login

Very nice :)

Feedback: mostly I need to do this at work currently, which means I am going to retreat to a quiet place and grab my phone.

Phone Screens going to sleep and the thing being interrupted by tapping anywhere on the screen are not compatible. Not sure if other people face this issue, but for me tapping anywhere on the screen in order to not make the phone go to sleep should not interrupt or restart this meditation. A small X in a corner would be better.

Nit: The scrolling on your site is horrible broken on mobile. Keeps rubber banding and bouncing around.




Ack. Just applied a fix on the scroll. Not sure what to do with when mobile phone goes to sleep. Will look into it


Awesome project! Reminds me of donothingfor2minutes.com from Calm, but with a different end goal of focus instead of calm.

Regarding mobile phones going to sleep, Wake lock [1] might help, unless you can reduce to 59s since I believe 1m is the threshold (make sure to request within the context of the user hitting "start"). Unfortunately on older mobile browsers [2], the best workaround I found was using this NoSleep library[3].

Source: ran into this same issue when building https://www.phonefreehour.com

[1] https://developer.mozilla.org/en-US/docs/Web/API/WakeLock

[2] https://caniuse.com/wake-lock

[3] https://github.com/richtr/NoSleep.js




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: