←back to thread

237 points madinmo | 1 comments | | HN request time: 0.209s | source

Hi all,

I kept wasting time on social media, even though I’d promised myself I’d stay focused. Regular site blockers didn’t help.

I needed something that felt annoying enough to break the habit. That’s how the idea came up: make the blocker ask me to say something embarrassing out loud before it lets me back in. If I actually have to yell “I’m a loser” into my mic. Even better - the louder I screamed, the more time I’d get.

So I put together Scream to Unlock. It’s silly, but so far it’s done its job. My social feeds stay locked unless I really want them.

Extension link - https://chromewebstore.google.com/detail/scream-to-unlock-ye...

Its open source and transparent - https://github.com/Pankajtanwarbanna/scream-to-unlock. No data collection or tracking, Audio processing happens locally in your browser. No recordings saved or transmitted.

Show context
netsharc ◴[] No.44376882[source]
The relevant code: https://github.com/Pankajtanwarbanna/scream-to-unlock/blob/m...

Are you sure Chrome doesn't talk to Google's server to convert the speech to text?

replies(2): >>44377160 #>>44378842 #
1. sodimel ◴[] No.44377160[source]
It seems to send the data to google's servers.

> Note: On some browsers, like Chrome, using Speech Recognition on a web page involves a server-based recognition engine. Your audio is sent to a web service for recognition processing, so it won't work offline.

https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_...