←back to thread

238 points madinmo | 1 comments | | HN request time: 0.407s | 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. ethan_smith ◴[] No.44378842[source]
Chrome's Web Speech API does indeed send audio to Google's servers by default unless you're using the newer SpeechRecognition API with continuous=false and interimResults=true for local processing.