A dead simple CLI tool to block distracting websites and boost productivity. Customize your blacklist, focus on tasks, and reclaim your time.
Download the latest binary from the releases page or use go install:
go install github.com/plutov/ultrafocus@latestultrafocus needs sudo to modify /etc/hosts file. It won't affect your existing configuration, the changes made by ultrafocus are separated by #ultrafocus:start and #ultrafocus:end comments.
sudo ultrafocusultrafocus also runs a server on 127.0.0.1:80 where all the requests are redirected to. This page shows a random motivational message.
- macOS
- Linux
- Windows
You can find the default blacklist in hosts/domains.go.
go test -v -race ./...

