← Back to work
App2025
FocusDragon
The toughest free distraction blocker on macOS.
Why I built it
I kept disabling my own blockers on impulse. So I built one that fights back — a root-level daemon, anti-tamper locks, and extensions for every browser that matters.
What it does
- 01System-level DNS blocking via /etc/hosts — works across every browser on the machine
- 02Background daemon running as root — survives restarts, resists force-quit
- 03Process monitor that terminates blocked apps within seconds of launch
- 04Browser extensions for Chrome, Firefox, Safari, Edge, Brave, Opera, Vivaldi
- 05Lock modes: timer, random-text challenge, schedule-based
- 06Anti-tamper blocks uninstall and System Settings while a lock is active
What I learned
My first full native macOS app — Swift, SwiftUI, a LaunchDaemon, XPC IPC, and six browser extensions shipped in parallel. Privilege escalation, notarisation, cross-browser packaging — the full surface area of shipping real software.