A lightweight desktop app built using Python and PyQt5 that allows users to temporarily block distracting websites by modifying the system's hosts
file.
- Block multiple websites with one click
- Unblock all blocked sites instantly
- Minimal, clean, and intuitive PyQt5 UI
- App icon: "Block" icon by Icons8, licensed under Creative Commons Attribution 3.0
- Inspired by open discussions and code snippets from:
- PyQt5 tutorials and documentation
- StackOverflow threads on modifying hosts file via Python
- PyInstaller packaging techniques
To install using PyInstaller, use the following Command Prompt:
- pyinstaller --noconsole --onefile --icon=icon.ico --manifest app.manifest --add-data "icon.ico;." --name blocker main.py
Feel free to fork this to modify to your own purposes, but be sure to attribute the logo owner(I don't want you to get sued).
Made by @agenth1tman with Love