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@latest
ultrafocus needs sudo
to modify /etc/hosts
file. It won't affect your existing configuration, the changes made by ultrafocus are separated by #ultrafocus:start/end
comments.
sudo ultrafocus
ultrafocus 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
- facebook.com
- instagram.com
- twitter.com
- tiktok.com
- snapchat.com
- pinterest.com
- linkedin.com
- reddit.com
- imgur.com
- youtube.com
- whatsapp.com
- telegram.org
- discord.com
- bbc.com
- cnn.com
- aljazeera.com
- theguardian.com
- nytimes.com
- google.com/news
- apple.news
- steampowered.com
- origin.com
- epicgames.com
- battle.net
- playstation.com
- xbox.com
- miniclip.com
- armorgames.com
- kongregate.com
go test -v -race ./...