Skip to content

agenth1tman/Website-Blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website-Blocker

Used to block/unblock websites

A lightweight desktop app built using Python and PyQt5 that allows users to temporarily block distracting websites by modifying the system's hosts file.

🚀 Features

  • Block multiple websites with one click
  • Unblock all blocked sites instantly
  • Minimal, clean, and intuitive PyQt5 UI

🤝 Attribution

  • 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

Installation

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

Notes

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