GreenLock: a site blocker you can only unlock by going outside
说明与用途
GreenLock 在达到每日时间限制后阻止分散注意力的网站,并要求用户外出拍照以解锁,使用本地 Gemma 3 模型验证户外照片。
问题
Users spend excessive time on distracting sites like YouTube and Netflix, hindering daily step goals and productivity.
结果
GreenLock effectively limits screen time, forces outdoor breaks, and integrates step goals without cloud services.
工作流
- 1. Configure sites and daily time limit in the Chrome extension.
- 2. Track active tab time; when limit reached, extension replaces site with lock screen and QR code.
- 3. Scan QR code with phone, take start photo outside, stay outside for required break time.
- 4. Take end photo outside; phone sends both photos over Wi‑Fi to local Flask server.
- 5. Flask server runs Gemma 3 locally to verify photos were taken outdoors.
- 6. If both photos pass, server unlocks sites and redirects user back to original page.
证据
GreenLock is a Chrome extension that locks your time‑wasting sites once you hit your daily limit, and the only way to get them back is to go outside.
Your phone sends each photo over Wi‑Fi to the Flask server on your computer, where a Gemma 3 vision model running locally in Ollama checks it.
The photo check was also really slow at first, around 30 seconds, which is way too long when you're standing outside waiting. We added timing logs and found out the AI wasn't even the main problem, it was uploading the full‑size photo from the phone.
- 记录日期: 2026-10-11T23:41:29.055Z