Repository

glocker-app/glocker

Glocker

Open github.com

glocker-app/glocker

Glocker

A distraction blocker for Linux that blocks sites and apps on a schedule, makes turning it off slow and deliberate, and logs usage. Features site blocking via /etc/hosts, program blocking, sudo window, browser extension, and usage tracking.

Visit project

Show me a random project

First shared
Nov 3, 2026
HN activity
10

Show HN@noufalibrahimNov 3, 2026

Show HN: Site/app blocker and usage tracker specifically for Linux

This was my first experiment with AI assisted coding. Backstory: I had a bunch of scripts to block sites on my work machines by redirecting them 127.0.0.1 etc. and they sort of worked. I needed something more serious and tried to get some commercial applications but there was nothing that really worked the way I wanted to (especially not on Linux). In Oct 2025 or so, I picked up aider and started building this out. Halfway through, I switched to Claude Code and used this as a vehicle to learn how to use assistants. It blocks sites and apps on a schedule, and takes away your sudo during the hours you choose so you can’t just turn it off. I added several features like tracking usage, giving recommendations etc. and It's been actually very useful for me hence I decided to open source and productize it. Have a few users so far too. It's been a nice learning experience for me. Not just for the implementation but also about the launch and marketing all assisted by AI. Really looking forward to feedback from the folks here.

Community

Hacker News discussion

Loading the thread…