Show HN: Prevent your computer sleeping with just a webpage

There's often times I want to prevent a computer/laptop/VM from sleeping and while, yes, there's various Caffeine/Amphetamine apps they're often overkill.

Instead, this small (12Kb) page does the job and only needs a web browser.

It's just a very simple usage of a web api normally used for things like video players: https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake...

252 points bradleyjkemp 4 years ago 130 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton