Command Line Tool for blocking distracting websites, helping you focus on what actually matters.
- Only Windows 10 & 11 are supported
- Requires admin terminal to execute commands
Install with go
go install github.com/vsomera/focusmode@latest
PS C:\User> focusmode
___ ___ ___ ___ ___ ___ ___ ___ ___
/\ \ /\ \ /\ \ /\__\ /\ \ /\__\ /\ \ /\ \ /\ \
/::\ \ /::\ \ /::\ \ /:/ _/_ /::\ \ /::L_L_ /::\ \ /::\ \ /::\ \
/::\:\__\ /:/\:\__\ /:/\:\__\ /:/_/\__\ /\:\:\__\ /:/L:\__\ /:/\:\__\ /:/\:\__\ /::\:\__\
\/\:\/__/ \:\/:/ / \:\ \/__/ \:\/:/ / \:\:\/__/ \/_/:/ / \:\/:/ / \:\/:/ / \:\:\/ /
\/__/ \::/ / \:\__\ \::/ / \::/ / /:/ / \::/ / \::/ / \:\/ /
\/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/
| Cli Tool to block distracting websites, run "focusmode help" for command info.
- Adding domain(s) to blacklist
focusmode add "www.instagram.com" "www.steam.com" ...
PS C:\User> focusmode add "www.instagram.com" "www.steam.com"
Added domain(s) to Blacklist:
| 1 www.instagram.com
| 2 www.steam.com
- Listing domains
focusmode ls
PS C:\Users> focusmode ls
Blacklist:
| 1 www.instagram.com
| 2 www.steam.com
- Removing a single domain
focusmode rm "www.instagram.com"
PS C:\User> focusmode rm "www.instagram.com"
Remove www.instagram.com from blacklist?
| Type 'y' to confirm [y/n]